本文整理汇总了PHP中getBareImageTitle函数的典型用法代码示例。如果您正苦于以下问题:PHP getBareImageTitle函数的具体用法?PHP getBareImageTitle怎么用?PHP getBareImageTitle使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getBareImageTitle函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: theme_content
function theme_content($map)
{
global $_zp_current_image, $points;
?>
<!-- Colorbox section -->
<div id="images">
<?php
$points = array();
while (next_image()) {
if ($map) {
$coord = getGeoCoord($_zp_current_image);
if ($coord) {
$points[] = $coord;
}
}
?>
<div class="image">
<div class="imagethumb">
<?php
if (isImagePhoto()) {
// colorbox is only for real images
$link = html_encode(getDefaultSizedImage()) . '" class="thickbox"';
} else {
$link = html_encode(getImageURL()) . '"';
}
?>
<a href="<?php
echo $link;
?>
" title="<?php
echo getBareImageTitle();
?>
">
<?php
printImageThumb(getImageTitle());
?>
</a></div>
</div>
<?php
}
?>
</div>
<br class="clearall" />
<?php
@call_user_func('printSlideShowLink');
}
示例2: theme_content
function theme_content($map)
{
global $_zp_current_image, $points;
?>
<!-- Image page section -->
<div id="images">
<?php
$points = array();
while (next_image()) {
if ($map) {
$coord = getGeoCoord($_zp_current_image);
if ($coord) {
$points[] = $coord;
}
}
?>
<div class="image">
<div class="imagethumb"><a href="<?php
echo html_encode(getImageURL());
?>
" title="<?php
echo html_encode(getBareImageTitle());
?>
"><?php
printImageThumb(getImageTitle());
?>
</a></div>
</div>
<?php
}
?>
</div>
<br class="clearall" />
<?php
@call_user_func('printSlideShowLink');
}
示例3: getAnnotatedImageTitle
/**
* Returns the image title taged with not visible annotation.
*
* @return string
*/
function getAnnotatedImageTitle()
{
global $_zp_current_image;
$title = getBareImageTitle();
if (!$_zp_current_image->getShow()) {
$title .= "\n" . gettext('The image is marked un-published.');
}
return $title;
}
示例4: html_encode
<div class="<?php
echo $colclass;
?>
columns image imagegrid">
<a href="<?php
echo html_encode(getImageURL());
?>
" title="<?php
echo html_encode(getBareImageTitle());
?>
">
<?php
if ($thumbcrop) {
printCustomSizedImage(getBareImageTitle(), null, $imagesize, $imagesize, $imagesize, $imagesize, null, null, 'remove-attributes', null, true);
} else {
printCustomSizedImage(getBareImageTitle(), $imagesize, null, null, null, null, null, null, 'remove-attributes', null, true);
}
?>
</a>
</div>
<?php
$c++;
$mobilebreak = $c % 2;
if ($c == $breakcount) {
echo '<br class="clear clearforboth" />';
$c = 0;
} else {
if ($mobilebreak == 0) {
echo '<br class="clear clearformobile" />';
}
}
示例5: html_encode
echo html_encode(getBareImageTitle());
?>
"><?php
printCustomSizedImage(getAnnotatedImageTitle(), 550);
?>
</a><?php
}
?>
<?php
if ($zpmin_finallink == 'standard-new') {
?>
<a target="_blank" href="<?php
echo html_encode(getFullImageURL());
?>
" title="<?php
echo html_encode(getBareImageTitle());
?>
"><?php
printCustomSizedImage(getAnnotatedImageTitle(), 550);
?>
</a><?php
}
?>
</div>
</div>
<?php
if (function_exists('printAddToFavorites')) {
echo '<div class="section">';
printAddToFavorites($_zp_current_album);
echo '</div>';
}
示例6: getFullImageURL
echo '</div></div>';
}
?>
</div>
<div class="clear_left"></div>
<div id="image">
<div>
<?php
$fullimage = getFullImageURL();
if (!empty($fullimage)) {
?>
<a href="<?php
echo htmlspecialchars($fullimage);
?>
" title="<?php
echo getBareImageTitle();
?>
">
<?php
}
printDefaultSizedImage(html_encode(getImageTitle()), 'image', 'player');
if (!empty($fullimage)) {
?>
</a>
<?php
}
?>
</div>
</div>
<div id="data">
<?php
示例7: printBareImageTitle
function printBareImageTitle()
{
echo html_encode(getBareImageTitle());
}
示例8: html_encode
<a title="<?php
echo html_encode(getBareImageDesc());
?>
" href="<?php
echo htmlspecialchars(getImageURL());
?>
">
<img src="<?php
echo getCustomImageURL(250, NULL, NULL, 250, 150, NULL, NULL, true);
?>
" alt="<?php
echo html_encode(getBareImageTitle() . ' (' . getImageDate(getOption('date_format')) . ')');
?>
" />
<span><?php
echo getBareImageTitle() . '<br />(' . getImageDate(getOption('date_format')) . ')';
?>
</span>
</a>
</li>
<?php
}
if ($c == 0) {
echo "<p>" . gettext("Sorry, no image matches. Try refining your search.") . "</p>";
}
?>
</div>
</ul>
</div>
</div>
<div class="clear_left"></div>
示例9: html_encode
}
if (hasNextImage()) {
?>
<a class="next-link" href="<?php
echo html_encode(getNextImageURL());
?>
" title="<?php
echo gettext("Next Image");
?>
"><span></span></a>
<?php
}
?>
</div>
<?php
printDefaultSizedImage(getBareImageTitle(), 'remove-attributes');
?>
<?php
if (getOption('zpbase_verticalscale')) {
?>
<script>
function resizeFullImageDiv() {
vpw = $(window).width();
vph = $(window).height()*(.60);
if (vph > <?php
echo getOption('image_size');
?>
) { vph = <?php
echo getOption('image_size');
?>
; }
示例10: while
?>
</ul>
<ul class="list-inline">
<?php
while (next_image()) {
?>
<li>
<a href="<?php
echo html_encode(getImageURL());
?>
" title="<?php
printBareImageTitle();
?>
"><?php
printImageThumb(getBareImageTitle(), "img-thumbnail");
?>
</a>
</li>
<?php
}
?>
</ul>
<?php
printPageListWithNav("« " . gettext("prev"), gettext("next") . " »", FALSE, TRUE, "pager", TRUE, 9);
printTags('links', gettext('<strong>Tags:</strong>') . ' ', 'taglist', ', ');
?>
<br />
<?php
if (function_exists('printGoogleMap')) {
示例11: gettext
$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':
$objectclass = 'search-results';
break;
case 'pages.php':
$zpbase_metadesc = strip_tags(truncate_string(getPageContent(), 150, '...'));
$objectclass = str_replace(" ", "", getBarePageTitle()) . '-' . $_zp_current_zenpage_page->getID();
$rss_option = 'Pages';
$rss_title = gettext('RSS Pages');
示例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')) {
//.........这里部分代码省略.........
示例13: html_encode
?>
<?php
} else {
?>
<a class="image-thumb" href="<?php
echo html_encode(getImageURL());
?>
" title="<?php
printBareImageTitle();
?>
">
<?php
if (getOption('thumb_crop')) {
printCustomSizedImage(getAnnotatedImageTitle(), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), null, null, 'remove-attributes', null, true);
} else {
printImageThumb(getBareImageTitle(), 'remove-attributes');
}
?>
</a>
<?php
}
?>
</div>
<?php
}
?>
</div>
<div id="page-nav" class="clearfix">
<div class="jump"><?php
printBaseAlbumMenuJump('count', gettext('Gallery Index'));
示例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') {
echo " | " . gettext('404 Not Found...');
示例15: getBareImageTitle
<div class="gallery-fullimage">
<?php
if (isImagePhoto()) {
?>
<a class="swipebox" title="<?php
echo getBareImageTitle();
?>
" href="<?php
echo html_encode(getDefaultSizedImage());
?>
">
<?php
}
?>
<?php
printDefaultSizedImage(getBareImageTitle(), 'scale');
?>
<?php
if (isImagePhoto()) {
?>
</a>
<?php
}
?>
<?php
if (getImageData('copyright')) {
?>
<p class="image-copy"><i class="fa fa-copyright"></i> <?php
echo getImageData('copyright');
?>
</p><?php