function plogger_rss_feed_button() { global $config; if ($GLOBALS['plogger_mode'] != "slideshow" && $GLOBALS['plogger_level'] != "picture") { $rss_link = ""; // change the tooltip message to reflect the nature of the RSS aggregate link. if ($GLOBALS['plogger_level'] != "") { $rss_tooltip = "RSS 2.0 subscribe to this " . $GLOBALS["plogger_level"]; } else { $rss_tooltip = "RSS 2.0 subscribe to all images"; } $rss_link = plogger_rss_link(); $rss_tag = '<a href="' . $rss_link . '"><img id="rss-image" src="' . $config["gallery_url"] . 'graphics/rss.gif" title="' . $rss_tooltip . '" alt="RSS 2.0 Feed"/></a>'; return $rss_tag; } }
function plogger_rss_feed_button() { global $config; if ($GLOBALS['plogger_mode'] != 'slideshow' && $GLOBALS['plogger_level'] != '404' && plogger_rss_link()) { // Change the tooltip message to reflect the nature of the RSS aggregate link. if ($GLOBALS['plogger_level'] != '') { $rss_tooltip = plog_tr('RSS 2.0 subscribe to') . ': ' . $GLOBALS['plogger_level']; } else { $rss_tooltip = plog_tr('RSS 2.0 subscribe to all images'); } $rss_link = plogger_rss_link(); $rss_tag = '<a href="' . $rss_link . '"><img id="rss-image" src="' . $config['gallery_url'] . 'plog-admin/images/rss.gif" title="' . $rss_tooltip . '" alt="' . plog_tr('RSS 2.0 Feed') . '" /></a>'; return $rss_tag; } }