本文整理汇总了PHP中printAllDates函数的典型用法代码示例。如果您正苦于以下问题:PHP printAllDates函数的具体用法?PHP printAllDates怎么用?PHP printAllDates使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了printAllDates函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: gettext
» <?php
echo gettext('Archive View');
?>
</h3>
</div>
<div class="post">
<table id="archive">
<tr>
<td>
<h4><?php
echo gettext('Gallery archive');
?>
</h4>
<?php
printAllDates('archive', 'year', 'month', 'desc');
?>
</td>
<?php
if ($_zenpage_enabled) {
?>
<td id="newsarchive">
<h4><?php
echo gettext('News archive');
?>
</h4>
<?php
printNewsArchive('archive', 'year', 'month', 'archive-active', false, 'desc');
?>
</td>
<?php
示例2: getFormattedMainSiteName
<ul>
<?php
getFormattedMainSiteName('<li class="page">', '</li><li class="chevron"> > </li>');
echo '<li><a href="' . getGalleryIndexURL() . '" class="activ">' . getBareGalleryTitle() . '</a></li>';
echo '<li class="chevron"><a> > </a></li>';
echo '<li><a>' . html_encode(gettext('Archives')) . '</a></li>';
?>
</ul>
</div>
<div id="content">
<div id="archive">
<?php
if (function_exists('printCalendar')) {
printCalendar();
} else {
printAllDates('list', 'year');
}
?>
</div>
<div class="clear"></div>
</div>
<div id="footer">
<?php
include_once 'footer.php';
?>
</div>
</div>
<?php
include_once 'analytics.php';
?>
<?php
示例3: getGalleryIndexURL
<a href="<?php
echo getGalleryIndexURL();
?>
"><?php
echo getGalleryTitle();
?>
</a>
</span>
<span class="albumtitle"><span>Archives</span></span>
</h2>
</div>
<div id="padbox" class="archive-wrapper">
<div class="imageit" style="padding:18px; padding-top: 8px;">
<div id="archive"><?php
printAllDates($class = 'archive', $yearid = 'year', $monthid = 'month', $order = 'desc');
?>
</div>
</div>
</div>
</div>
</div>
<div id="credit"><?php
printRSSLink('Gallery', '', 'Gallery RSS', ' | ', false);
?>
<a href="<?php
echo getPageURL('credits');
?>
">Credits</a> | Powered by <a href="http://www.zenphoto.org" title="A simpler web photo album">zenphoto</a></div>
示例4: printThemeMenu
?>
</ul>
</ul>
</div>
<div id="menu">
<?php
printThemeMenu();
?>
</div>
<div id="content" class="c">
<div id="archive">
<?php
if (function_exists('printCalendar')) {
printCalendar();
} else {
printAllDates('archive', 'title');
}
?>
</div>
<div class="clear_right"></div>
</div>
<div id="footer">
<?php
include_once 'footer.php';
?>
</div>
</div>
<?php
include_once 'analytics.php';
?>
<?php