当前位置: 首页>>代码示例>>PHP>>正文


PHP getAnnotatedAlbumTitle函数代码示例

本文整理汇总了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();
开发者ID:rauldobrota,项目名称:zenphoto,代码行数:31,代码来源:favorites.php

示例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();
    ?>
开发者ID:rb26,项目名称:zenphoto,代码行数:31,代码来源:album.php

示例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()) {
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php

示例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 
开发者ID:benuri,项目名称:DevTools,代码行数:31,代码来源:index.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 
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php

示例6: printAnnotatedAlbumTitle

function printAnnotatedAlbumTitle()
{
    echo html_encode(getAnnotatedAlbumTitle());
}
开发者ID:IliyanGochev,项目名称:zenphoto,代码行数:4,代码来源:template-functions.php

示例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) {
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:31,代码来源:search.php

示例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 = '';
            }
            ?>
开发者ID:BimbaLaszlo,项目名称:zpbase,代码行数:31,代码来源:album-masonry.php

示例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) {
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:31,代码来源:index.php

示例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 
}
?>
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:search.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) {
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:31,代码来源:gallery.php


注:本文中的getAnnotatedAlbumTitle函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。