本文整理汇总了PHP中printNewsIndexURL函数的典型用法代码示例。如果您正苦于以下问题:PHP printNewsIndexURL函数的具体用法?PHP printNewsIndexURL怎么用?PHP printNewsIndexURL使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了printNewsIndexURL函数的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: gettext
echo gettext('Home');
?>
"><?php
echo gettext('Home');
?>
</a> » <a href="<?php
echo getCustomPageURL('gallery');
?>
" title="<?php
echo gettext('Gallery Index');
?>
"><?php
echo gettext('Gallery Index');
?>
</a> » <?php
printNewsIndexURL("News", "");
printCurrentNewsCategory(" » Category → ");
printNewsTitle(" » ");
printCurrentNewsArchive(" » ");
?>
</h2>
</div>
</div> <!-- close #header -->
<div id="content">
<div id="main"<?php
if ($zpmin_switch) {
echo ' class="switch"';
}
?>
>
<?php
示例2: printAllNewsCategories
</ul>
</div>
</div>
<?php
} else {
?>
<div class="news-cat-list">
<?php
printAllNewsCategories(gettext('All news'), true, 'news-cat-list', 'news-cat-active');
?>
</div>
<?php
}
?>
<h3><?php
printNewsIndexURL(gettext('News'));
printCurrentNewsCategory(' » ' . gettext('Category') . ' : ');
printCurrentNewsArchive(' » ');
?>
</h3>
</div>
<?php
// single news article
if (is_NewsArticle()) {
?>
<div id="news" class="clearfix">
<h3><?php
printNewsTitle();
?>
</h3>
示例3: html_encode
</a> |
<?php
}
?>
<a href="<?php
echo html_encode(getGalleryIndexURL());
?>
" title="<?php
echo gettext('Albums Index');
?>
"><?php
echo getGalleryTitle();
?>
</a></span>
<?php
printNewsIndexURL(gettext("News"), " | ");
printCurrentNewsCategory(" | " . gettext('Category') . " - ");
printNewsTitle(" | ");
?>
</div>
</div> <!-- wrapnav -->
<!-- Random Image -->
<?php
printHeadingImage(getRandomImages(getThemeOption('effervescence_daily_album_image')));
?>
</div> <!-- header -->
<!-- Wrap Main Body -->
<div id="content">
示例4: printLogo
}
printLogo();
?>
</div>
</div> <!-- gallerytitle -->
<!-- Crumb Trail Navigation -->
<div id="wrapnav">
<div id="navbar">
<span><?php
printHomeLink('', ' | ');
printGalleryIndexURL(' | ');
?>
</span>
<?php
printNewsIndexURL(NULL, ' | ');
printZenpageItemsBreadcrumb(' | ', '');
printCurrentNewsCategory(" | ");
printNewsTitle(" | ");
printCurrentNewsArchive(" | ");
?>
</div>
</div> <!-- wrapnav -->
<!-- Random Image -->
<?php
printHeadingImage(getRandomImages(getThemeOption('effervescence_daily_album_image')));
?>
</div> <!-- header -->
<!-- Wrap Main Body -->
示例5: getGalleryIndexURL
}
?>
</div>
</div>
<div id="content">
<div id="breadcrumb">
<h2><a href="<?php
echo getGalleryIndexURL();
?>
"><?php
echo gettext("Index");
?>
</a> <?php
printNewsIndexURL(gettext('News'), ' » ');
?>
<strong><?php
printZenpageItemsBreadcrumb(' » ', '');
printCurrentNewsCategory(' » ');
printNewsTitle(' » ');
printCurrentNewsArchive(' » ');
?>
</strong>
</h2>
</div>
<div id="content-left">
<?php
示例6: zp_apply_filter
<body>
<?php
zp_apply_filter('theme_body_open');
?>
<div data-role="page" id="mainpage">
<?php
jqm_printMainHeaderNav();
?>
<div class="ui-content" role="main">
<div class="content-primary">
<h2 class="breadcrumb"><?php
printNewsIndexURL();
?>
<strong><?php
printZenpageItemsBreadcrumb(' ', '');
printCurrentNewsCategory(" ");
printNewsTitle(" ");
printCurrentNewsArchive(" | ");
?>
</strong></h2>
<?php
// single news article
if (is_NewsArticle()) {
?>
<?php
printNewsContent();
printCodeblock(1);
示例7: printHomeLink
include "sidebar.php";
?>
</div>
</div>
<div id="center">
<div id="squeeze">
<div class="right-corner">
<div class="left-corner">
<!-- begin content -->
<div class="main section" id="main">
<h2 id="gallerytitle">
<?php
printHomeLink('', ' » ');
printGalleryIndexURL(' » ');
printNewsIndexURL(NULL);
printZenpageItemsBreadcrumb(' » ', '');
printCurrentNewsCategory(" » ");
printNewsTitle(" » ");
printCurrentNewsArchive(" » ");
?>
</h2>
<?php
if (is_NewsArticle()) {
// single news article
?>
<h3><?php
printNewsTitle();
?>
</h3>
<div class="newsarticlecredit">
示例8: getGalleryIndexURL
?>
</div>
<div id="content">
<div id="breadcrumb">
<h2>
<a href="<?php
echo getGalleryIndexURL();
?>
"><?php
echo gettext("Index");
?>
</a>
<?php
printNewsIndexURL(NULL, ' » ');
?>
<strong><?php
printZenpageItemsBreadcrumb(' » ', '');
printCurrentNewsCategory(" » ");
printNewsTitle(" » ");
printCurrentNewsArchive(" » ");
?>
</strong>
</h2>
</div>
<div id="content-left">
<?php
示例9: printZenpageItemsBreadcrumb
/**
* Prints the parent items breadcrumb navigation for pages or categories
*
* @param string $before Text to place before the breadcrumb item
* @param string $after Text to place after the breadcrumb item
*/
function printZenpageItemsBreadcrumb($before = NULL, $after = NULL)
{
global $_zp_current_zenpage_page, $_zp_current_zenpage_news, $_zp_current_category;
if (is_NewsPage()) {
$page = '';
if (is_NewsArticle()) {
$page = $_zp_current_zenpage_news->getNewsLoopPage();
}
printNewsIndexURL(NULL, '', '', $page);
}
if (is_Pages() || is_NewsCategory()) {
$parentitems = array();
if (is_Pages()) {
$parentitems = $_zp_current_zenpage_page->getParents();
}
if (is_NewsCategory()) {
$parentitems = $_zp_current_category->getParents();
}
foreach ($parentitems as $item) {
if (is_Pages()) {
$pageobj = new ZenpagePage($item);
$parentitemurl = html_encode($pageobj->getLink());
$parentitemtitle = $pageobj->getTitle();
}
if (is_NewsCategory()) {
$catobj = new ZenpageCategory($item);
$parentitemurl = $catobj->getLink();
$parentitemtitle = $catobj->getTitle();
}
if ($before) {
echo '<span class="beforetext">' . html_encode($before) . '</span>';
}
echo "<a href='" . $parentitemurl . "'>" . html_encode($parentitemtitle) . "</a>";
if ($after) {
echo '<span class="aftertext">' . html_encode($after) . '</span>';
}
}
}
}
示例10: printNewsIndexURL
?>
<div><?php
printNewsIndexURL($newsname);
echo ' / ';
?>
</div>
<h1><?php
printCurrentNewsCategory();
?>
</h1>
<?php
} else {
if (in_context(ZP_ZENPAGE_NEWS_DATE)) {
?>
<div><?php
printNewsIndexURL($newsname);
echo ' / ';
?>
</div>
<h1><?php
printCurrentNewsArchive();
?>
</h1>
<?php
} else {
?>
<h1><?php
echo $newsname;
?>
</h1>
<?php
示例11: getGalleryIndexURL
}
}
?>
</div>
<div id="content">
<div id="breadcrumb">
<h2><a href="<?php
echo getGalleryIndexURL(false);
?>
"><?php
echo gettext("Index");
?>
</a> <?php
printNewsIndexURL(gettext('News'), ' » ');
?>
<strong><?php
printZenpageItemsBreadcrumb(' » ', '');
printCurrentNewsCategory(" » ");
printNewsTitle(" » ");
printCurrentNewsArchive(" » ");
?>
</strong>
</h2>
</div>
<div id="content-left">
<?php
示例12: getGalleryIndexURL
<div class="bar">
<div class="inner">
<?php
echo $quickmenu;
?>
<div class="pad" id="breadcrumb">
<a href="<?php
echo getGalleryIndexURL();
?>
"><i class="fa fa-home"></i> <?php
printGalleryTitle();
?>
</a> /
<?php
printNewsIndexURL(null, '');
echo ' / ';
?>
<?php
printZenpageItemsBreadcrumb('', ' / ');
?>
<?php
if (is_NewsArticle()) {
printNewsTitle();
}
?>
</div>
</div>
</div>
<div id="main" class="wrap clearfix">