Example #1
0
echo freshports_Watch_Icon_Add();
?>
 icon and 
	it doesn't change to a <?php 
echo freshports_Watch_Icon();
?>
.  Yes, I've
	had that happen too.  What you need to do is check your 
	<a href="/watch-list-maintenance.php">watch list settings</a>.  You have 
	probably selected "default watch list[s]" when you don't have any default watch
	list[s] set.  To mark a watch list as a default, select it in the list, then click on
	the Set Default button.
	
	<p>
	NOTE: The <?php 
echo freshports_Watch_Icon();
?>
 will only appear beside a port
	that is one on of your default watch lists.  If the port is on one of your non-default
	watch list, the <?php 
echo freshports_Watch_Icon_Add();
?>
 icon will appear instead.
	If you do not see what you expect, try setting the default watch lists in your
	 <a href="/watch-list-maintenance.php">watch list settings</a>.

	</TD></TR><TR><TD>&nbsp;</TD></TR>

<TR>
<?php 
echo freshports_PageBannerText("Why doesn't this port appear on my watch list?");
Example #2
0
function freshports_Watch_Link_Remove($WatchListAsk, $WatchListCount, $ElementID)
{
    $HTML = '<small><a href="/watch-list.php?';
    $HTML .= 'remove=' . $ElementID;
    if ($WatchListAsk == 'ask') {
        $HTML .= '&amp;ask=1';
    }
    $HTML .= '"';
    $HTML .= ' title="on ' . $WatchListCount . ' watch list';
    if ($WatchListCount > 1) {
        $HTML .= 's';
    }
    $HTML .= '">' . freshports_Watch_Icon() . '</a></small>';
    return $HTML;
}