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

PHP getGalleryTitle函数代码示例

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

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



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

示例1: printThemeMenu

function printThemeMenu()
{
    echo '<ul class="menu main">';
    if (getMainSiteName() != '') {
        echo '<li><a href="' . getMainSiteURL() . '" title="' . getMainSiteName() . '">' . getMainSiteName() . '</a></li>';
    }
    echo '<li><a href="' . getGalleryIndexURL() . '" title="' . getGalleryTitle() . '">' . getGalleryTitle() . '</a></li>';
    if (function_exists('printNewsIndexURL')) {
        echo '<li><a href="' . getNewsIndexURL() . '" title="' . gettext('News') . '">' . gettext('News') . '</a></li>';
    }
    if (function_exists("printPageMenu")) {
        printPageMenu("list-top", "", "menu-active", "", "", '', 0, false, '');
    }
    echo '<li><a href="' . getCustomPageURL('archive') . '">' . gettext('Archives') . '</a></li>';
    echo '</ul>';
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:16,代码来源:functions.php


示例2: define

<?php

require_once 'theme_functions.php';
define('ERROR_MESSAGE', 'You\'re not allowed to access the requested page. This is not a temporary error. ' . 'If you ended up here through an internal link, please <a href="' . getCustomPageURL('contact') . '">report the problem</a>.');
TileSet::init(getGalleryTitle() . ' : ' . "Access forbidden", "error");
include_once 'template.php';
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:6,代码来源:403.php


示例3: printHomeLink

						<div class="right-corner">
							<div class="left-corner">
								<!-- begin content -->
								<div class="main section" id="main">
									<h2 id="gallerytitle">
										<?php 
printHomeLink('', ' » ');
?>
										<a href="<?php 
echo html_encode(getGalleryIndexURL());
?>
" title="<?php 
echo gettext('Gallery Index');
?>
"><?php 
echo html_encode(getGalleryTitle());
?>
</a> »
										<?php 
echo "<em>" . gettext('Page not found') . "</em>";
?>
									</h2>
									<h3><?php 
echo gettext('Page not found');
?>
</h3>
									<div class="errorbox">
										<?php 
print404status();
?>
									</div>
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:404.php


示例4: pathurlencode

" type="text/css" />
			<link rel="stylesheet" href="<?php 
    echo pathurlencode(dirname(dirname($zenCSS)));
    ?>
/common.css" type="text/css" />
		</head>
		<body>
			<?php 
    zp_apply_filter('theme_body_open');
    ?>
			<div id="main">
				<div id="gallerytitle">
					<h2>
						<?php 
    printHomeLink('', ' | ');
    printGalleryIndexURL(' | ', getGalleryTitle());
    ?>
						<em><?php 
    echo gettext('Contact us');
    ?>
</em>
					</h2>
				</div>
				<h3><?php 
    echo gettext('Contact us.');
    ?>
</h3>
				<?php 
    printContactForm();
    ?>
			</div>
开发者ID:jmruas,项目名称:zenphoto,代码行数:31,代码来源:contact.php


示例5: print404status

if ($_zp_script && file_exists($_zp_script)) {
    if (isset($custom) && $custom) {
        require_once $custom;
    }
    include $_zp_script;
} else {
    ?>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">
		<head>
		</head>
		<body>
			<?php 
    print404status(isset($album) ? $album : NULL, isset($image) ? $image : NULL, $obj);
    ?>
			<br />
			<a href="<?php 
    echo html_encode(getGalleryIndexURL());
    ?>
"
				 title="<?php 
    echo gettext('Index');
    ?>
"><?php 
    echo sprintf(gettext("Return to %s"), getGalleryTitle());
    ?>
</a>
		</body>
	</html>
	<?php 
}
开发者ID:rb26,项目名称:zenphoto,代码行数:31,代码来源:404.php


示例6: define

<?php

require_once 'theme_functions.php';
define('ERROR_MESSAGE', "Weirdly enough, an internal error just occured. It is most probably only temporary, but should it perdure, " . "feel free to <a href='" . getCustomPageURL('contact') . "' rel='contact'>report the problem</a>.");
TileSet::init(getGalleryTitle() . ' : ' . "Internal error", "error");
include_once 'template.php';
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:6,代码来源:500.php


示例7: html_encode

    ?>
				<a href="<?php 
    echo html_encode(getGalleryIndexURL());
    ?>
" title="<?php 
    echo gettext('Albums Index');
    ?>
"><?php 
    echo html_encode(getGalleryTitle());
    ?>
</a>
			<?php 
} else {
    ?>
				<?php 
    printCustomPageURL(getGalleryTitle(), 'gallery');
    ?>
			<?php 
}
?>
			&raquo;&nbsp;<?php 
echo gettext("Object not found");
?>
</h3>
	</div>

	<h4>
		<?php 
print404status();
?>
	</h4>
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:404.php


示例8: zp_apply_filter

	<?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">
				<?php 
echo getGalleryLogo();
?>
			</div>
			<div id="gallery_title">
				<?php 
echo getGalleryTitleHeader();
?>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:search.php


示例9: 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


示例10: define

<?php

require_once 'theme_functions.php';
define('ERROR_MESSAGE', 'The requested page cannot be found. This may be our fault - or not. The page might have have been deleted or moved. Either case, ' . 'if you ended up here through an internal link, please <a href="' . getCustomPageURL('contact') . '">report the problem</a>.');
TileSet::init(getGalleryTitle() . ' : ' . "Resource not found", "error");
include_once 'template.php';
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:6,代码来源:404.php


示例11: 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


示例12: printGalleryTitle

/**
 * Prints the title of the gallery.
 */
function printGalleryTitle()
{
    echo getGalleryTitle();
}
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:7,代码来源:template-functions.php


示例13: define

<?php

require_once 'theme_functions.php';
define("AREA", 'CONTACT');
TileSet::init(getGalleryTitle() . ' : Contact', "contact");
include_once 'template.php';
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:6,代码来源:contact.php


示例14: getPageTitle

<?php

require_once 'theme_functions.php';
TileSet::init(getGalleryTitle() . ' : ' . getPageTitle(), "page");
include_once 'template.php';
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:5,代码来源:pages.php


示例15: is_null

									<input name="p" value="search" type="hidden" />
									<input type="submit" id="search_submit" value="go" />
								</form>
							</span>
						</div>
					<?php 
}
?>
					<div class="clear"></div>
				</div>
				<div id="banner" class="opa60 shadow">
					<div class="right" id="gallery-title">
						<?php 
if (getOption('simplicity2_print_gallery_title')) {
    $star = is_null(getOption('simplicity2_gallery_subtitle')) ? "" : "<span id='header-star'>*</span>";
    $title = getGalleryTitle();
    if (getOption('simplicity2_print_home_menu_item')) {
        echo $title . $star;
    } else {
        echo "<a href='" . getGalleryIndexUrl() . "'>{$title}</a> " . $star;
    }
}
?>
					</div>
				</div>
				<div id="tabs" class="opa60">
					<?php 
include "tiles/menu.php";
?>
				</div>
			</div>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:template.php


示例16: html_encode

?>
<!DOCTYPE html>
	<head>
		<?php 
include_once 'header.php';
?>
		<meta name="keywords" content="<?php 
echo html_encode(getFormattedMainSiteName('', ', ') . getGalleryTitle());
?>
" />
		<meta name="description" content="<?php 
echo html_encode(getGalleryDesc());
?>
" />
		<title><?php 
echo strip_tags(getFormattedMainSiteName('', ' / ') . getGalleryTitle() . getParentBreadcrumbTLS(' / ') . ' / ' . html_encode(getBareAlbumTitle()));
?>
</title>
	</head>
	<body id="gallery-index">
	<?php 
zp_apply_filter('theme_body_open');
?>
		<div id="wrapper">
			<div id="header">
				<div id="logo">
					<?php 
echo getGalleryLogo();
?>
				</div>
				<div id="gallery_title">
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php


示例17: getOption

	<div class="text left">
		&nbsp;
	</div>
	<div class="clear"></div>
</div>

<div>
	<div id="page-body" class="home">
		<div id="site-description" class="opa30">
			<?php 
echo getOption('simplicity2_main_page_text');
?>
		</div>
		<div id="latest-stuff" class="opa60">
			<div id="latest-header" class="shadow"><?php 
echo gettext("Previously on") . " " . "<a style='cursor:default;'>" . getGalleryTitle() . "</a>...";
?>
</div>
			<div id="images" class="left">
				<?php 
$images = AlbumUtil::getLatestImages(getOption('simplicity2_home_images_number'));
foreach ($images as $img) {
    $thumb = $img->getCustomImage(NULL, 105, 105, 105, 105, NULL, NULL, false);
    $link = $img->getLink();
    echo "<div class='thumb'><a href='{$link}'><img src='{$thumb}' width='105' height='105'/></a></div>";
}
?>
			</div>
			
			<div id="latest-news" class="left">
			<?php 
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:content.php


示例18: printGalleryTitle

/**
 * Prints the title of the gallery.
 */
function printGalleryTitle()
{
    echo html_encodeTagged(getGalleryTitle());
}
开发者ID:IliyanGochev,项目名称:zenphoto,代码行数:7,代码来源:template-functions.php


示例19: html_encode

<!DOCTYPE html>
	<head>
		<?php 
include_once 'header.php';
?>
		<meta name="keywords" content="<?php 
echo html_encode(getFormattedMainSiteName('', ', ') . getGalleryTitle());
?>
" />
		<meta name="description" content="<?php 
echo html_encode(getGalleryDesc());
?>
" />
		<title>
			<?php 
echo strip_tags(getFormattedMainSiteName('', ' / ') . getGalleryTitle() . ' / ' . gettext('News'));
if (is_NewsArticle()) {
    echo strip_tags(' / ' . getNewsTitle());
}
?>
		</title>
	</head>
	<body id="gallery-index">
	<?php 
zp_apply_filter('theme_body_open');
?>
		<div id="wrapper">
			<div id="header">
				<div id="logo">
					<?php 
echo getGalleryLogo();
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:news.php


示例20:

<?php

require_once 'theme_functions.php';
TileSet::init(getGalleryTitle() . ' : ' . "Protected page", "password");
include_once 'template.php';
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:5,代码来源:password.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP getGatewayVariables函数代码示例发布时间:2022-05-15
下一篇:
PHP getGalleryIndexURL函数代码示例发布时间: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