本文整理汇总了PHP中getAnnotatedAlbumTitle函数的典型用法代码示例。如果您正苦于以下问题:PHP getAnnotatedAlbumTitle函数的具体用法?PHP getAnnotatedAlbumTitle怎么用?PHP getAnnotatedAlbumTitle使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getAnnotatedAlbumTitle函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: 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();
示例2: while
}
?>
<ul data-role="listview" data-inset="true">
<?php
while (next_album()) {
?>
<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();
?>
示例3: while
<?php
while (next_album()) {
?>
<div class="album-maxspace">
<a class="thumb-link" href="<?php
echo html_encode(getAlbumURL());
?>
" title="<?php
echo getNumAlbums() . ' ' . gettext('subalbums') . ' / ' . getNumImages() . ' ' . gettext('images') . ' - ' . strip_tags(shortenContent(getBareAlbumDesc(), 300, '...'));
?>
">
<?php
if ($zpmin_thumb_crop) {
printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), null, $zpmin_album_thumb_size, $zpmin_album_thumb_size, $zpmin_album_thumb_size, $zpmin_album_thumb_size);
} else {
printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), $zpmin_album_thumb_size);
}
?>
<span class="album-title"><?php
echo shortenContent(getBareAlbumTitle(), 25, '...');
?>
</span>
</a>
</div>
<?php
}
?>
</div>
<div id="thumbs-wrap">
<?php
while (next_image()) {
示例4: getAnnotatedAlbumTitle
?>
<?php
echo getAnnotatedAlbumTitle();
?>
"><?php
printAlbumThumbImage(getAnnotatedAlbumTitle());
?>
</a>
<a href="<?php
echo html_encode(getAlbumLinkURL());
?>
" title="<?php
echo gettext('View album:');
?>
<?php
echo getAnnotatedAlbumTitle();
?>
"><?php
printAlbumTitle();
?>
</a>
<?php
printAlbumDate("");
?>
<?php
printAlbumDesc();
?>
<?php
}
?>
<?php
示例5: html_encode
<div class="image-block" style="width:<?php
echo $zpmas_album_size_w;
?>
px;height:<?php
echo $zpmas_album_size_h;
?>
px;">
<a class="thumb-link" href="<?php
echo html_encode(getAlbumURL());
?>
" title="<?php
echo getAnnotatedAlbumTitle();
?>
">
<?php
printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), null, $zpmas_album_size_w, $zpmas_album_size_h, $zpmas_album_size_w, $zpmas_album_size_h);
?>
</a>
</div>
<?php
$singletag = getTags();
$tagstring = implode(', ', $singletag);
?>
<ul class="album-info">
<li class="counts <?php
if ($zpmas_thumbsize == 'small' && getNumAlbums() > 0) {
echo 'smallthumbs';
}
?>
">
<?php
示例6: printAnnotatedAlbumTitle
function printAnnotatedAlbumTitle()
{
echo html_encode(getAnnotatedAlbumTitle());
}
示例7: htmlspecialchars
<li class="gal">
<a href="<?php
echo htmlspecialchars(getAlbumLinkURL());
?>
" title="<?php
printf(gettext('View album: %s'), getAnnotatedAlbumTitle());
?>
" class="img"><?php
printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), null, 210, null, 210, 60);
?>
</a>
<h3><a href="<?php
echo htmlspecialchars(getAlbumLinkURL());
?>
" title="<?php
printf(gettext('View album: %s'), getAnnotatedAlbumTitle());
?>
"><?php
printAlbumTitle();
?>
</a></h3>
<p>
<?php
$anumber = getNumSubalbums();
$inumber = getNumImages();
if ($anumber > 0 || $inumber > 0) {
echo '<p><em>(';
if ($anumber == 0 && $inumber == 1) {
printf(gettext('1 photo'));
} else {
if ($anumber == 0 && $inumber > 1) {
示例8: 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 = '';
}
?>
示例9: printf
?>
" title="<?php
printf(gettext("View album: %s"), getAnnotatedAlbumTitle());
?>
"><?php
printAlbumTitle();
?>
</a></h3>
<a href="<?php
echo html_encode(getAlbumLinkURL());
?>
" title="<?php
printf(gettext("View album: %s"), getAnnotatedAlbumTitle());
?>
" class="img"><?php
printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), null, ALBUM_THUMB_WIDTH, ALBUM_THUMB_HEIGHT, ALBUM_THUMB_WIDTH, ALBUM_THUMB_HEIGHT);
?>
</a>
<p>
<?php
$anumber = getNumAlbums();
$inumber = getNumImages();
if ($anumber > 0 || $inumber > 0) {
echo '<p><em>(';
if ($anumber == 0) {
if ($inumber != 0) {
printf(ngettext('%u image', '%u images', $inumber), $inumber);
}
} else {
if ($anumber == 1) {
if ($inumber > 0) {
示例10: html_encode
?>
<li class="grid_5">
<a href="<?php
echo html_encode(getAlbumURL());
?>
" title="<?php
echo html_encodeTagged(getAnnotatedAlbumTitle());
?>
">
<?php
printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), NULL, 376, 140, 376, 140, NULL, null, NULL, NULL);
?>
</a>
<span class="title">
<?php
echo html_encodeTagged(getAnnotatedAlbumTitle());
?>
<span class="italic">
[<?php
printf(ngettext('%u image', '%u images', getNumImages()), getNumImages());
?>
]
</span><br />
<?php
echo getAlbumDate("(%d/%m/%Y)");
?>
</span>
</li>
<?php
}
?>
示例11: gettext
echo gettext('View album:') . ' ';
echo getAnnotatedAlbumTitle();
?>
"><?php
printAlbumTitle();
?>
</a></h3>
<a href="<?php
echo htmlspecialchars(getAlbumLinkURL());
?>
" title="<?php
echo gettext('View album:') . ' ';
echo getAnnotatedAlbumTitle();
?>
" class="img"><?php
printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), null, 210, 59, 210, 59);
?>
</a>
<p>
<?php
$anumber = getNumSubalbums();
$inumber = getNumImages();
if ($anumber > 0 || $inumber > 0) {
echo '<p><em>(';
if ($anumber == 0 && $inumber == 1) {
printf(gettext('1 photo'));
} else {
if ($anumber == 0 && $inumber > 1) {
printf(gettext('%u photos'), $inumber);
} else {
if ($anumber == 1 && $inumber == 1) {