本文整理汇总了PHP中printAlbumThumbImage函数的典型用法代码示例。如果您正苦于以下问题:PHP printAlbumThumbImage函数的具体用法?PHP printAlbumThumbImage怎么用?PHP printAlbumThumbImage使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了printAlbumThumbImage函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: truncate_string
"><?php
echo truncate_string(getBareAlbumTitle(), 25, '...');
?>
</a></h4>
<a class="thumb" href="<?php
echo htmlspecialchars(getAlbumURL());
?>
" title="<?php
echo gettext('View album:');
?>
<?php
echo getBareAlbumTitle();
?>
">
<?php
printAlbumThumbImage(getBareAlbumTitle());
?>
</a>
<span class="front-date"><?php
printAlbumDate();
?>
</span>
<p class="front-desc">
<?php
echo truncate_string(getAlbumDesc(), 175);
?>
<a href="<?php
echo htmlspecialchars(getAlbumURL());
?>
" title="<?php
echo gettext('View album:');
示例2: while
<?php
while (next_album()) {
?>
<div class="album">
<div class="thumb">
<a href="<?php
echo html_encode(getAlbumURL());
?>
" title="<?php
echo gettext('View album:');
?>
<?php
printAnnotatedAlbumTitle();
?>
"><?php
printAlbumThumbImage(getAnnotatedAlbumTitle());
?>
</a>
</div>
<div class="albumdesc">
<h3><a href="<?php
echo html_encode(getAlbumURL());
?>
" title="<?php
echo gettext('View album:');
?>
<?php
printAnnotatedAlbumTitle();
?>
"><?php
printAlbumTitle();
示例3: while
</div>
<div id="main" class="wrap clearfix">
<div class="inner">
<div class="gallery pad">
<div class="gallery-thumbs-large">
<?php
while (next_album()) {
?>
<div>
<a href="<?php
echo html_encode(getAlbumURL());
?>
">
<?php
printAlbumThumbImage(getBareAlbumTitle(), 'check-flagthumb');
?>
</a>
<div class="caption clearfix">
<div class="album-details">
<?php
if (getNumAlbums()) {
?>
<div class="album-sub-count"><i class="fa fa-folder"></i><span> <?php
echo getNumAlbums();
?>
</span></div><?php
}
?>
<?php
if (getNumImages()) {
示例4: printAlbumTitle
<h3><?php
printAlbumTitle();
?>
</h3>
<a class="album-thumb" href="<?php
echo html_encode(getAlbumURL());
?>
" title="<?php
printAlbumTitle();
?>
">
<?php
if (getOption('thumb_crop')) {
printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), null, null, 'remove-attributes');
} else {
printAlbumThumbImage(getAnnotatedAlbumTitle(), 'remove-attributes');
}
?>
</a>
<p class="album-desc"><?php
echo strip_tags(truncate_string(getAlbumDesc(), 140, '...'));
?>
</p>
<div class="album-stats">
<?php
if (getNumAlbums() > 0 && getNumImages() > 0) {
$divider = '- ';
} else {
$divider = '';
}
?>
示例5: while
<br clear="all" />
<?php
$x = 0;
while (next_album()) {
?>
<div class="album">
<div class="albumthumb"><a href="<?php
echo getAlbumURL();
?>
" title="<?php
echo getBareAlbumTitle();
?>
" rel="lightbox-album">
<?php
printAlbumThumbImage(getAlbumTitle(), "reflect");
?>
</a>
</div>
<div class="albumtitle"><h1><a href="<?php
echo getAlbumURL();
?>
" title="<?php
echo getBareAlbumTitle();
?>
">
<?php
printAlbumTitle();
?>
</a></h1>