Ejemplo n.º 1
0
						<?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()) {
Ejemplo n.º 2
0
</a></h4>
				<a class="thumb" href="<?php 
        echo htmlspecialchars(getAlbumURL());
        ?>
" title="<?php 
        echo gettext('View SubAlbum:');
        ?>
 <?php 
        echo getBareAlbumTitle();
        ?>
">
					<?php 
        if (isLandscape()) {
            printCustomAlbumThumbImage(getBareAlbumTitle(), null, 160, 120, 160, 120);
        } else {
            printCustomAlbumThumbImage(getBareAlbumTitle(), null, 120, 160, 120, 160);
        }
        ?>
				</a>
				<span class="front-date"><?php 
        printAlbumDate();
        ?>
</span>
				<p class="front-desc">
					<?php 
        echo shortenContent(getAlbumDesc(), 175, '...');
        ?>
					<a href="<?php 
        echo htmlspecialchars(getAlbumURL());
        ?>
" title="<?php 
Ejemplo n.º 3
0
/**
 * Prints a un-cropped custom sized album thumb within the given height and width dimensions.
 * Note: a class of 'not_visible' or 'password_protected' will be added as appropriate
 *
 * @param string $alt Alt text for the url
 * @param int $width width
 * @param int $height height
 * @param string $class Optional style class
 * @param string $id Optional style id
 * @param bool $thumbStandin set to true to treat as thumbnail
 */
function printCustomAlbumThumbMaxSpace($alt, $width, $height, $class = NULL, $id = NULL)
{
    global $_zp_current_album;
    $albumthumb = $_zp_current_album->getAlbumThumbImage();
    getMaxSpaceContainer($width, $height, $albumthumb, true);
    printCustomAlbumThumbImage($alt, NULL, $width, $height, NULL, NULL, NULL, NULL, $class, $id);
}
Ejemplo n.º 4
0
				<div id="makeMeScrollable">
					<?php 
if (getOption('zpbase_galhomeop') == 'albums') {
    // latest albums
    while (next_album($showall)) {
        ?>
					<div class="sdscroll-item">
						<a class="album-thumb" href="<?php 
        echo html_encode(getAlbumURL());
        ?>
" title="<?php 
        printAlbumTitle();
        ?>
">
							<?php 
        printCustomAlbumThumbImage(getBareAlbumTitle(), null, null, getOption('zpbase_sds_maxheight'), null, null, null, null, 'remove-attributes');
        ?>
						</a>
						<div class="sdscroll-albuminfo">
							<h3><?php 
        printAlbumTitle();
        ?>
</h3>
							<p class="album-desc"><?php 
        echo strip_tags(truncate_string(getAlbumDesc(), 140, '...'));
        ?>
</p>
							<div class="album-stats">
								<?php 
        if (getNumAlbums() > 0 && getNumImages() > 0) {
            $divider = '- ';
Ejemplo n.º 5
0
					<h6><?php 
        echo html_encode(getBareAlbumTitle());
        ?>
</h6>
					<a href="<?php 
        echo html_encode(getAlbumURL());
        ?>
" title="<?php 
        echo gettext('View album:');
        ?>
 <?php 
        echo html_encode(getBareAlbumTitle());
        ?>
">
		<?php 
        printCustomAlbumThumbImage(getBareAlbumTitle(), null, 420, 200, 420, 200, null, null, 'remove-attributes');
        ?>
					</a>
					<div class="album-meta">
						<ul class="taglist">
							<li class="meta-date"><?php 
        printAlbumDate("");
        ?>
</li>
							<li class="meta-contents">
								<?php 
        if (getNumAlbums() > 0 && getNumImages() > 0) {
            $divider = '- ';
        } else {
            $divider = '';
        }
Ejemplo n.º 6
0
				</div>
				<div class="suffix_5">
					<ul class="gallery">
						<?php 
while (next_album()) {
    ?>
						<li class="grid_5">
							<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo getAnnotatedAlbumTitle();
    ?>
">
								<?php 
    printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), NULL, 376, 140, 376, 140, NULL, null, NULL, NULL);
    ?>
							</a>
							<span class="title">
								<?php 
    echo getAnnotatedAlbumTitle();
    ?>
 
								<span class="italic">
									[<?php 
    printf(ngettext('%u image', '%u images', getNumImages()), getNumImages());
    ?>
]
								</span><br />
								<?php 
    echo getAlbumDate("(%d/%m/%Y)");
Ejemplo n.º 7
0
					<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 
Ejemplo n.º 8
0
?>
									<div id="albums">
										<?php 
setOption('albums_per_page', 12, false);
while (next_album()) {
    ?>
											<div class="album">
												<a class="albumthumb" href="<?php 
    echo getAlbumURL();
    ?>
" title="<?php 
    printf(gettext('View album:  %s'), getBareAlbumTitle());
    ?>
">
													<?php 
    printCustomAlbumThumbImage(getAlbumTitle(), 85, NULL, NULL, 85, 85);
    ?>
												</a>
												<div class="albumdesc">
													<h3>
														<a href="<?php 
    echo getAlbumURL();
    ?>
" title="<?php 
    printf(gettext('View album:  %s'), getBareAlbumTitle());
    ?>
">
															<?php 
    printAlbumTitle();
    ?>
														</a>
Ejemplo n.º 9
0
					<div class="masonry-style-item album">
						<div class="masonry-style-padding">
							<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 = '';
Ejemplo n.º 10
0
while (next_album()) {
    if ($first) {
        echo '<div class="galleries">';
        echo "\n<h2></h2>\n<ul>\n";
        $first = false;
    }
    ?>
				<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();
Ejemplo n.º 11
0
				<ul class="list-inline">
					<?php 
while (next_album()) {
    ?>
						<li class="thumbnail">
							<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:');
    ?>
 <?php 
    getBareAlbumTitle();
    ?>
"><?php 
    printCustomAlbumThumbImage(getBareAlbumTitle(), "", 240, "", 240, 160);
    ?>
</a>
							<h4><a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:');
    ?>
 <?php 
    printBareAlbumTitle();
    ?>
"><?php 
    printAlbumTitle();
    ?>
</a></h4>
Ejemplo n.º 12
0
    ?>
" 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) {
Ejemplo n.º 13
0
			<div class="album-wrap">
				<ul class="thumbnails">
					<?php 
while (next_album()) {
    ?>
					<li class="span4 album-thumb">
						<a class="thumbnail" rel="tooltip" href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:') . '&nbsp;' . html_encode(getBareAlbumTitle());
    ?>
">
							<?php 
    printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, getOption('personnal_thumb_width'), getOption('personnal_thumb_height'), getOption('personnal_thumb_width'), getOption('personnal_thumb_height'), NULL, NULL, 'remove-attributes');
    ?>
						</a>
						<h4>
							<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:') . html_encode(getBareAlbumTitle());
    ?>
">
								<?php 
    printAlbumTitle();
    ?>
							</a>
						</h4>
					</li>
Ejemplo n.º 14
0
				<?php 
    while (next_album()) {
        ?>
					<div class="album">
						<div class="thumb">
					<a href="<?php 
        echo html_encode(getAlbumURL());
        ?>
" title="<?php 
        echo gettext('View album:');
        ?>
 <?php 
        echo getBareAlbumTitle();
        ?>
"><?php 
        printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, 255, 75, 255, 75);
        ?>
</a>
						</div>
				<div class="albumdesc">
					<h3><a href="<?php 
        echo html_encode(getAlbumURL());
        ?>
" title="<?php 
        echo gettext('View album:');
        ?>
 <?php 
        echo getBareAlbumTitle();
        ?>
"><?php 
        printAlbumTitle();
Ejemplo n.º 15
0
				<?php 
while (next_album()) {
    ?>
					<div class="album">
							<div class="thumb" align="center">
							<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:');
    ?>
 <?php 
    echo getBareAlbumTitle();
    ?>
"><?php 
    printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, 133, 133, 133, 133);
    ?>
</a>
 							 </div>
								<div class="albumdesc" align="center">
									<h3><a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:');
    ?>
 <?php 
    echo getBareAlbumTitle();
    ?>
"><?php 
    printAlbumTitle();
Ejemplo n.º 16
0
    }
    ?>
						<li>
							<?php 
    $annotate = annotateAlbum();
    ?>
							<div class="imagethumb">
								<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo $annotate;
    ?>
">
									<?php 
    printCustomAlbumThumbImage($annotate, null, ALBUM_THMB_WIDTH, null, ALBUM_THMB_WIDTH, ALBUM_THUMB_HEIGHT);
    ?>
								</a>
							</div>
							<h4><a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo $annotate;
    ?>
"><?php 
    printAlbumTitle();
    ?>
</a></h4>
						</li>
					<?php 
Ejemplo n.º 17
0
    }
    ?>
			<li>
				<?php 
    $annotate = annotateAlbum();
    ?>
				<div class="imagethumb">
				<a href="<?php 
    echo html_encode(getAlbumLinkURL());
    ?>
" title="<?php 
    echo $annotate;
    ?>
">
						<?php 
    printCustomAlbumThumbImage($annotate, null, 180, null, 180, 80);
    ?>
 				</a>
				</div>
				<h4><a href="<?php 
    echo html_encode(getAlbumLinkURL());
    ?>
" title="<?php 
    echo $annotate;
    ?>
"><?php 
    printAlbumTitle();
    ?>
</a></h4>
			</li>
			<?php 
Ejemplo n.º 18
0
}
?>
		<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();
    ?>
Ejemplo n.º 19
0
        ?>
</a>
	<?php 
    } else {
        ?>
							<a class="album-thumb" href="<?php 
        echo htmlspecialchars(getAlbumURL());
        ?>
" title="<?php 
        echo gettext('View album:');
        ?>
 <?php 
        echo getBareAlbumTitle();
        ?>
"><?php 
        printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, 238, 160, 238, 160);
        ?>
</a>
	<?php 
    }
    ?>
						<h4><a href="<?php 
    echo htmlspecialchars(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:') . getBareAlbumTitle();
    ?>
"><?php 
    echo shortenContent(getBareAlbumTitle(), 30, '...');
    ?>
</a></h4>
Ejemplo n.º 20
0
							<?php 
    while (next_album()) {
        ?>
								<div class="album">
									<div class="thumb">
										<a href="<?php 
        echo html_encode(getAlbumURL());
        ?>
" title="<?php 
        echo gettext('View album:');
        ?>
 <?php 
        printBareAlbumTitle();
        ?>
"><?php 
        printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, 95, 95, 95, 95);
        ?>
</a>
									</div>
									<div class="albumdesc">
										<h3><a href="<?php 
        echo html_encode(getAlbumURL());
        ?>
" title="<?php 
        echo gettext('View album:');
        ?>
 <?php 
        printBareAlbumTitle();
        ?>
"><?php 
        printAlbumTitle();
Ejemplo n.º 21
0
        $col = 0;
    }
    ?>
			<li<?php 
    echo $lastcol;
    ?>
>
				<a class="album-thumb" href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:') . ' ' . html_encode(getBareAlbumTitle());
    ?>
">
					<?php 
    printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, getOption('personnal_thumb_width'), getOption('personnal_thumb_height'), getOption('personnal_thumb_width'), getOption('personnal_thumb_height'));
    ?>
				</a>
				<h4>
					<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:');
    ?>
 <?php 
    echo html_encode(getBareAlbumTitle());
    ?>
"><?php 
    printAlbumTitle();
    ?>