/** * Prints the RSS link for use in the HTML HEAD * * @param string $option type of RSS (Gallery, Album, Collection, Comments) * @param string $linktext title of the link * @param string $lang optional to display a feed link for a specific language. Enter the locale like "de_DE" (the locale must be installed on your Zenphoto to work of course). If empty the locale set in the admin option or the language selector (getOption('locale') is used. * * @since 1.1.6 */ function printRSSHeaderLink($option, $linktext, $lang = '') { echo getRSSHeaderLink($option, $linktext); }
function getRss() { global $_zp_themeroot; $img = "<img src='{$_zp_themeroot}/resources/images/rss.png' height='20' width='20' />"; $href = WEBPATH . "/rss.php"; $link = getRSSHeaderLink('Gallery'); return "<div id='rss' class='gallery'>{$link}<a href='{$href}'>{$img}</a></div>"; }