当前位置: 首页>>代码示例>>PHP>>正文


PHP printParentBreadcrumb函数代码示例

本文整理汇总了PHP中printParentBreadcrumb函数的典型用法代码示例。如果您正苦于以下问题:PHP printParentBreadcrumb函数的具体用法?PHP printParentBreadcrumb怎么用?PHP printParentBreadcrumb使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了printParentBreadcrumb函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: SearchEngine

    ?>
</a> |
									<?php 
    if (is_null($_zp_current_album)) {
        $search = new SearchEngine();
        $params = trim(zp_getCookie('zenphoto_search_params'));
        $search->setSearchParams($params);
        $images = $search->getImages(0);
        $searchwords = $search->getSearchWords();
        $searchdate = $search->getSearchDate();
        $searchfields = $search->getSearchFields(true);
        $page = $search->page;
        $returnpath = getSearchURL($searchwords, $searchdate, $searchfields, $page);
        echo '<a href=' . html_encode($returnpath) . '><em>' . gettext('Search') . '</em></a> | ';
    } else {
        printParentBreadcrumb();
        printAlbumBreadcrumb("", " | ");
    }
    ?>
 </span>
								Slideshow
							</div> <!-- navbar -->
						</div> <!-- wrapnav -->
					</div> <!-- galleryheader -->
				</div> <!-- main2 -->
				<div id="content">
					<div id="main">
						<div id="slideshowpage">
	<?php 
    printSlideShow(false, true);
    ?>
开发者ID:rb26,项目名称:zenphoto,代码行数:31,代码来源:slideshow.php

示例2: jqm_printMainHeaderNav

<div data-role="page" id="mainpage">

  <?php 
jqm_printMainHeaderNav();
?>

	<div class="ui-content" role="main">
		<div class="content-primary">
		<h2 class="breadcrumb"><a href="<?php 
echo getGalleryIndexURL();
?>
"><?php 
echo gettext('Gallery');
?>
</a> <?php 
printParentBreadcrumb('', '', '');
?>
 <?php 
printAlbumTitle();
?>
</h2>
		<?php 
printAlbumDesc();
?>
		<?php 
if (hasPrevPage() || hasNextPage()) {
    printPageListWithNav(gettext("prev"), gettext("next"), false, true, 'pagelist', NULL, true, 7);
}
?>
		<ul data-role="listview" data-inset="true">
			<?php 
开发者ID:rb26,项目名称:zenphoto,代码行数:31,代码来源:album.php

示例3: getGalleryIndexURL

<div id="content">

	<div id="breadcrumb">
	<h2><a href="<?php 
echo getGalleryIndexURL(false);
?>
" title="<?php 
gettext('Index');
?>
"><?php 
echo gettext("Index");
?>
</a> &raquo; <?php 
echo gettext("Gallery");
printParentBreadcrumb(" &raquo; ", " &raquo; ", " &raquo; ");
printAlbumBreadcrumb(" ", " &raquo; ");
?>
			 <strong><?php 
printImageTitle(true);
?>
</strong> (<?php 
echo imageNumber() . "/" . getNumImages();
?>
)
			</h2>
		</div>
	<div id="content-left">

	<!-- The Image -->
 <?php 
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:30,代码来源:image.php

示例4: printParentBreadcrumb

<?php

include "inc-header.php";
include "inc-sidebar.php";
?>

<div class="right">
	<?php 
if ($zpfocus_social) {
    include "inc-social.php";
}
?>
	<h1 id="tagline"><?php 
printParentBreadcrumb("", " / ", " / ");
printAlbumTitle();
?>
</h1>

	<?php 
if ($zpfocus_logotype) {
    ?>
	<a style="display:block;" href="<?php 
    echo getGalleryIndexURL();
    ?>
"><img src="<?php 
    echo $_zp_themeroot;
    ?>
/images/<?php 
    echo $zpfocus_logofile;
    ?>
" alt="<?php 
开发者ID:kokyandrei,项目名称:Unsupported,代码行数:31,代码来源:album.php

示例5: array

?>
</h1>
				<?php 
if (getOption('Allow_search')) {
    $album_list = array('albums' => array($_zp_current_album->name), 'pages' => '0', 'news' => '0');
    printSearchForm(NULL, 'search', gettext('Search within album'), gettext('Search'), NULL, NULL, $album_list);
}
?>
			</div>

			<div id="content">

				<div id="breadcrumb">
					<h2><?php 
printGalleryIndexURL(' » ');
printParentBreadcrumb("", " » ", " » ");
?>
<strong><?php 
printAlbumTitle();
?>
</strong></h2>
				</div>

				<div id="content-left">
					<div><?php 
printAlbumDesc();
?>
</div>


					<?php 
开发者ID:jmruas,项目名称:zenphoto,代码行数:31,代码来源:album.php

示例6: zp_apply_filter

<?php 
zp_apply_filter('theme_body_open');
?>
<div id="main">

  <div id="title">
	<h1>
	  <a href="<?php 
echo getGalleryIndexURL();
?>
" title="Gallery Index"><?php 
echo getGalleryTitle();
?>
</a><?php 
if (getParentBreadcrumb()) {
    printParentBreadcrumb(" | ", "", "");
}
?>
 | <?php 
printAlbumTitle(true);
?>
	</h1>
	<a href="<?php 
echo getGalleryIndexURL();
?>
" onmouseout="IB_restore()" onmouseover="IB_swap('logo','','<?php 
echo $_zp_themeroot;
?>
/images/logo-on.gif',1)"  title="Home">
	  <img src="<?php 
echo $_zp_themeroot;
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php

示例7: gettext

?>
"><?php 
echo gettext('Home');
?>
</a> &gt;
			<a href="<?php 
echo htmlspecialchars(getGalleryIndexURL());
?>
" title="<?php 
echo gettext('Albums Index');
?>
"><?php 
echo getGalleryTitle();
?>
</a> &gt; <?php 
printParentBreadcrumb("", " > ", " > ");
printAlbumBreadcrumb("", " > ");
echo getImageTitle();
?>
		</p>

		<div id="footer">
			<hr />
			<p>
				<?php 
echo gettext('<a href="http://stopdesign.com/templates/photos/">Photo Templates</a> from Stopdesign.');
?>
				<?php 
printZenphotoLink();
?>
			</p>
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:31,代码来源:image.php

示例8: printParentBreadcrumb

            $imagepresent = true;
        } else {
            $x = $x;
            $videopresent = true;
        }
        ?>
					<?php 
    }
    ?>
				</div>
				<?php 
}
?>
				<div>
					<?php 
printParentBreadcrumb('', ' » ', ' » ', 30, '...');
?>
 <?php 
echo shortenContent(printAlbumTitle(true), 30, '...');
?>
					<small>(
					<?php 
if (getNumAlbums() > 0) {
    echo getNumAlbums() . gettext(' Subalbums, ');
}
?>
					<?php 
echo getTotalImagesIn($_zp_current_album) . gettext(' Total Images');
?>
					)</small>
				</div>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php

示例9: printParentBreadcrumb

?>
" rel="nofollow">
			<img id='album-rss-icon' src="<?php 
echo PersonalityUtil::getPersonaIconURL("rss", "{$_zp_themeroot}/resources/images/rss.png");
?>
" width="64" height="64"/>
		</a>
		<?php 
PersonalityUtil::printPersonalityIconSwitcher('rss', 'album-rss-icon');
?>
	</div>
	<div class="text left">
		<span>
			<?php 
if (!is_null($_zp_current_album->getParent())) {
    printParentBreadcrumb('<em class="wrap">', '</em><em class="wrap">', '</em>');
}
?>
			<em class="wrap"><?php 
echo getAlbumTitle();
?>
</em>
		</span>
	</div>
	<div class="clear"></div>
</div>

<?php 
if (count($_zp_current_album->getSubalbums()) > 0) {
    $desc = getAlbumDesc();
    if (!isset($desc) || trim($desc) == '') {
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:content.php


注:本文中的printParentBreadcrumb函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。