Exemplo n.º 1
0
	<P><a name="encodingerrors"><?php 
echo freshports_Encoding_Errors();
?>
</a> Encoding Errors (not all of the commit message was ASCII): Some of the
		commit message may be altered because of character conversion problems.  We display only UTF-8 and remove
		the offending characters.  These errors may occur in the log message or elsewhere in the commit email.</P>

	<P><a name="watchlistcount"><?php 
echo freshports_WatchListCount_Icon();
?>
</a> Watch List Count (WLC): This is the number of watch lists which are watching 
	this port.  This might give you an idea of the popularity of the port.
	</P>

	<P><?php 
echo freshports_CVS_Icon();
?>
 CVS Repository: This link will take you to the CVS Repository entry
	for this version of the file.
	</P>

	<P><?php 
echo freshports_VuXML_Icon();
?>
 <a href="http://www.vuxml.org/freebsd/">VuXML</a> vulnerability.  Click icon for details.
	</P>

	<P><?php 
echo freshports_VuXML_Icon_Faded();
?>
 A past <a href="http://www.vuxml.org/freebsd/">VuXML</a> vulnerability.  Click icon for details.
Exemplo n.º 2
0
function freshports_CVS_Link($element_name, $revision)
{
    #
    # produce a link to the FreeBSD CVS log
    #
    # make sure the element name starts with a /
    if (substr($element_name, 0, 1) != '/') {
        $element_name = '/' . $element_name;
    }
    $HTML = '<a href="' . FRESHPORTS_FREEBSD_CVS_URL . $element_name . '?rev=' . $revision . '&amp;content-type=text/x-cvsweb-markup">';
    $HTML .= freshports_CVS_Icon();
    $HTML .= '</a>';
    return $HTML;
}