Пример #1
0
		<p>
		In such circumstances, the port committer is notified (if they have
		opted in to the FreshPorts Sanity Check Report) and they should
		fix the problem as soon as possible.  Once you see a more recent
		commit without a refresh icon,
		then the problem has been fixed. The refresh icons will go away after
		FreshPorts has dealt with the old commits.  This may take a few hours.

	<P><a name="deleted"><?php 
echo freshports_Deleted_Icon();
?>
</a> Deleted:  This port has been removed from the ports tree.</P>

	<P><?php 
echo freshports_Mail_Icon();
?>
		Commit message: This link will take you to the original cvs-all message in the FreeBSD mailing list archives.
		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>
Пример #2
0
function freshports_Email_Link($message_id)
{
    #
    # produce a link to the email
    #
    global $freshports_mail_archive;
    #
    # if the message id is for freshports, then it's an old message which does not contain
    # a valid message id which can be found in the mailing list archive.
    #
    if (strpos($message_id, MESSAGE_ID_OLD_DOMAIN) || strpos($message_id, MESSAGE_ID_NEW_DOMAIN)) {
        $HTML = '';
    } else {
        $HTML = '<a href="' . htmlentities($freshports_mail_archive . $message_id) . '">';
        $HTML .= freshports_Mail_Icon();
        $HTML .= '</a>';
    }
    return $HTML;
}