当前位置: 首页>>代码示例>>PHP>>正文


PHP getGalleryTitle函数代码示例

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


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


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