• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP getBareAlbumTitle函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中getBareAlbumTitle函数的典型用法代码示例。如果您正苦于以下问题:PHP getBareAlbumTitle函数的具体用法?PHP getBareAlbumTitle怎么用?PHP getBareAlbumTitle使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了getBareAlbumTitle函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: getAnnotatedAlbumTitle

/**
 * Returns an album title taged with of Not visible or password protected status
 *
 * @return string;
 */
function getAnnotatedAlbumTitle()
{
    global $_zp_current_album;
    $title = getBareAlbumTitle();
    $pwd = $_zp_current_album->getPassword();
    if (zp_loggedin() && !empty($pwd)) {
        $title .= "\n" . gettext('The album is password protected.');
    }
    if (!$_zp_current_album->getShow()) {
        $title .= "\n" . gettext('The album is un-published.');
    }
    return $title;
}
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:18,代码来源:template-functions.php


示例2: printf

    ?>
" 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>
													</h3>
													<br />
													<small><?php 
    printAlbumDate();
    ?>
</small>
												</div>
												<p style="clear: both;"></p>
											</div>
开发者ID:rb26,项目名称:zenphoto,代码行数:31,代码来源:gallery.php


示例3: html_encode

					<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 = '';
        }
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:search.php


示例4: html_encode

							<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()) {
    ?>
						<div class="thumb-maxspace">
							<a class="thumb-link" href="<?php 
    echo html_encode(getImageURL());
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php


示例5: getGalleryTitleHeader

?>
			</div>
			<div id="gallery_title">
<?php 
echo getGalleryTitleHeader();
?>
			</div>
		</div>
		<div id="breadcrumb">
			<ul>
				<?php 
getFormattedMainSiteName('<li class="page">', '</li><li class="chevron"> > </li>');
echo '<li><a href="' . getGalleryIndexURL() . '">' . getBareGalleryTitle() . '</a></li>';
getParentBreadcrumbTLB('<li class="chevron"><a> &gt; </a></li>');
echo '<li class="chevron"><a> &gt; </a></li>';
echo '<li><a href="' . getAlbumURL() . '">' . getBareAlbumTitle() . '</a></li>';
echo '<li class="chevron"><a> &gt; </a></li>';
echo '<li><a>' . getBareImageTitle() . '</a></li>';
?>
			</ul>
		</div>
		<div id="menu">
<?php 
printThemeMenu();
?>
		</div>
		<div id="content" class="c">
			<div id="description">
				<div class="c">
					<div id="title" class="box"><h3><?php 
printImageTitle(true);
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:image.php


示例6: getSearchWords

    } else {
        $searchwords = getSearchWords();
    }
}
$c = 0;
?>
<!DOCTYPE html>
<head>
	<?php 
include_once 'header.php';
?>
	<?php 
zp_apply_filter('theme_body_open');
?>
	<meta name="keywords" content="<?php 
echo html_encode(getFormattedMainSiteName('', ', ') . getGalleryTitle() . ', ' . getBareAlbumTitle() . ', ' . implode(',', getTags()));
?>
" />
	<meta name="description" content="<?php 
echo html_encode(getAlbumDesc());
?>
" />
	<title><?php 
echo strip_tags(getFormattedMainSiteName('', ' / ') . getGalleryTitle() . ' / ' . gettext('Search') . ' / ' . $searchwords);
?>
</title>
</head>
<body id="gallery-index">
	<div id="wrapper">
		<div id="header">
			<div id="logo">
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:search.php


示例7: printBareAlbumTitle

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


示例8: printBareAlbumTitle

function printBareAlbumTitle($length = 35)
{
    echo html_encode(truncate_string(getBareAlbumTitle(), $length));
}
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:4,代码来源:template-functions.php


示例9: while

				<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>
开发者ID:bgenere,项目名称:negpos,代码行数:31,代码来源:album.php


示例10: html_encode

    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>
					<?php 
}
?>
				</ul>
				<script type="text/javascript">
					$('.thumbnail').tooltip({
						placement: 'bottom'
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:inc_print_album_thumb.php


示例11: gettext

         $galleryactive = true;
     }
     $objectclass = 'gallery-index';
     $rss_option = 'Gallery';
     $rss_title = gettext('RSS Gallery Images');
     break;
 case 'gallery.php':
     $galleryactive = true;
     $objectclass = 'gallery-sep-index';
     $rss_option = 'Gallery';
     $rss_title = gettext('RSS Gallery Images');
     break;
 case 'album.php':
     $zpbase_metadesc = truncate_string(getBareAlbumDesc(), 150, '...');
     $galleryactive = true;
     $objectclass = str_replace(" ", "", getBareAlbumTitle()) . '-' . $_zp_current_album->getID();
     $rss_option = 'Collection';
     $rss_title = gettext('RSS Album Images');
     break;
 case 'image.php':
     $zpbase_metadesc = truncate_string(getBareImageDesc(), 150, '...');
     $galleryactive = true;
     $objectclass = str_replace(" ", "", getBareImageTitle()) . '-' . $_zp_current_image->getID();
     break;
 case 'archive.php':
     $zpbase_metadesc = gettext('Archive View') . '... ' . truncate_string(getBareGalleryDesc(), 130, '...');
     $objectclass = 'archive-page';
     $rss_option = 'Gallery';
     $rss_title = gettext('RSS Gallery Images');
     break;
 case 'search.php':
开发者ID:eyalfyber,项目名称:zpbase,代码行数:31,代码来源:header.php


示例12: getHTMLMetaData

/**
 * Prints html meta data to be used in the <head> section of a page
 *
 */
function getHTMLMetaData()
{
    global $_zp_gallery, $_zp_current_album, $_zp_current_image, $_zp_current_zenpage_news, $_zp_current_zenpage_page, $_zp_gallery_page, $_zp_current_category, $_zp_authority;
    $url = sanitize("http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
    // Convert locale shorttag to allowed html meta format
    $locale = getOption("locale");
    $locale = strtr($locale, "_", "-");
    // generate page title, get date
    $pagetitle = "";
    $date = strftime(DATE_FORMAT);
    // if we don't have a item date use current date
    $desc = getBareGalleryDesc();
    if (is_object($_zp_current_image) and is_object($_zp_current_album)) {
        $pagetitle = getBareImageTitle() . " (" . getBareAlbumTitle() . ") - ";
        $date = getImageDate();
        $desc = getBareImageDesc();
    }
    if (is_object($_zp_current_album) and !is_object($_zp_current_image)) {
        $pagetitle = getBareAlbumTitle() . " - ";
        $date = getAlbumDate();
        $desc = getBareAlbumDesc();
    }
    if (function_exists("is_NewsArticle")) {
        if (is_NewsArticle()) {
            $pagetitle = getBareNewsTitle() . " - ";
            $date = getNewsDate();
            $desc = strip_tags(getNewsContent());
        } else {
            if (is_NewsCategory()) {
                $pagetitle = $_zp_current_category->getTitlelink() . " - ";
                $date = strftime(DATE_FORMAT);
                $desc = "";
            } else {
                if (is_Pages()) {
                    $pagetitle = getBarePageTitle() . " - ";
                    $date = getPageDate();
                    $desc = strip_tags(getPageContent());
                }
            }
        }
    }
    // shorten desc to the allowed 200 characters if necesssary.
    if (strlen($desc) > 200) {
        $desc = substr($desc, 0, 200);
    }
    $pagetitle = $pagetitle . getBareGalleryTitle();
    // get master admin
    $admin = $_zp_authority->getAnAdmin(array('`user`=' => $_zp_authority->master_user, '`valid`=' => 1));
    $author = $admin->getName();
    $meta = '';
    if (getOption('htmlmeta_http-equiv-language')) {
        $meta .= '<meta http-equiv="language" content="' . $locale . '" />' . "\n";
    }
    if (getOption('htmlmeta_name-language')) {
        $meta .= '<meta name="language" content="' . $locale . '" />' . "\n";
    }
    if (getOption('htmlmeta_name-content-language')) {
        $meta .= '<meta name="content-language" content="' . $locale . '" />' . "\n";
    }
    if (getOption('htmlmeta_http-equiv-imagetoolbar')) {
        $meta .= '<meta http-equiv="imagetoolbar" content="false" />' . "\n";
    }
    if (getOption('htmlmeta_http-equiv-cache-control')) {
        $meta .= '<meta http-equiv="cache-control" content="' . getOption("htmlmeta_cache_control") . '" />' . "\n";
    }
    if (getOption('htmlmeta_http-equiv-pragma')) {
        $meta .= '<meta http-equiv="pragma" content="' . getOption("htmlmeta_pragma") . '" />' . "\n";
    }
    if (getOption('htmlmeta_http-equiv-content-style-type')) {
        $meta .= '<meta http-equiv="Content-Style-Type" content="text/css" />' . "\n";
    }
    if (getOption('htmlmeta_name-title')) {
        $meta .= '<meta name="title" content="' . $pagetitle . '" />' . "\n";
    }
    if (getOption('htmlmeta_name-keywords')) {
        $meta .= '<meta name="keywords" content="' . getMetaKeywords() . '" />' . "\n";
    }
    if (getOption('htmlmeta_name-description')) {
        $meta .= '<meta name="description" content="' . $desc . '" />' . "\n";
    }
    if (getOption('htmlmeta_name-page-topic')) {
        $meta .= '<meta name="page-topic" content="' . $desc . '" />' . "\n";
    }
    if (getOption('htmlmeta_name-robots')) {
        $meta .= '<meta name="robots" content="' . getOption("htmlmeta_robots") . '" />' . "\n";
    }
    if (getOption('htmlmeta_name-publisher')) {
        $meta .= '<meta name="publisher" content="' . FULLWEBPATH . '" />' . "\n";
    }
    if (getOption('htmlmeta_name-creator')) {
        $meta .= '<meta name="creator" content="' . FULLWEBPATH . '" />' . "\n";
    }
    if (getOption('htmlmeta_name-author')) {
        $meta .= '<meta name="author" content="' . $author . '" />' . "\n";
    }
    if (getOption('htmlmeta_name-copyright')) {
//.........这里部分代码省略.........
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:101,代码来源:html_meta_tags.php


示例13: getGalleryTitleHeader

?>
			</div>
			<div id="gallery_title">
				<?php 
echo getGalleryTitleHeader();
?>
			</div>
		</div>
		<div id="breadcrumb">
			<ul>
				<?php 
getFormattedMainSiteName('<li class="page">', '</li><li class="chevron"> > </li>');
echo '<li><a href="' . getGalleryIndexURL() . '">' . getBareGalleryTitle() . '</a></li>';
getParentBreadcrumbTLB('<li class="chevron"><a> &gt; </a></li>');
echo '<li class="chevron"><a> &gt; </a></li>';
echo '<li><a>' . getBareAlbumTitle() . '</a></li>';
?>
			</ul>
		</div>
		<div id="menu">
			<?php 
printThemeMenu();
?>
		</div>
		<div id="content" class="c">
			<div id="description">
				<div class="c">
					<div id="title" class="box"><h3><?php 
printAlbumTitle(true);
?>
</h3></div>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php


示例14: getBareGalleryTitle

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	
	<title>
	<?php 
echo getBareGalleryTitle();
if ($_zp_gallery_page == 'index.php' || $_zp_gallery_page == 'gallery.php') {
    echo " | " . $zpgal_tagline;
}
if ($_zp_gallery_page == 'album.php') {
    echo " | " . getBareAlbumTitle();
}
if ($_zp_gallery_page == 'image.php') {
    echo " | " . getBareAlbumTitle();
    echo " | " . getBareImageTitle();
}
if ($_zp_gallery_page == 'contact.php') {
    echo " | " . gettext('Contact');
}
if ($_zp_gallery_page == 'pages.php') {
    echo " | " . getBarePageTitle();
}
if ($_zp_gallery_page == 'archive.php') {
    echo " | " . gettext('Archive View');
}
if ($_zp_gallery_page == 'password.php') {
    echo " | " . gettext('Password Required...');
}
if ($_zp_gallery_page == '404.php') {
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:30,代码来源:header.php


示例15: html_encode

					<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 html_encodeTagged(shortenContent(getBareAlbumTitle(), 25, '...'));
    ?>
</span>
					</a>
				</div>
			<?php 
}
?>
		</div>
		<div id="thumbs-wrap">
			<?php 
while (next_image()) {
    ?>
				<div class="thumb-maxspace">
					<a class="thumb-link" href="<?php 
    echo html_encode(getImageURL());
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:album.php


示例16: getHTMLMetaData

 /**
  * Prints html meta data to be used in the <head> section of a page
  *
  */
 static function getHTMLMetaData()
 {
     global $_zp_gallery, $_zp_page, $_zp_current_album, $_zp_current_image, $_zp_current_search, $_zp_current_article, $_zp_current_page, $_zp_gallery_page, $_zp_current_category, $_zp_authority, $_zp_conf_vars, $_myFavorites;
     $host = sanitize("http://" . $_SERVER['HTTP_HOST']);
     $url = $host . getRequestURI();
     // Convert locale shorttag to allowed html meta format
     $locale_ = getUserLocale();
     $locale = zpFunctions::getLanguageText($locale_, '-');
     $canonicalurl = '';
     // generate page title, get date
     $pagetitle = "";
     // for gallery index setup below switch
     $date = strftime(DATE_FORMAT);
     // if we don't have a item date use current date
     $desc = getBareGalleryDesc();
     $thumb = '';
     if (getOption('htmlmeta_sitelogo')) {
         $thumb = getOption('htmlmeta_sitelogo');
     }
     if (getOption('htmlmeta_og-image') || getOption('htmlmeta_twittercard')) {
         $ogimage_width = getOption('htmlmeta_ogimage_width');
         $ogimage_height = getOption('htmlmeta_ogimage_height');
         if (empty($ogimage_width)) {
             $ogimage_width = 1280;
         }
         if (empty($ogimage_height)) {
             $ogimage_height = 900;
         }
         $twittercard_type = 'summary';
     }
     $type = 'article';
     switch ($_zp_gallery_page) {
         case 'index.php':
             $desc = getBareGalleryDesc();
             $canonicalurl = $host . $_zp_gallery->getLink($_zp_page);
             $type = 'website';
             break;
         case 'album.php':
         case 'favorites.php':
             $pagetitle = getBareAlbumTitle() . " - ";
             $date = getAlbumDate();
             $desc = getBareAlbumDesc();
             $canonicalurl = $host . $_zp_current_album->getLink($_zp_page);
             if (getOption('htmlmeta_og-image') || getOption('htmlmeta_twittercard')) {
                 $thumbimg = $_zp_current_album->getAlbumThumbImage();
                 getMaxSpaceContainer($ogimage_width, $ogimage_height, $thumbimg, false);
                 $thumb = $host . html_encode(pathurlencode($thumbimg->getCustomImage(NULL, $ogimage_width, $ogimage_height, NULL, NULL, NULL, NULL, false, NULL)));
                 $twittercard_type = 'summary_large_image';
             }
             break;
         case 'image.php':
             $pagetitle = getBareImageTitle() . " (" . getBareAlbumTitle() . ") - ";
             $date = getImageDate();
             $desc = getBareImageDesc();
             $canonicalurl = $host . $_zp_current_image->getLink();
             if (getOption('htmlmeta_og-image') || getOption('htmlmeta_twittercard')) {
                 $thumb = $host . html_encode(pathurlencode(getCustomSizedImageMaxSpace($ogimage_width, $ogimage_height)));
                 $twittercard_type = 'summary_large_image';
             }
             break;
         case 'news.php':
             if (function_exists("is_NewsArticle")) {
                 if (is_NewsArticle()) {
                     $pagetitle = getBareNewsTitle() . " - ";
                     $date = getNewsDate();
                     $desc = trim(getBare(getNewsContent()));
                     $canonicalurl = $host . $_zp_current_article->getLink();
                 } else {
                     if (is_NewsCategory()) {
                         $pagetitle = $_zp_current_category->getTitlelink() . " - ";
                         $date = strftime(DATE_FORMAT);
                         $desc = trim(getBare($_zp_current_category->getDesc()));
                         $canonicalurl = $host . $_zp_current_category->getLink($_zp_page);
                         $type = 'category';
                     } else {
                         $pagetitle = gettext('News') . " - ";
                         $desc = '';
                         $canonicalurl = $host . getNewsPathNav($_zp_page);
                         $type = 'website';
                     }
                 }
             }
             break;
         case 'pages.php':
             $pagetitle = getBarePageTitle() . " - ";
             $date = getPageDate();
             $desc = trim(getBare(getPageContent()));
             $canonicalurl = $host . $_zp_current_page->getLink();
             break;
         default:
             // for all other possible static custom pages
             $custompage = stripSuffix($_zp_gallery_page);
             $standard = array('contact' => gettext('Contact'), 'register' => gettext('Register'), 'search' => gettext('Search'), 'archive' => gettext('Archive view'), 'password' => gettext('Password required'));
             if (is_object($_myFavorites)) {
                 $standard['favorites'] = gettext('My favorites');
             }
//.........这里部分代码省略.........
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:101,代码来源:html_meta_tags.php


示例17: printSearchForm

printSearchForm();
?>
			</div>
			<div id="menu">
				<?php 
printThemeMenu();
?>
			</div>
			<div id="breadcrumb">
				<ul>
				<?php 
getFormattedMainSiteName('<li class="page">', '</li><li class="chevron"> > </li>');
echo '<li><a href="' . getGalleryIndexURL() . '" class="activ">' . getBareGalleryTitle() . '</a></li>';
getParentBreadcrumbTLS('<li class="chevron"><a> &gt; </a></li>');
echo '<li class="chevron"><a> &gt; </a></li>';
echo '<li><a>' . html_encode(getBareAlbumTitle()) . '</a></li>';
?>
				</ul>
			</div>
			<div id="content">
				<div class="description">
					<div class="title">
						<h3><?php 
echo html_encode(getAlbumTitle());
?>
</h3>
						<?php 
if (function_exists('zenFBLike')) {
    zenFBLike();
}
?>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php


示例18: while

				<script>
					var data = [
						<?php 
    $c = 0;
    if (isAlbumPage()) {
        while (next_album(true)) {
            if ($c == 0) {
                echo '{' . "\n";
            } else {
                echo ',{' . "\n";
            }
            echo 'thumb: \'' . getAlbumThumb() . '\',' . "\n";
            echo 'image: \'' . getCustomAlbumThumb(getOption('image_size')) . '\',' . "\n";
            echo 'big: \'' . getCustomAlbumThumb(getOption('zpbase_galbigsize')) . '\',' . "\n";
            echo 'title: \'' . html_encode(getBareAlbumTitle()) . '\',' . "\n";
            if (getNumAlbums() > 0 && getNumImages() > 0) {
                $divider = '/ ';
            } else {
                $divider = '';
            }
            if (getNumAlbums() > 0) {
                $albumcount = getNumAlbums() . ' ' . gettext('albums');
            } else {
                $albumcount = '';
            }
            if (getNumImages() > 0) {
                $imagecount = getNumImages() . ' ' . gettext('images');
            } else {
                $imagecount = '';
            }
开发者ID:BimbaLaszlo,项目名称:zpbase,代码行数:30,代码来源:album-galleria.php


示例19: gettext

     } else {
         if ($_zp_current_category) {
             $zpmin_metatitle = gettext('News') . ' | ' . $_zp_current_category->getTitle() . ' | ';
             $zpmin_metadesc = strip_tags(truncate_string(getNewsCategoryDesc(), 150, '...'));
         } else {
             if (getCurrentNewsArchive()) {
                 $zpmin_metatitle = gettext('News') . ' | ' . getCurrentNewsArchive() . ' | ';
             } else {
                 $zpmin_metatitle = gettext('News') . ' | ';
             }
         }
     }
     $cbscript = true;
     break;
 case 'slideshow.php':
     $zpmin_metatitle = getBareAlbumTitle() . ' | ' . gettext('Slideshow') . ' | ';
     if (!function_exists('printGslideshow')) {
         printSlideShowJS();
         echo '<link rel="stylesheet" href="' . $_zp_themeroot . '/css/slideshow.css" type="text/css" />';
     }
     $showsearch = false;
     $zpmin_social = false;
     break;
 case 'contact.php':
     $zpmin_metatitle = gettext('Contact') . ' | ';
     $zpmin_social = false;
     break;
 case 'login.php':
     $zpmin_metatitle = gettext('Login') . ' | ';
     $zpmin_social = false;
     break;
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:inc-header.php


示例20: printf

    ?>
" title="<?php 
    printf(gettext('View album:  %s'), html_encode(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'), html_encode(getBareAlbumTitle()));
    ?>
">
															<?php 
    printAlbumTitle();
    ?>
														</a>
													</h3>
													<br />
													<small><?php 
    printAlbumDate();
    ?>
</small>
												</div>
												<p style="clear: both;"></p>
											</div>
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:search.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP getBareGalleryTitle函数代码示例发布时间:2022-05-15
下一篇:
PHP getBare函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap