Ejemplo n.º 1
0
function __markallread_sidemenu_feedunreadlabel($existingText)
{
    if (hidePrivate() || class_exists('TagList') && is_a($GLOBALS['rss']->feedList, 'TagList')) {
        return $existingText;
    }
    $options = rss_plugins_get_option(MARKALLREAD_CONFIG_OPTIONS);
    if ($options & MARKALLREAD_OPTION_LINK_FEED) {
        return "<a title='" . __('Mark This Feed as Read') . "\" href=\"" . getPath() . "feed.php?metaaction=ACT_MARK_CHANNEL_READ&amp;channel=" . $GLOBALS['rss']->currentFeedsFeed->id . "\" onclick=\"return _markallread(this,'feed','" . rss_feeds_feed_title() . "');\">" . $existingText . '</a>';
    } else {
        return $existingText;
    }
}
Ejemplo n.º 2
0
<li><a href="<?php 
echo rss_feeds_feed_link();
?>
"><?php 
echo rss_feeds_feed_title();
?>
</a><?php 
if (($rdLbl = rss_feeds_feed_read_label()) != "") {
    ?>
 <?php 
    echo $rdLbl;
    ?>
 <?php 
}