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


PHP printNewsIndexURL函数代码示例

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


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

示例1: gettext

echo gettext('Home');
?>
"><?php 
echo gettext('Home');
?>
</a> &raquo; <a href="<?php 
echo getCustomPageURL('gallery');
?>
" title="<?php 
echo gettext('Gallery Index');
?>
"><?php 
echo gettext('Gallery Index');
?>
</a> &raquo; <?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 
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:news.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>
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:news.php

示例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">
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:30,代码来源:news.php

示例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 -->
开发者ID:jurgenoosting,项目名称:zenphoto,代码行数:31,代码来源:news.php

示例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 
开发者ID:nataliakuruch,项目名称:negpos,代码行数:31,代码来源:news.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);
开发者ID:rb26,项目名称:zenphoto,代码行数:31,代码来源:news.php

示例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">
开发者ID:rauldobrota,项目名称:zenphoto,代码行数:31,代码来源:news.php

示例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 
开发者ID:JoniWeiss,项目名称:JoniWebGirl,代码行数:31,代码来源:news.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>';
            }
        }
    }
}
开发者ID:Simounet,项目名称:zenphoto,代码行数:45,代码来源:zenpage-template-functions.php

示例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 
开发者ID:BimbaLaszlo,项目名称:zpbase,代码行数:31,代码来源:news.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'), ' &raquo; ');
?>
<strong><?php 
printZenpageItemsBreadcrumb(' &raquo; ', '');
printCurrentNewsCategory(" &raquo; ");
printNewsTitle(" &raquo; ");
printCurrentNewsArchive(" &raquo; ");
?>
</strong>
	</h2>
	</div>

<div id="content-left">


<?php 
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:31,代码来源:news.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>&nbsp;<?php 
    printGalleryTitle();
    ?>
</a>&nbsp;/
					<?php 
    printNewsIndexURL(null, '');
    echo ' / ';
    ?>
					<?php 
    printZenpageItemsBreadcrumb('', ' / ');
    ?>
					<?php 
    if (is_NewsArticle()) {
        printNewsTitle();
    }
    ?>
				</div>
			</div>
		</div>
		
		<div id="main" class="wrap clearfix">
开发者ID:ckfreeman,项目名称:libratus,代码行数:30,代码来源:news.php


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