Ejemplo n.º 1
0
		Note that it can take a few minutes for the message to appear in the archives.  This link will not appear
		for commit messages before 3 March 2002 (which is the date FreshPorts started to store the message-id).</P>

	<P><?php 
echo freshports_Commit_Icon();
?>
 FreshPorts commit message: This will take you to the FreshPorts commit
		message and allow you to see all other ports which were affected by this commit.   This link will not appear
        for commit messages before 3 March 2002 (which is the date FreshPorts started to store the message-id).
        <br>
        <br>
        NOTE: This link has been made redundant by recent advances in the Files link.  See next icon.
        </P>

	<P><?php 
echo freshports_Files_Icon();
?>
		Files: If you click on this graphic, you will be taken to the list of files
		touched by the commit in question.</P>

	<P><?php 
echo freshports_Watch_Icon();
?>
 Item is on one of your default watch lists: This port is on one of your default watch lists.  Click
		this icon to remove the port from your default watch lists.  This icon appears only if you are logged in.</P>

	<P><?php 
echo freshports_Watch_Icon_Add();
?>
 Add item to your default watch lists: This port is not on any of your  default watch lists.  Click
		this icon to add the port to your default watch lists.  This icon appears only if you are logged in.</P>
Ejemplo n.º 2
0
function freshports_Commit_Link_Port($MessageID, $Category, $Port)
{
    $HTML = '<a href="/commit.php?category=' . $Category . '&amp;port=' . $Port . '&amp;files=yes&amp;message_id=' . $MessageID . '">';
    $HTML .= freshports_Files_Icon();
    $HTML .= '</a>';
    return $HTML;
}