本文整理汇总了PHP中printAlbumDate函数的典型用法代码示例。如果您正苦于以下问题:PHP printAlbumDate函数的具体用法?PHP printAlbumDate怎么用?PHP printAlbumDate使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了printAlbumDate函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: html_encode
<li>
<a href="<?php
echo html_encode(getAlbumURL());
?>
" title="<?php
echo gettext('View album:');
?>
">
<?php
printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), null, 79, 79, 79, 79, NULL, null, NULL, NULL);
?>
<h3><?php
printAlbumTitle();
?>
<small> (<?php
printAlbumDate('');
?>
)</small></h3>
<div class="albumdesc"><?php
echo shortenContent(getAlbumDesc(), 100, '(...)', false);
?>
</div>
<small class="ui-li-aside ui-li-count"><?php
jqm_printImageAlbumCount();
?>
</small>
</a>
</li>
<?php
}
?>
示例2: html_encode
<div class="albumdesc">
<h3><a href="<?php
echo html_encode(getAlbumURL());
?>
" title="<?php
echo gettext('View album:');
?>
<?php
printBareAlbumTitle();
?>
"><?php
printAlbumTitle();
?>
</a></h3>
<?php
printAlbumDate("");
?>
<p><?php
echo truncate_string(getAlbumDesc(), 45);
?>
</p>
</div>
</div>
<?php
}
?>
</div>
<?php
}
?>
<?php
示例3: getAlbumURL
<div id="album_box">
<div id="album_position"><a href="<?php
echo getAlbumURL();
?>
" title="View album: <?php
echo getAlbumTitle();
?>
"><?php
printAlbumThumbImage(getAlbumTitle());
?>
</a></div>
</div>
<div class="albumdesc">
<?php
printAlbumDate("Date Taken: ");
?>
<p><?php
printAlbumDesc();
?>
</p>
</div>
<p style="margin:0px;padding:0px;clear: both; "> </p>
</div>
<?php
}
?>
</div>
<div id="images_tlg">
<?php
示例4: getAlbumURL
<h3>
<a href="<?php
echo getAlbumURL();
?>
" title="<?php
printf(gettext('View album: %s'), getBareAlbumTitle());
?>
">
<?php
printAlbumTitle();
?>
</a>
</h3>
<br />
<small><?php
printAlbumDate();
?>
</small>
</div>
<p style="clear: both;"></p>
</div>
<?php
}
printPageListWithNav(gettext("« prev"), gettext("next »"));
?>
</div><!-- album -->
<?php
?>
<p style="clear: both;"></p>
<?php
printCodeblock(2);
示例5: printAlbumTitle
}
?>
</div>
<div id="sidebar"<?php
if ($zpmin_switch) {
echo ' class="switch"';
}
?>
>
<div class="sidebar-divide">
<h3><?php
printAlbumTitle(true);
?>
</h3>
<div class="sidebar-section"><?php
printAlbumDate('', '', null, true);
?>
</div>
<?php
if (getAlbumDesc() || zp_loggedin()) {
?>
<div class="sidebar-section"><?php
printAlbumDesc(true);
?>
</div><?php
}
?>
<?php
if (getTags() || zp_loggedin()) {
?>
<div class="sidebar-section"><?php
示例6: zp_side_bar
function zp_side_bar()
{
?>
<div id="sidebar">
<?php
//-------------If you are in the Image Page
if (in_context(ZP_IMAGE)) {
?>
<div class="imgnav">
<?php
if (hasPrevImage()) {
?>
<div class="imgprevious"><a href="<?php
echo getPrevImageURL();
?>
" title="Previous Image"><img src="<?php
echo getPrevImageThumb();
?>
" /><br /><small>« prev |</small></a></div>
<?php
}
if (hasNextImage()) {
?>
<div class="imgnext"><a href="<?php
echo getNextImageURL();
?>
" title="Next Image"><img src="<?php
echo getNextImageThumb();
?>
" /><br /><small>| next »</small></a></div>
<?php
}
?>
</div>
<div id="sbinfo">
<b>Album Name:</b> <?php
printAlbumTitle(true);
?>
<br />
<b>Number of Photos:</b> <?php
echo getNumImages();
?>
<br />
<b>Album Date:</b> <?php
printAlbumDate($before = "Date: ", $format = "%F");
?>
<br />
<b>Album Description:</b> <?php
printAlbumDesc(true);
?>
<br />
<b>Image Name:</b> <?php
echo getImageTitle();
?>
<br />
<b>Image Description:</b> <?php
printImageDesc(true);
?>
<br />
</div>
<?php
//--------------- If you are in the Album Page
} else {
if (in_context(ZP_ALBUM)) {
?>
<b>Album Name:</b> <?php
printAlbumTitle(true);
?>
<br />
<b>Number of Pictures:</b> <?php
echo getNumImages();
?>
<br />
<b>Album Date:</b> <?php
printAlbumDate($before = "Date: ", $format = "%F");
?>
<br />
<b>Album Description:</b> <?php
printAlbumDesc(true);
?>
<br />
<?php
//--------------- If you are in the Index Page
} else {
if (in_context(ZP_INDEX)) {
}
}
}
?>
</div>
<?php
}
示例7: gettext
" title="<?php
echo gettext('View album:');
?>
<?php
printAnnotatedAlbumTitle();
?>
"><?php
printAlbumTitle();
?>
</a></h3>
<p><?php
printAlbumDesc();
?>
</p>
<small><?php
printAlbumDate(gettext("Date:") . ' ');
?>
</small>
</div>
<p style="clear: both; "></p>
</div>
<?php
}
?>
</div>
<div id="images">
<?php
while (next_image()) {
$c++;
?>
<div class="image">
示例8: getAlbumURL
?>
<div class="album">
<a href="<?php
echo getAlbumURL();
?>
" title="View album: <?php
echo getAlbumTitle();
?>
">
<?php
printAlbumThumbImage(getAlbumTitle());
?>
</a>
<div class="albumdesc">
<small><?php
printAlbumDate($before = 'Date Taken:', $nonemessage = 'no date', $format = null);
?>
</small>
<h3><a href="<?php
echo getAlbumURL();
?>
" title="View album: <?php
echo getAlbumTitle();
?>
"><?php
printAlbumTitle();
?>
</a></h3>
<p><?php
printAlbumDesc();
?>
示例9: html_encode
<div class="albumdesc">
<h3><a href="<?php
echo html_encode(getAlbumURL());
?>
" title="<?php
echo gettext('View album:');
?>
<?php
echo getBareAlbumTitle();
?>
"><?php
printAlbumTitle();
?>
</a></h3>
<h3 class="date"><?php
printAlbumDate("", "", "%B %Y");
?>
</h3>
<!-- p><?php
echo truncate_string(getAlbumDesc(), 45);
?>
</p --></h3>
</div>
<p style="clear: both; "></p>
</div>
<?php
}
?>
<?php
while ($u % 2 != 0) {
$u++;