本文整理汇总了PHP中printGalleryTitle函数的典型用法代码示例。如果您正苦于以下问题:PHP printGalleryTitle函数的具体用法?PHP printGalleryTitle怎么用?PHP printGalleryTitle使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了printGalleryTitle函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: jqm_printMainHeaderNav
/**
* Prints the image/subalbum count for the album loop
*/
function jqm_printMainHeaderNav()
{
global $_zp_gallery_page, $_zp_zenpage, $_zp_current_album, $_zp_themeroot;
?>
<div data-role="header" data-position="inline" data-theme="b">
<h1><?php
printGalleryTitle();
?>
</h1>
<a href="<?php
echo html_encode(getSiteHomeURL());
?>
" data-icon="home" data-iconpos="notext"><?php
echo gettext('Home');
?>
</a>
<?php
if (getOption('Allow_search')) {
?>
<a href="<?php
echo getCustomPageURL('search');
?>
" data-icon="search" data-iconpos="notext"><?php
echo gettext('Search');
?>
</a>
<?php
}
?>
<div data-role="navbar">
<ul>
<li><a href="<?php
echo getCustomPageURL('gallery');
?>
"><?php
echo gettext('Gallery');
?>
</a></li>
<?php
if (extensionEnabled('zenpage') && ZP_NEWS_ENABLED) {
?>
<li><a href="<?php
echo getNewsIndexURL();
?>
"><?php
echo gettext('News');
?>
</a></li>
<?php
if (extensionEnabled('zenpage') && ZP_PAGES_ENABLED) {
?>
<li><a href="<?php
echo getPagesLink();
?>
"><?php
echo gettext('Pages');
?>
</a></li>
<?php
}
?>
<?php
}
?>
<li><a href="<?php
echo getCustomPageURL('archive');
?>
"><?php
echo gettext('Archive');
?>
</a></li>
</ul>
</div><!-- /navbar -->
</div><!-- /header -->
<?php
}
示例2: printGalleryTitle
?>
"><?php
printGalleryTitle();
?>
</a>
<?php
} else {
?>
<a href="<?php
echo html_encode(getGalleryIndexURL());
?>
" title="<?php
echo gettext('Albums Index');
?>
"><?php
printGalleryTitle();
?>
</a>
<?php
}
?>
</a></span> |
<?php
echo "<em>" . gettext('Contact') . "</em>";
?>
</div>
</div> <!-- wrapnav -->
</div> <!-- header -->
<!-- Wrap Subalbums -->
示例3: jqm_printMainHeaderNav
/**
* Prints the image/subalbum count for the album loop
*/
function jqm_printMainHeaderNav()
{
global $_zp_gallery_page, $_zp_current_album, $_zp_themeroot;
?>
<div data-role="header" data-position="inline" data-theme="b">
<h1><?php
printGalleryTitle();
?>
</h1>
<a href="<?php
echo WEBPATH;
?>
/" data-icon="home" data-iconpos="notext"><?php
echo gettext('Home');
?>
</a>
<?php
if (getOption('Allow_search') && $_zp_gallery_page != 'search.php') {
?>
<a href="<?php
echo getCustomPageURL('search');
?>
" data-icon="search" data-iconpos="notext"><?php
echo gettext('Search');
?>
</a>
<?php
}
?>
<div data-role="navbar">
<ul>
<li><a href="<?php
echo getCustomPageURL('gallery');
?>
"><?php
echo gettext('Gallery');
?>
</a></li>
<?php
if (extensionEnabled('zenpage') && getNumNews(true)) {
?>
<li><a href="<?php
echo getNewsIndexURL();
?>
"><?php
echo gettext('News');
?>
</a></li>
<?php
}
if (extensionEnabled('zenpage') && getNumPages(true)) {
?>
<li><a href="<?php
echo getCustomPageURL('pagelist');
?>
"><?php
echo gettext('Pages');
?>
</a></li>
<?php
}
?>
<li><a href="<?php
echo getCustomPageURL('archive');
?>
"><?php
echo gettext('Archive');
?>
</a></li>
</ul>
</div><!-- /navbar -->
</div><!-- /header -->
<?php
}