コード例 #1
0
ファイル: album.php プロジェクト: rb26/zenphoto
		<div class="content-primary">
		<h2 class="breadcrumb"><a href="<?php 
echo getGalleryIndexURL();
?>
"><?php 
echo gettext('Gallery');
?>
</a> <?php 
printParentBreadcrumb('', '', '');
?>
 <?php 
printAlbumTitle();
?>
</h2>
		<?php 
printAlbumDesc();
?>
		<?php 
if (hasPrevPage() || hasNextPage()) {
    printPageListWithNav(gettext("prev"), gettext("next"), false, true, 'pagelist', NULL, true, 7);
}
?>
		<ul data-role="listview" data-inset="true">
			<?php 
while (next_album()) {
    ?>
							<li>
								<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
コード例 #2
0
ファイル: album.php プロジェクト: Imagenomad/Unsupported
?>
>
					<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 
    printTags('links', gettext('<strong>Tags:</strong>') . ' ', 'taglist', '');
    ?>
</div><?php 
}
?>
						<?php 
if (function_exists('printSlideShowLink')) {
コード例 #3
0
ファイル: album.php プロジェクト: kokyandrei/Unsupported
</a></h2>
	<?php 
}
?>

	<div class="album-details">
		<?php 
printAlbumDate('', '', null, true);
?>
		<div class="album-tags"><?php 
printTags('links', gettext('| Tags:  '), 'taglist', ', ', true, '', true);
?>
</div>
	</div>
	<p class="description"><?php 
printAlbumDesc(true, '', gettext('Edit Description...'));
?>
</p>

	<?php 
if (isAlbumPage()) {
    ?>
	<div class="subalbum-wrap">
		<h4 class="blockhead"><span><?php 
    echo gettext('SubAlbums in ');
    echo getBareAlbumTitle();
    ?>
 (<?php 
    echo getNumAlbums();
    ?>
)</span></h4>
コード例 #4
0
ファイル: functions.php プロジェクト: Imagenomad/Unsupported
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>&laquo; 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 &raquo;</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 
}