本文整理汇总了PHP中printRSSHeaderLink函数的典型用法代码示例。如果您正苦于以下问题:PHP printRSSHeaderLink函数的具体用法?PHP printRSSHeaderLink怎么用?PHP printRSSHeaderLink使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了printRSSHeaderLink函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: zp_apply_filter
<?php
zp_apply_filter('theme_head');
if (getOption('effervescence_daily_album_image_effect') && getOption('custom_index_page') != 'gallery') {
setOption('image_custom_images', getOption('effervescence_daily_album_image_effect'), false);
}
?>
<?php
printHeadTitle();
?>
<meta charset="<?php
echo LOCAL_CHARSET;
?>
">
<?php
if (class_exists('RSS')) {
printRSSHeaderLink('Gallery', 'Gallery RSS');
}
?>
</head>
<body onload="blurAnchors()">
<?php
zp_apply_filter('theme_body_open');
?>
<!-- Wrap Header -->
<div id="header">
<!-- Logo -->
<div id="gallerytitle">
<div id="logo">
示例2: zp_apply_filter
echo LOCAL_CHARSET;
?>
">
<?php
zp_apply_filter('theme_head');
?>
<?php
printHeadTitle();
?>
<link rel="stylesheet" href="<?php
echo $_zp_themeroot;
?>
/style.css" type="text/css" />
<?php
if (class_exists('RSS')) {
printRSSHeaderLink('Gallery', gettext('Gallery RSS'));
}
?>
<?php
printZDSearchToggleJS();
?>
</head>
<body>
<?php
zp_apply_filter('theme_body_open');
?>
<div id="main">
<div id="header">
<h1><?php
printGalleryTitle();
?>
示例3: zp_apply_filter
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php
echo LOCAL_CHARSET;
?>
">
<?php
zp_apply_filter('theme_head');
?>
<?php
printHeadTitle();
?>
<?php
if (class_exists('RSS')) {
printRSSHeaderLink("News", "Zenpage news", "");
}
?>
</head>
<body onload="blurAnchors()">
<?php
zp_apply_filter('theme_body_open');
?>
<!-- Wrap Header -->
<div id="header">
<div id="gallerytitle">
<!-- Logo -->
<div id="logo">
<?php
示例4: gettext
$("a.thickbox").colorbox({
maxWidth:"98%",
maxHeight:"98%",
close: '<?php
echo gettext("close");
?>
'
});
});
// ]]> -->
</script>
<?php
}
?>
<?php
printRSSHeaderLink('Album', getAlbumTitle());
?>
</head>
<body>
<?php
zp_apply_filter('theme_body_open');
?>
<div style="margin-top: 16px;"><!-- somehow the thickbox.css kills the top margin here that all other pages have... -->
</div>
<div id="main">
<div id="header">
<h1><?php
echo getGalleryTitle();
?>
</h1>
示例5: printRSSHeaderLink
?>
<meta charset="<?php
echo LOCAL_CHARSET;
?>
">
<meta http-equiv="content-type" content="text/html; charset=<?php
echo LOCAL_CHARSET;
?>
" />
<link rel="stylesheet" href="<?php
echo $_zp_themeroot;
?>
/styles/styles.css" type="text/css" />
<?php
if (class_exists('RSS')) {
printRSSHeaderLink("News", "News", "");
}
?>
</head>
<body>
<?php
zp_apply_filter('theme_body_open');
?>
<div id="main">
<div id="sd-wrapper">
<div id="gallerytitle">
<h2>
<span class="linkit">
示例6: zp_apply_filter
if (!defined('WEBPATH')) {
die;
}
?>
<!DOCTYPE html>
<head>
<?php
zp_apply_filter('theme_head');
?>
<link rel="stylesheet" href="<?php
echo $_zp_themeroot;
?>
/style.css" type="text/css" />
<?php
printRSSHeaderLink("Gallery", gettext('Gallery RSS'));
?>
<?php
printZDRoundedCornerJS();
?>
</head>
<body>
<?php
zp_apply_filter('theme_body_open');
?>
<div id="main">
<?php
include "header.php";
示例7: printRSSHeaderLink
?>
</title>
<meta name="description" content="<?php
echo $zpmin_metadesc;
?>
" />
<!--[if lt IE 8]>
<style type="text/css">.album-maxspace,.thumb-maxspace{zoom:1;display:inline;}#search{padding:2px 6px 6px 6px;}</style>
<![endif]-->
<?php
printRSSHeaderLink('Gallery', gettext('Gallery RSS'));
?>
<?php
if (function_exists("printRSSHeaderLink")) {
printRSSHeaderLink("News", "", gettext('News RSS'), "");
}
?>
<?php
$zenpage = getOption('zp_plugin_zenpage');
//$cb = getOption('zp_plugin_colorbox');
if (!is_null(getOption('zpmin_finallink'))) {
$zpmin_finallink = getOption('zpmin_finallink');
} else {
$zpmin_finallink = 'nolink';
}
if (!is_null(getOption('zpmin_zpsearchcount'))) {
$zpmin_zpsearchcount = getOption('zpmin_zpsearchcount');
} else {
$zpmin_zpsearchcount = 2;
示例8: shortenContent
$zpfocus_metadesc = shortenContent(getBareGalleryDesc(), 150, '...');
break;
}
// Finish out header RSS links for inc-header.php
if (getOption('RSS_items')) {
printRSSHeaderLink('Gallery', gettext('Latest Images')) . "\n";
}
if (getOption('RSS_items_albums')) {
printRSSHeaderLink('AlbumsRSS', gettext('Latest Albums')) . "\n";
}
if ($zenpage) {
if (getOption('RSS_zenpage_items')) {
printRSSHeaderLink('News', '', gettext('Latest News')) . "\n";
}
if (function_exists('printCommentForm')) {
printRSSHeaderLink('Comments', '', gettext('Latest Comments')) . "\n";
}
}
?>
<title><?php
echo $zpfocus_metatitle;
?>
</title>
<meta name="description" content="<?php
echo $zpfocus_metadesc;
?>
" />
<?php
require_once SERVERPATH . '/' . ZENFOLDER . "/zp-extensions/print_album_menu.php";
示例9: gettext
case '404.php':
$zpbase_metadesc = gettext('404 Not Found') . '... ' . truncate_string(getBareGalleryDesc(), 130, '...');
$objectclass = 'notfound-page';
break;
case 'favorites.php':
$zpbase_metadesc = gettext('Favorites') . '... ' . truncate_string(getBareGalleryDesc(), 130, '...');
$objectclass = 'favorites-page';
break;
default:
$zpbase_metadesc = truncate_string(getBareGalleryDesc(), 150, '...');
$objectclass = null;
break;
}
// Print the defined RSS header links, title, and description
if (class_exists('RSS') && $rss_option != null) {
printRSSHeaderLink($rss_option, $rss_title);
}
?>
<?php
printHeadTitle();
?>
<meta name="description" content="<?php
echo $zpbase_metadesc;
?>
" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="<?php
echo $_zp_themeroot;
?>
/css/style.css">
示例10: zp_apply_filter
die;
}
?>
<!DOCTYPE html>
<html>
<head>
<?php
zp_apply_filter('theme_head');
?>
<?php
if (extensionEnabled('rss')) {
if (getOption('RSS_album_image')) {
printRSSHeaderLink('Gallery', gettext('Latest images'));
}
if ($_zenpage_enabled && getOption('RSS_articles')) {
printRSSHeaderLink('News', gettext('Latest news'));
}
}
?>
<link rel="stylesheet" href="<?php
echo $_zp_themeroot;
?>
/css/screen.css" type="text/css" media="screen"/>
<?php
if (getOption('css_style') == 'light') {
?>
<link rel="stylesheet" href="<?php
echo $_zp_themeroot;
?>
/css/light.css" type="text/css" media="screen"/>
<?php
示例11: printZenpageRSSHeaderLink
/**
* @deprecated
* @since 1.4.5
*/
function printZenpageRSSHeaderLink($option = 'News', $categorylink = '', $linktext = '', $lang = null)
{
deprecated_functions::notify(gettext('use printRSSHeaderLink($option, $linktext, $lang, $categorylink).'));
if (class_exists('RSS')) {
printRSSHeaderLink($option, $linktext, $lang, $categorylink);
}
}