Пример #1
0
?>
 Revision details.  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 Revision details to view the
	revision of the file associated this commit.
	</P>

	<P><?php 
echo freshports_Diff_Icon();
?>
 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 
Пример #2
0
function freshports_SanityTestFailure_Link($message_id)
{
    return '<a href="/sanity_test_failures.php?message_id=' . $message_id . '">' . freshports_SanityTestFailure_Icon() . '</a>';
}