本文整理汇总了PHP中getAlbumTitle函数的典型用法代码示例。如果您正苦于以下问题:PHP getAlbumTitle函数的具体用法?PHP getAlbumTitle怎么用?PHP getAlbumTitle使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getAlbumTitle函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: ji_show_thumb
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
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:47,代码来源:functions.php
示例2: m9GetRSS
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()) . '&albumname=' . urlencode($_zp_current_album->getFilename()) . '&lang=' . $lang;
case 'collection':
return 'http://' . $host . WEBPATH . '/rss.php?albumtitle=' . urlencode(getAlbumTitle()) . '&folder=' . urlencode($_zp_current_album->getFilename()) . '&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() . '&title=' . urlencode(getImageTitle()) . '&type=image&lang=' . $lang;
case 'comments-album':
return 'http://' . $host . WEBPATH . '/rss-comments.php?id=' . $_zp_current_album->getID() . '&title=' . urlencode(getAlbumTitle()) . '&type=album&lang=' . $lang;
case 'albums-rss':
return 'http://' . $host . WEBPATH . '/rss.php?lang=' . $lang . '&albumsmode';
}
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:22,代码来源:functions.php
示例3: while
<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>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php
示例4: imageNumber
// 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\">";
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:31,代码来源:album.php
示例5: printTrackbackRDF
/**
* 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, "");
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:35,代码来源:comment_trackback.php
示例6: getRSSHeaderLink
/**
* 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()) . "&albumname=" . urlencode($_zp_current_album->getFolder()) . "&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()) . "&folder=" . urlencode($_zp_current_album->getFolder()) . "&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() . "&title=" . urlencode(getImageTitle()) . "&type=image&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() . "&title=" . urlencode(getAlbumTitle()) . "&type=album&lang=" . $lang . "\" />\n";
}
}
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:38,代码来源:template-functions.php
示例7: getOption
<?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});"
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:index.php
示例8: gettext
$("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>
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:31,代码来源:image.php
示例9: printAlbumTitle
?>
"><?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; "> </p>
</div>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php
示例10: define
<?php
require_once 'theme_functions.php';
define("AREA", GALLERY);
TileSet::init(getGalleryTitle() . ' : ' . getAlbumTitle() . " slideshow", "slideshow");
include_once 'template.php';
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:6,代码来源:slideshow.php
示例11: printf
?>
" 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>
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:31,代码来源:search.php
示例12:
<?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';
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:12,代码来源:album.php
示例13: define
<?php
require_once 'theme_functions.php';
define("AREA", GALLERY);
TileSet::init(getGalleryTitle() . ' : ' . getAlbumTitle() . ' : ' . getImageTitle(), "album");
include_once 'template.php';
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:6,代码来源:image.php
示例14: getRSSHeaderLink
/**
* 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&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&albumtitle=" . urlencode(getAlbumTitle()) . "&albumname=" . urlencode($_zp_current_album->getFolder()) . "&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&albumtitle=" . urlencode(getAlbumTitle()) . "&folder=" . urlencode($_zp_current_album->getFolder()) . "&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&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&id=" . getImageID() . "&title=" . urlencode(getImageTitle()) . "&type=image&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&id=" . getAlbumID() . "&title=" . urlencode(getAlbumTitle()) . "&type=album&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&lang=" . $lang . "&albumsmode\" />\n";
}
}
}
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:58,代码来源:template-functions.php
示例15: googleCheckout
/**
* 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;" />
<span class="googlecart-add-button"></span>
</div>
<?php
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:50,代码来源:GoogleCheckout.php
示例16: printAlbumTitle
/**
* 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());
}
开发者ID:IliyanGochev,项目名称:zenphoto,代码行数:10,代码来源:template-functions.php
示例17: getRSSHeaderLink
/**
* @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&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&albumtitle=" . urlencode(getAlbumTitle()) . "&albumname=" . urlencode($_zp_current_album->getFileName()) . "&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&albumtitle=" . urlencode(getAlbumTitle()) . "&folder=" . urlencode($_zp_current_album->getFileName()) . "&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&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&id=" . getImageID() . "&title=" . urlencode(getImageTitle()) . "&type=image&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&id=" . getAlbumID() . "&title=" . urlencode(getAlbumTitle()) . "&type=album&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&lang=" . $lang . "&albumsmode\" />\n";
}
}
}
开发者ID:rb26,项目名称:zenphoto,代码行数:44,代码来源:deprecated-functions.php
示例18: html_encode
<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();
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:index.php
示例19: getCustomImageURL
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
开发者ID:kokyandrei,项目名称:Unsupported,代码行数:31,代码来源:album.php
示例20: printGalleryTitle
// 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');
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:30,代码来源:image.php
注:本文中的getAlbumTitle函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论