コード例 #1
0
ファイル: functions.php プロジェクト: Imagenomad/Unsupported
function ji_show_thumb()
{
    /*
    	$cw - crop width
    	$ch - crop height
    	$iw - image width
    	$ih - image height
    */
    $iw = $cw = THM_WIDTH;
    $ih = $ch = THM_HEIGHT;
    ?>
<li>
	<a href="<?php 
    echo getAlbumURL();
    ?>
"
		title="<?php 
    echo getAlbumTitle();
    ?>
"><img
		src="<?php 
    echo getCustomAlbumThumb(null, $iw, $ih, $cw, $ch);
    ?>
"
		alt="<?php 
    echo getAlbumTitle();
    ?>
"
		width="<?php 
    echo $iw;
    ?>
" height="<?php 
    echo $ih;
    ?>
" />
		<span><?php 
    echo getNumImages() . ' images';
    if (getAlbumDesc() == '') {
        echo '<br /><br />[' . getAlbumTitle() . ']';
    } else {
        echo '<br /><br />' . getAlbumDesc();
    }
    ?>
</span></a>
</li>
<?php 
}
コード例 #2
0
ファイル: functions.php プロジェクト: Imagenomad/Unsupported
function m9GetRSS($option)
{
    global $_zp_current_album;
    $host = htmlentities($_SERVER['HTTP_HOST'], ENT_QUOTES, 'UTF-8');
    $lang = getOption('locale');
    switch ($option) {
        case 'gallery':
            return 'http://' . $host . WEBPATH . '/rss.php?lang=' . $lang;
        case 'album':
            return 'http://' . $host . WEBPATH . '/rss.php?albumtitle=' . urlencode(getAlbumTitle()) . '&amp;albumname=' . urlencode($_zp_current_album->getFilename()) . '&amp;lang=' . $lang;
        case 'collection':
            return 'http://' . $host . WEBPATH . '/rss.php?albumtitle=' . urlencode(getAlbumTitle()) . '&amp;folder=' . urlencode($_zp_current_album->getFilename()) . '&amp;lang=' . $lang;
        case 'comments':
            return 'http://' . $host . WEBPATH . '/rss-comments.php?lang=' . $lang;
        case 'comments-image':
            return 'http://' . $host . WEBPATH . '/rss-comments.php?id=' . $_zp_current_image->getID() . '&amp;title=' . urlencode(getImageTitle()) . '&amp;type=image&amp;lang=' . $lang;
        case 'comments-album':
            return 'http://' . $host . WEBPATH . '/rss-comments.php?id=' . $_zp_current_album->getID() . '&amp;title=' . urlencode(getAlbumTitle()) . '&amp;type=album&amp;lang=' . $lang;
        case 'albums-rss':
            return 'http://' . $host . WEBPATH . '/rss.php?lang=' . $lang . '&amp;albumsmode';
    }
}
コード例 #3
0
ファイル: album.php プロジェクト: Imagenomad/Unsupported
				<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>
コード例 #4
0
ファイル: album.php プロジェクト: ItsHaden/epicLanBootstrap
                        // Slimbox does not do video
                        if (is_null($firstImage)) {
                            $lastImage = imageNumber();
                            $firstImage = $lastImage;
                        } else {
                            $lastImage++;
                        }
                        ?>
<!-- Image thumbnails or no flash -->
 									<div class="image">
 									<div class="imagethumb">
 									<?php 
                        $annotate = annotateImage();
                        if ($personality == 'Slimbox') {
                            echo "<a href=\"" . htmlspecialchars(getCustomImageURL(550, null)) . "\"";
                            echo "rel=\"lightbox[" . getAlbumTitle() . "]\"\n";
                        } else {
                            echo '<a href="' . htmlspecialchars(getImageLinkURL()) . '"';
                        }
                        echo " title=\"" . $annotate . "\">\n";
                        printImageThumb($annotate);
                        echo "</a>";
                        ?>
									</div>
 									</div>
 									<?php 
                    }
                }
                echo '<div class="clearage"></div>';
                if (function_exists('printSlideShowLink') && $personality != 'Smoothgallery') {
                    echo "<p align=\"center\">";
コード例 #5
0
 /**
  * Prints the RDF trackback url information for external clients to autodiscover.
  * This code is invisible and within comments on the theme page.
  *
  * For theme usage.
  *
  */
 function printTrackbackRDF()
 {
     global $_zp_current_zenpage_news, $_zp_current_zenpage_page, $_zp_current_album, $_zp_current_image;
     // check if Zenpage is there...
     if (getOption('zp_plugin_zenpage')) {
         if (is_NewsArticle()) {
             $trackback = $this->getTrackbackURL($_zp_current_zenpage_news);
             $title = getNewsTitle();
             $permalink = $this->getPermalinkURL($_zp_current_zenpage_news, $host);
         }
         if (is_Pages()) {
             $trackback = $this->getTrackbackURL($_zp_current_zenpage_page);
             $title = getPageTitle();
             $permalink = $this->getPermalinkURL($_zp_current_zenpage_page);
         }
     }
     if (in_context(ZP_ALBUM)) {
         $trackback = $this->getTrackbackURL($_zp_current_album);
         $title = getAlbumTitle();
         $permalink = $this->getPermalinkURL($_zp_current_album);
     }
     if (in_context(ZP_IMAGE)) {
         $trackback = $this->getTrackbackURL($_zp_current_image);
         $title = getImageTitle();
         $permalink = $this->getPermalinkURL($_zp_current_image);
     }
     echo $this->rdf_autodiscover("", $title, "", $permalink, $trackback, "");
 }
コード例 #6
0
/**
 * Returns the RSS link for use in the HTML HEAD
 *
 * @param string $option type of RSS: "Gallery" feed for the whole gallery
 * 																		"Album" for only the album it is called from
 * 																		"Collection" for the album it is called from and all of its subalbums
 * 																		 "Comments" for all comments
 * 																		"Comments-image" for comments of only the image it is called from
 * 																		"Comments-album" for comments of only the album it is called from
 * @param string $linktext title of the link
 * @param string $lang optional to display a feed link for a specific language. Enter the locale like "de_DE" (the locale must be installed on your Zenphoto to work of course). If empty the locale set in the admin option or the language selector (getOption('locale') is used.
 *
 *
 * @return string
 * @since 1.1
 */
function getRSSHeaderLink($option, $linktext = '', $lang = '')
{
    global $_zp_current_album;
    $host = htmlentities($_SERVER["HTTP_HOST"], ENT_QUOTES, 'UTF-8');
    if (empty($lang)) {
        $lang = getOption("locale");
    }
    switch ($option) {
        case "Gallery":
            return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"http://" . $host . WEBPATH . "/rss.php?lang=" . $lang . "\" />\n";
        case "Album":
            return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"http://" . $host . WEBPATH . "/rss.php?albumtitle=" . urlencode(getAlbumTitle()) . "&amp;albumname=" . urlencode($_zp_current_album->getFolder()) . "&amp;lang=" . $lang . "\" />\n";
        case "Collection":
            return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"http://" . $host . WEBPATH . "/rss.php?albumtitle=" . urlencode(getAlbumTitle()) . "&amp;folder=" . urlencode($_zp_current_album->getFolder()) . "&amp;lang=" . $lang . "\" />\n";
        case "Comments":
            return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"http://" . $host . WEBPATH . "/rss-comments.php?lang=" . $lang . "\" />\n";
        case "Comments-image":
            return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"http://" . $host . WEBPATH . "/rss-comments.php?id=" . getImageID() . "&amp;title=" . urlencode(getImageTitle()) . "&amp;type=image&amp;lang=" . $lang . "\" />\n";
        case "Comments-album":
            return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"http://" . $host . WEBPATH . "/rss-comments.php?id=" . getAlbumID() . "&amp;title=" . urlencode(getAlbumTitle()) . "&amp;type=album&amp;lang=" . $lang . "\" />\n";
    }
}
コード例 #7
0
ファイル: index.php プロジェクト: Imagenomad/Unsupported
<?php 
$albumsPerPage = getOption('albums_per_page');
$count = 1;
while (next_album() && $count <= $albumsPerPage) {
    ?>

			<div class="image">
				<a href="<?php 
    echo getAlbumURL();
    ?>
"
					title="<?php 
    if (getAlbumDesc() == "") {
        echo getAlbumTitle();
    } else {
        echo getAlbumTitle() . ' - ' . getAlbumDesc();
    }
    ?>
"><img
					src="<?php 
    echo getCustomAlbumThumb(0, 100, 100);
    ?>
"
					alt="<?php 
    echo 'Album ' . ($count + ($currentPage - 1) * $albumsPerPage) . ' of ' . getNumAlbums();
    ?>
"
					width="100" height="100"<?php 
    if ($pc_AjaxFx) {
        echo '
				onLoad="new Effect.Fade(this, {from: 1 , to: .5, queue: \'parallel\', duration: .3});"
コード例 #8
0
ファイル: image.php プロジェクト: hatone/zenphoto-1.4.1.4
				$("a.thickbox").colorbox({
					maxWidth:"98%", 
					maxHeight:"98%",
					close: '<?php 
    echo gettext("close");
    ?>
'
				});
			});
			// ]]> -->
		</script>
	<?php 
}
?>
		<?php 
printRSSHeaderLink('Album', getAlbumTitle());
?>
</head>
<body>
<?php 
zp_apply_filter('theme_body_open');
?>

<div style="margin-top: 16px;"><!-- somehow the thickbox.css kills the top margin here that all other pages have... -->
</div>
<div id="main">
<div id="header">
		<h1><?php 
echo getGalleryTitle();
?>
</h1>
コード例 #9
0
ファイル: album.php プロジェクト: Imagenomad/Unsupported
    ?>
"><?php 
    printAlbumTitle();
    ?>
</a></h3>
			</div>

			<div id="album_box">
				<div id="album_position"><a href="<?php 
    echo getAlbumURL();
    ?>
" title="View album: <?php 
    echo getAlbumTitle();
    ?>
"><?php 
    printAlbumThumbImage(getAlbumTitle());
    ?>
</a></div>
			</div>

			<div class="albumdesc">
				<?php 
    printAlbumDate("Date Taken: ");
    ?>
				<p><?php 
    printAlbumDesc();
    ?>
</p>
			</div>
			<p style="margin:0px;padding:0px;clear: both; ">&nbsp;</p>
		</div>
コード例 #10
0
ファイル: slideshow.php プロジェクト: Imagenomad/Unsupported
<?php

require_once 'theme_functions.php';
define("AREA", GALLERY);
TileSet::init(getGalleryTitle() . ' : ' . getAlbumTitle() . " slideshow", "slideshow");
include_once 'template.php';
コード例 #11
0
ファイル: search.php プロジェクト: hatone/zenphoto-1.4.1.4
    ?>
" title="<?php 
    printf(gettext('View album:  %s'), sanitize(getAlbumTitle()));
    ?>
">
							<?php 
    printCustomAlbumThumbImage(getAlbumTitle(), 85, NULL, NULL, 85, 85);
    ?>
						</a>
						<div class="albumdesc">
							<h3>
								<a href="<?php 
    echo getAlbumLinkURL();
    ?>
" title="<?php 
    printf(gettext('View album:  %s'), sanitize(getAlbumTitle()));
    ?>
">
									<?php 
    printAlbumTitle();
    ?>
								</a>
							</h3>
							<br />
							<small><?php 
    printAlbumDate();
    ?>
</small>
						</div>
					<p style="clear: both;"></p>
					</div>
コード例 #12
0
ファイル: album.php プロジェクト: Imagenomad/Unsupported
<?php

$f = $_REQUEST['f'];
if (isset($f) && $f == 'xml') {
    require_once 'theme_functions.php';
    include 'tiles/album/fetch-thumbs.php';
} else {
    require_once 'theme_functions.php';
    MenuUtil::setArea(THEME_GALLERY);
    TileSet::init(getAlbumTitle(), "album");
    include_once 'template.php';
}
コード例 #13
0
ファイル: image.php プロジェクト: Imagenomad/Unsupported
<?php

require_once 'theme_functions.php';
define("AREA", GALLERY);
TileSet::init(getGalleryTitle() . ' : ' . getAlbumTitle() . ' : ' . getImageTitle(), "album");
include_once 'template.php';
コード例 #14
0
/**
 * Returns the RSS link for use in the HTML HEAD
 *
 * @param string $option type of RSS: "Gallery" feed for the whole gallery
 * 																		"Album" for only the album it is called from
 * 																		"Collection" for the album it is called from and all of its subalbums
 * 																		 "Comments" for all comments
 * 																		"Comments-image" for comments of only the image it is called from
 * 																		"Comments-album" for comments of only the album it is called from
 * @param string $linktext title of the link
 * @param string $lang optional to display a feed link for a specific language. Enter the locale like "de_DE" (the locale must be installed on your Zenphoto to work of course). If empty the locale set in the admin option or the language selector (getOption('locale') is used.
 *
 *
 * @return string
 * @since 1.1
 */
function getRSSHeaderLink($option, $linktext = '', $lang = '')
{
    global $_zp_current_album;
    $host = html_encode($_SERVER["HTTP_HOST"]);
    $protocol = SERVER_PROTOCOL . '://';
    if ($protocol == 'https_admin') {
        $protocol = 'https://';
    }
    if (empty($lang)) {
        $lang = getOption("locale");
    }
    switch ($option) {
        case "Gallery":
            if (getOption('RSS_album_image')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss&amp;lang=" . $lang . "\" />\n";
            }
        case "Album":
            if (getOption('RSS_album_image')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss&amp;albumtitle=" . urlencode(getAlbumTitle()) . "&amp;albumname=" . urlencode($_zp_current_album->getFolder()) . "&amp;lang=" . $lang . "\" />\n";
            }
        case "Collection":
            if (getOption('RSS_album_image')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss&amp;albumtitle=" . urlencode(getAlbumTitle()) . "&amp;folder=" . urlencode($_zp_current_album->getFolder()) . "&amp;lang=" . $lang . "\" />\n";
            }
        case "Comments":
            if (getOption('RSS_comments')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss-comments&amp;lang=" . $lang . "\" />\n";
            }
        case "Comments-image":
            if (getOption('RSS_comments')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss-comments&amp;id=" . getImageID() . "&amp;title=" . urlencode(getImageTitle()) . "&amp;type=image&amp;lang=" . $lang . "\" />\n";
            }
        case "Comments-album":
            if (getOption('RSS_comments')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss-comments&amp;id=" . getAlbumID() . "&amp;title=" . urlencode(getAlbumTitle()) . "&amp;type=album&amp;lang=" . $lang . "\" />\n";
            }
        case "AlbumsRSS":
            if (getOption('RSS_album_image')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss-comments&amp;lang=" . $lang . "&amp;albumsmode\" />\n";
            }
    }
}
コード例 #15
0
/**
 * Places Google Checkout Options on your page.
 * 
 * @param array $pricelist optional array of specific pricing for the image.
 */
function googleCheckout($pricelist = NULL)
{
    if (!is_array($pricelist)) {
        $pricelist = GoogleCheckoutPricelistFromString(getOption('GoogleCheckout_pricelist'));
    }
    ?>

<div id="GoogleCheckout" class="product">
   <input type="hidden" class="product-image" value="<?php 
    echo getImageThumb();
    ?>
" />
   <input type="hidden" class="product-title" value="Album: <?php 
    echo getAlbumTitle();
    ?>
 Photo: <?php 
    echo getImageTitle();
    ?>
" />
   <input type="hidden" class="product-shipping" value="<?php 
    echo getOption('googleCheckout_ship_cost');
    ?>
" />
   Size/Finish: <select class="product-attr-sizefinish">
	<option googlecart-set-product-price=""></option>
	<?php 
    foreach ($pricelist as $key => $price) {
        ?>
	<option googlecart-set-product-price="<?php 
        echo $price;
        ?>
"><?php 
        echo $key;
        ?>
</option>
   <?php 
    }
    ?>
   </select><br />
   Price: <span class="product-price">Choose Size/Finish</span><br />
   How Many: <input type="text" class="googlecart-quantity" value="1" style="width:20px;" />&nbsp;&nbsp;
   <span class="googlecart-add-button"></span>
</div>
<?php 
}
コード例 #16
0
/**
 * Prints an encapsulated title of the current album.
 * If you are logged in you can click on this to modify the title on the fly.
 *
 * @author Ozh
 */
function printAlbumTitle()
{
    echo html_encodeTagged(getAlbumTitle());
}
コード例 #17
0
/**
 * @deprecated
 * @since 1.4.2
 */
function getRSSHeaderLink($option, $linktext = '', $lang = '')
{
    deprecated_functions::notify(gettext('Use the template function <code>getRSSLink()</code> instead. NOTE: While this function gets a full html link <code>getRSSLink()</code> just returns the URL.'));
    global $_zp_current_album;
    $host = html_encode($_SERVER["HTTP_HOST"]);
    $protocol = PROTOCOL . '://';
    if (empty($lang)) {
        $lang = getOption("locale");
    }
    switch ($option) {
        case "Gallery":
            if (getOption('RSS_album_image')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss&amp;lang=" . $lang . "\" />\n";
            }
        case "Album":
            if (getOption('RSS_album_image')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss&amp;albumtitle=" . urlencode(getAlbumTitle()) . "&amp;albumname=" . urlencode($_zp_current_album->getFileName()) . "&amp;lang=" . $lang . "\" />\n";
            }
        case "Collection":
            if (getOption('RSS_album_image')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss&amp;albumtitle=" . urlencode(getAlbumTitle()) . "&amp;folder=" . urlencode($_zp_current_album->getFileName()) . "&amp;lang=" . $lang . "\" />\n";
            }
        case "Comments":
            if (getOption('RSS_comments')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss=comments&amp;lang=" . $lang . "\" />\n";
            }
        case "Comments-image":
            if (getOption('RSS_comments')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss=comments&amp;id=" . getImageID() . "&amp;title=" . urlencode(getImageTitle()) . "&amp;type=image&amp;lang=" . $lang . "\" />\n";
            }
        case "Comments-album":
            if (getOption('RSS_comments')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss=comments&amp;id=" . getAlbumID() . "&amp;title=" . urlencode(getAlbumTitle()) . "&amp;type=album&amp;lang=" . $lang . "\" />\n";
            }
        case "AlbumsRSS":
            if (getOption('RSS_album_image')) {
                return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss=comments&amp;lang=" . $lang . "&amp;albumsmode\" />\n";
            }
    }
}
コード例 #18
0
ファイル: index.php プロジェクト: Imagenomad/Unsupported
							<a title="<?php 
    echo html_encode(getAlbumDesc());
    ?>
" href="<?php 
    echo htmlspecialchars(getAlbumURL());
    ?>
">
								<img src="<?php 
    echo getCustomAlbumThumb(298, NULL, NULL, 298, 178, NULL, NULL, false);
    ?>
" alt="<?php 
    echo html_encode(getAlbumTitle() . ' (' . getAlbumDate(getOption('date_format')) . ')');
    ?>
" />
							<span><?php 
    echo getAlbumTitle() . '<br />(' . getAlbumDate(getOption('date_format')) . ')';
    ?>
</span>
							</a>
						</li>
<?php 
}
?>
					</ul>
				</div>
				<div id="rightbox">
					<div id="login">
<?php 
if (!zp_loggedin() && function_exists('printUserLogin_out')) {
    printUserLogin_out();
}
コード例 #19
0
ファイル: album.php プロジェクト: kokyandrei/Unsupported
    echo getCustomImageURL(NULL, 298, 187, 298, 187, NULL, NULL, true);
    ?>
" alt="<?php 
    echo html_encode(getImageTitle());
    ?>
" />
						</a>
					</li>
<?php 
}
?>
				</ul>
				<div class="data">
					<?php 
if (getAlbumTitle()) {
    echo '<div class="c"><h4 class="box title">' . getAlbumTitle() . '</h4></div>';
}
?>
					<?php 
if (getAlbumDesc()) {
    echo '<div class="c"><div class="box desc">' . getAlbumDesc() . '</div></div>';
}
?>
					<?php 
if (getAlbumDate()) {
    echo '<div class="c"><small class="box date">' . getAlbumDate('%d.%m.%y %H:%M') . '</small></div>';
}
?>
				</div>
			</div>
<?php 
コード例 #20
0
ファイル: image.php プロジェクト: Imagenomad/Unsupported
// force UTF-8 Ø
if (!defined('WEBPATH')) {
    die;
}
?>

<!DOCTYPE html>

<html>
<head>
	<title><?php 
printGalleryTitle();
?>
 | <?php 
echo getAlbumTitle();
?>
 | <?php 
echo getImageTitle();
?>
</title>
	<meta http-equiv="content-type" content="text/html; charset=<?php 
echo LOCAL_CHARSET;
?>
" />
	<link rel="stylesheet" href="<?php 
echo $_zp_themeroot;
?>
/zen.css" type="text/css" />
	<?php 
zp_apply_filter('theme_head');
コード例 #21
0
ファイル: image.php プロジェクト: hatone/zenphoto-1.4.1.4
echo gettext('Gallery Index');
?>
"><?php 
echo getGalleryTitle();
?>
</a> &raquo; <?php 
printParentBreadcrumb("", " &raquo; ", " &raquo; ");
?>
<a href="<?php 
echo html_encode(getAlbumLinkURL());
?>
" title="<?php 
gettext('Album Thumbnails');
?>
"><?php 
echo html_encode(getAlbumTitle());
?>
</a> &raquo; <?php 
printImageTitle(true);
?>
							</h2>
							<?php 
printCodeblock(1);
?>
							<div id="image_container">
							<?php 
$fullimage = getFullImageURL();
if (!empty($fullimage)) {
    ?>
								<a href="<?php 
    echo html_encode($fullimage);
コード例 #22
0
ファイル: gallery.php プロジェクト: rb26/zenphoto
?>
									<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>
コード例 #23
0
ファイル: pages.php プロジェクト: Imagenomad/Unsupported
<?php

require_once 'theme_functions.php';
TileSet::init(getAlbumTitle(), "pages");
include_once 'template.php';