Example #1
0
?>
 Diff.  Click on the Files icon in the commit history and
	you'll see what files in this port were touched by this commit.  Click on the Diff icon to view the
	diff between this revision of the file and the previous revision..
	</P>

	<P><?php 
echo freshports_SanityTestFailure_Icon();
?>
 Sanity Test Failures.  The maintainers and committers are
	good.   But sometimes a mistake slips through.  This records the mistake to make it easier for others to correct
	it if it goes unnoticed.  If you see this icon next to a commit, it failed a Sanity Test.
	</P>

	<P><?php 
echo freshports_Commit_Flagged_Icon();
?>
 Flagged Commit.  This commit is on your list of flagged
	commits.Why would you flag a commit?  Perhaps you want to review that commit.  Perhaps you want to MFC it later.
	Click on this icon to remove the commit from your flag list.
	</P>
	
    <P><?php 
echo freshports_Commit_Flagged_Not_Icon();
?>
 Click on this icon to add the commit to your flagged
	list.
	</P>

	</BLOCKQUOTE>
	</TD></TR><TR><TD>&nbsp;</TD></TR>
Example #2
0
function freshports_Commit_Flagged_Link($message_id)
{
    $HTML = '<a href="/commit-flag.php?message_id=' . $message_id . '&amp;action=remove">';
    $HTML .= freshports_Commit_Flagged_Icon();
    $HTML .= '</a>';
    return $HTML;
}