本文整理匯總了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