本文整理汇总了PHP中printUserLogin_out函数的典型用法代码示例。如果您正苦于以下问题:PHP printUserLogin_out函数的具体用法?PHP printUserLogin_out怎么用?PHP printUserLogin_out使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了printUserLogin_out函数的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: printThemeFooter
function printThemeFooter()
{
echo '<ul class="menu footer">';
if (function_exists('printRegistrationForm') or function_exists('printUserLogin_out')) {
if (zp_loggedin() and function_exists('printUserLogin_out')) {
echo '<li>';
printUserLogin_out();
echo '</li>';
} else {
echo '<li><a href="' . getCustomPageURL('login') . '">';
if (function_exists('printRegistrationForm')) {
echo gettext('Register');
}
if (function_exists('printRegistrationForm') and function_exists('printUserLogin_out')) {
echo ' / ';
}
if (function_exists('printUserLogin_out')) {
echo gettext('Login');
}
echo '</a></li>';
}
}
if (function_exists('printContactForm')) {
echo '<li><a href="' . getCustomPageURL('contact') . '">' . gettext('Contact') . '</a></li>';
}
echo '</ul>';
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:27,代码来源:functions.php
示例2: printLoginZone
/**
* Prints out the links for login/out, register formular if asked
*/
function printLoginZone()
{
if (!zp_loggedin() && (function_exists('printUserLogin_out') || function_exists('printUserLogin_out') || function_exists('printRegistrationForm'))) {
$multi = 0;
echo '<div id="loginout" class=" push_5 grid_10">';
if (zp_loggedin() && function_exists('printUserLogin_out')) {
printUserLogin_out('', '', false);
$multi++;
}
if (!zp_loggedin() && function_exists('printUserLogin_out')) {
if ($multi) {
echo ' - ';
}
printCustomPageURL(gettext('Login'), 'login', '', '');
$multi++;
}
if (!zp_loggedin() && function_exists('printRegistrationForm')) {
if ($multi) {
echo ' - ';
}
printCustomPageURL(gettext('Register for this site'), 'register', '', '');
}
echo '</div>';
}
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:28,代码来源:functions.php
示例3: zp_footer
function zp_footer()
{
?>
<div id="credit"><?php
if (zp_loggedin()) {
printUserLogin_out($before = '', $after = '| ', $showLoginForm = NULL, $logouttext = NULL, $show_user = NULL);
} else {
printLinkHTML(WEBPATH . '/' . ZENFOLDER . '/admin.php', 'Admin | ');
}
printZenphotoLink();
?>
<?php
printVersion();
?>
</a> | Using "Side Of Chili Theme" by: <a href="http://www.chilifrei.net" title="How Do You Like Your Chili?">ChiliFrei64</a></div>
<?php
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:17,代码来源:functions.php
示例4: printThemeMenu
function printThemeMenu()
{
echo '<ul id="main">';
if (getMainSiteName() != '') {
echo '<li class="title">' . gettext('Main site') . '</li>';
echo '<ul>';
echo '<li><a href="' . getMainSiteURL() . '" title="' . getMainSiteName() . '">' . getMainSiteName() . '</a></li>';
echo '</ul>';
}
if (function_exists('printAlbumMenu')) {
echo '<li class="title">' . gettext('Gallery') . '</li>';
$temp = getGalleryTitle();
printAlbumMenu('list', false, '', 'menu-active', 'submenu', 'menu-active', $temp, true);
} else {
echo '<li class="title">' . gettext('Gallery') . '</li>';
echo '<ul>';
echo '<li><a href="' . getGalleryIndexURL() . '" title="' . getGalleryTitle() . '">' . getGalleryTitle() . '</a></li>';
echo '</ul>';
}
if (function_exists('printNewsIndexURL')) {
echo '<li class="title">' . gettext('News blog') . '</li>';
printAllNewsCategories("All news", FALSE, "", "menu-active");
}
if (function_exists("printPageMenu")) {
echo '<li class="title">' . gettext('Pages') . '</li>';
printPageMenu("list", "", "menu-active", "submenu", "menu-active");
}
echo '<li class="title">' . gettext('Stay informed') . '</li>';
echo '<ul>';
echo '<li><a href="' . getCustomPageURL('archive') . '">' . gettext('Archives') . '</a></li>';
echo '</ul>';
echo '</ul>';
echo '<div id="login">';
echo '<div class="title">' . gettext('Connection') . '</div>';
if (function_exists('printUserLogin_out') and !zp_loggedin()) {
printUserLogin_out();
}
echo '</div>';
if (function_exists("printLanguageSelector")) {
echo '<div id="languages">';
echo '<div class="title">' . gettext('Languages') . '</div>';
printLanguageSelector();
echo '<div class="clear_left"></div>';
echo '</div>';
}
}
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:46,代码来源:functions.php
示例5: getAlbumTitle
<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();
}
if (!zp_loggedin() && function_exists('printRegistrationForm')) {
printCustomPageURL(gettext('Register for this site'), 'register');
}
?>
</div>
<?php
if (zp_loggedin()) {
echo '<div class="tagcloud">';
echo '<p>' . gettext('Popular Tags') . '</p>';
printAllTagsAs('cloud', 'tags');
echo '</div>';
}
?>
</div>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:index.php
示例6: printCustomPageURL
<li>
<?php
if ($_zp_gallery_page != 'register.php') {
printCustomPageURL(gettext('Register for this site'), 'register', '', '');
} else {
echo gettext("Register for this site");
}
?>
</li>
<?php
}
if (function_exists("printUserLogin_out")) {
?>
<li>
<?php
printUserLogin_out("", "", 2);
?>
</li>
<?php
}
?>
</ul>
</div>
<?php
}
?>
<!--<?php
if (function_exists('printLanguageSelector')) {
printLanguageSelector("langselector");
}
?>
开发者ID:nataliakuruch,项目名称:negpos,代码行数:31,代码来源:sidebar.php
示例7: printRSSLink
?>
<div id="credit">
<?php
printRSSLink('Gallery', '', gettext('Gallery RSS'), ' | ');
?>
<?php
printZenphotoLink();
?>
| <?php
printCustomPageURL(gettext("Archive View"), "archive");
?>
<?php
if (function_exists('printUserLogin_out')) {
printUserLogin_out(" | ");
}
?>
<br />
<?php
printf(gettext("%s seconds"), round(array_sum(explode(" ", microtime())) - $startTime, 4));
?>
</div>
</div>
<?php
zp_apply_filter('theme_body_close');
?>
</body>
</html>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:search.php
示例8: gettext
echo gettext('Register');
?>
"><?php
echo gettext('Register');
?>
</a></li>
<?php
}
?>
<?php
if (function_exists("printUserLogin_out")) {
if (zp_loggedin()) {
?>
<li><?php
printUserLogin_out('', '');
?>
</li>
<?php
} else {
?>
<li <?php
if ($_zp_gallery_page == "login.php") {
?>
class="active" <?php
}
?>
><a href="<?php
echo getCustomPageURL('login');
?>
" title="<?php
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:inc-sidemenu.php
示例9: jqm_printFooterNav
/**
* Prints the footer
*/
function jqm_printFooterNav()
{
global $_zp_gallery_page, $_zp_current_album;
?>
<div id="footer" data-role="footer">
<?php
@call_user_func('printLanguageSelector', "langselector");
?>
<ul id="footerlist">
<li><?php
echo gettext('Powered by');
?>
<a href="http://www.zenphoto.org">Zenphoto</a> and <a href="http://jquerymobile.com">jQueryMobile</a></li>
<li><?php
echo gettext('zpMobile theme by');
?>
<a href="http://www.maltem.de">Malte Müller</a></li>
</ul>
<?php
$adminlink = '';
$favoriteslink = '';
if (!zp_loggedin() && function_exists('printRegisterURL')) {
if ($_zp_gallery_page != 'register.php') {
$_linktext = get_language_string(getOption('register_user_page_link'));
$adminlink = '<li><a rel="external" href="' . html_encode(register_user::getLink()) . '">' . $_linktext . '</a></li>';
}
}
if (function_exists('printFavoritesURL')) {
$favoriteslink = '<li><a rel="external" href="' . html_encode(getFavoritesURL()) . '">' . gettext('Favorites') . '</a></li>';
}
if ($adminlink || $favoriteslink) {
?>
<div data-role="navbar">
<ul id="footernav">
<?php
echo $adminlink . $favoriteslink;
if (function_exists("printUserLogin_out")) {
echo "<li>";
printUserLogin_out("", "", 0);
echo "</li>";
}
?>
</ul>
</div>
<!-- /navbar -->
<?php
}
?>
</div><!-- footer -->
<?php
}
开发者ID:rauldobrota,项目名称:zenphoto,代码行数:54,代码来源:functions.php
示例10: printFooter
function printFooter($admin = true)
{
global $_zp_themeroot, $_zp_gallery_page, $_zp_current_zenpage_news, $_zp_current_zenpage_page;
$h = NULL;
?>
<!-- Footer -->
<div class="footlinks">
<?php
$h = getHitcounter();
if (!is_null($h)) {
?>
<p>
<?php
printf(ngettext('%1$u hit on this %2$s', '%1$u hits on this %2$s', $h), $h, gettext('page'));
?>
</p>
<?php
}
if ($_zp_gallery_page == 'gallery') {
?>
<p>
<small>
<?php
$albumNumber = getNumAlbums();
echo sprintf(ngettext("%u Album", "%u Albums", $albumNumber), $albumNumber);
?>
·
<?php
$c = get_subalbum_count();
echo sprintf(ngettext("%u Subalbum", "%u Subalbums", $c), $c);
?>
·
<?php
$photosArray = query_single_row("SELECT count(*) FROM " . prefix('images'));
$photosNumber = array_shift($photosArray);
echo sprintf(ngettext("%u Image", "%u Images", $photosNumber), $photosNumber);
?>
<?php
if (function_exists('printCommentForm')) {
?>
·
<?php
$commentsArray = query_single_row("SELECT count(*) FROM " . prefix('comments') . " WHERE inmoderation = 0");
$commentsNumber = array_shift($commentsArray);
echo sprintf(ngettext("%u Comment", "%u Comments", $commentsNumber), $commentsNumber);
?>
<?php
}
?>
</small>
</p>
<?php
}
?>
<?php
printThemeInfo();
?>
<?php
printZenphotoLink();
?>
<?php
if ($_zp_gallery_page == 'gallery') {
printRSSLink('Gallery', '<br />', 'Gallery RSS', '');
}
?>
<?php
if (function_exists('printUserLogin_out') && $_zp_gallery_page != 'password') {
printUserLogin_out('<br />', '', true);
}
?>
<?php
if (getOption('zp_plugin_contactform') && ($_zp_gallery_page != 'password' || $_zp_gallery->isUnprotectedPage('contact'))) {
printCustomPageURL(gettext('Contact us'), 'contact', '', '<br />');
}
?>
<?php
if (!zp_loggedin() && function_exists('printRegistrationForm') && ($_zp_gallery_page != 'password' || $_zp_gallery->isUnprotectedPage('unprotected_register'))) {
printCustomPageURL(gettext('Register for this site'), 'register', '', '<br />');
}
?>
<?php
if (function_exists('printLanguageSelector')) {
printLanguageSelector();
}
?>
<br clear="all" />
</div>
<!-- Administration Toolbox -->
<?php
if ($admin) {
printAdminToolbox();
}
}
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:93,代码来源:functions.php
示例11: gettext
<?php
/* zpBase login.php
* This theme page shows the login form when the login link is accessed from the user login-out plugin (login link shown in footer).
* http://www.oswebcreations.com
================================================== */
if (function_exists('printUserLogin_out')) {
include 'inc/header.php';
?>
<div class="container" id="middle">
<div class="row">
<div id="content">
<h1><?php
echo gettext('Login');
?>
</h1>
<?php
printUserLogin_out('', '', true);
?>
</div>
</div>
</div>
<?php
include 'inc/footer.php';
} else {
include dirname(__FILE__) . '/404.php';
}
开发者ID:BimbaLaszlo,项目名称:zpbase,代码行数:29,代码来源:login.php
示例12: footer
function footer()
{
global $_zp_gallery_page, $_zp_current_category, $_zp_gallery;
$exclude_login = array('password.php', 'register.php', 'contact.php');
?>
<div id="footer">
<?php
switch ($_zp_gallery_page) {
default:
printRSSLink('Gallery', '', 'RSS', '');
break;
case 'album.php':
printRSSLink('Album', '', 'RSS', '');
break;
case 'news.php':
if (is_NewsCategory()) {
printZenpageRSSLink('Category', $_zp_current_category->getTitlelink(), '', 'RSS', '');
} else {
printZenpageRSSLink('News', '', '', 'RSS', '');
}
break;
}
?>
<?php
if ($_zp_gallery_page != 'password.php' && $_zp_gallery_page != 'archive.php') {
printCustomPageURL(gettext('Archive View'), 'archive', '', ' | ', '');
}
?>
<?php
if ($_zp_gallery_page != 'contact.php' && getOption('zp_plugin_contact_form') && ($_zp_gallery_page != 'password' || $_zp_gallery->isUnprotectedPage('contact'))) {
printCustomPageURL(gettext('Contact us'), 'contact', '', ' | ', '');
}
?>
<?php
if ($_zp_gallery_page != 'register.php' && !zp_loggedin() && function_exists('printRegistrationForm') && ($_zp_gallery_page != 'password.php' || $_zp_gallery->isUnprotectedPage('register'))) {
printCustomPageURL(gettext('Register for this site'), 'register', '', ' | ', '');
}
?>
<?php
if (function_exists('printUserLogin_out') && !in_array($_zp_gallery_page, $exclude_login)) {
printUserLogin_out(' | ', '', true);
}
?>
<?php
if (function_exists('printLanguageSelector')) {
?>
<br />
<?php
printLanguageSelector();
} else {
?>
<br />
<?php
}
?>
<?php
printZenphotoLink();
?>
</div>
<?php
}
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:61,代码来源:functions.php
示例13: getGalleryTitle
?>
">
<?php
echo getGalleryTitle();
?>
</a> >
<?php
echo "<em>" . gettext('Search') . "</em>";
?>
</p>
<div id="footer">
<hr />
<?php
if (function_exists('printUserLogin_out')) {
printUserLogin_out("");
}
?>
<p>
<?php
printZenphotoLink();
?>
</p>
</div>
<?php
printAdminToolbox();
zp_apply_filter('theme_body_close');
?>
</body>
</html>
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:30,代码来源:search.php
示例14: gettext
<?php
include "inc-header.php";
?>
<div class="wrapper contrast top">
<div class="container">
<div class="sixteen columns">
<?php
include "inc-search.php";
?>
<h1><?php
echo gettext("Login");
?>
</h1>
</div>
</div>
</div>
<div class="wrapper">
<div class="container">
<div class="sixteen columns">
<?php
printUserLogin_out("", "", true);
?>
</div>
</div>
</div>
<?php
include "inc-bottom.php";
include "inc-footer.php";
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:29,代码来源:login.php
示例15: printRegisterURL
<li>
<?php
if ($_zp_gallery_page != 'register.php') {
printRegisterURL(gettext('Register for this site'));
} else {
echo gettext("Register for this site");
}
?>
</li>
<?php
}
if (function_exists('printFavoritesURL')) {
printFavoritesURL(NULL, '<li>', '</li><li>', '</li>');
}
if (function_exists("printUserLogin_out")) {
printUserLogin_out("<li>", "</li>");
}
if (class_exists('mobileTheme')) {
?>
<li>
<?php
mobileTheme::controlLink(NULL, '', '');
?>
</li>
<?php
}
?>
</ul>
</div>
<?php
}
开发者ID:rb26,项目名称:zenphoto,代码行数:31,代码来源:sidebar.php
示例16: getMainSiteName
</div>
<?php
}
?>
<div class="span6 pull-left">
<div id="copyright">
<?php
echo getMainSiteName();
if (getOption('zpB_show_archive')) {
printCustomPageURL(gettext('Archive View'), 'archive', '', ' | ');
}
if (!zp_loggedin() && extensionEnabled('register_user')) {
printRegisterURL(gettext('Register'), ' | ');
}
if (extensionEnabled('user_login-out')) {
printUserLogin_out(' | ', '', 1);
?>
<script type="text/javascript">
$('.passwordform').before('| <a href="#zpB_login_passwordform" data-toggle="modal" class="zpB_logonlink" title="<?php
echo gettext('Login');
?>
"><?php
echo gettext('Login');
?>
</a>');
$('#zpB_login_passwordform').modal({
show: true
});
</script>
<?php
}
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:inc_footer.php
示例17: printZenphotoLink
}
?>
</div>
<div id="text"> </div>
<div id="footer">
<div id="logo">
<?php
printZenphotoLink();
?>
</div>
<div id="options">
<?php
if (zp_loggedin()) {
printUserLogin_out($before = '', $after = '|', $showLoginForm = NULL, $logouttext = NULL, $show_user = NULL);
} else {
printLinkHTML(WEBPATH . '/' . ZENFOLDER . '/admin.php', 'Admin');
}
?>
</div>
<div id="info">
<?php
echo round(array_sum(explode(" ", microtime())) - $startTime, 4) . ' seconds';
echo '. Pink Clouds 1.0 . ';
echo 'ZenPhoto ';
printVersion();
?>
</div>
</div>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:30,代码来源:index.php
示例18: gettext
<!-- Footer -->
<div class="footlinks">
<?php
if (getOption('Use_Simpleviewer') && !MOD_REWRITE) {
/* display missing css file error */
echo '<div class="errorbox" id="message">';
echo "<h2>" . gettext('Simpleviewer requires <em>mod_rewrite</em> to be set. Simpleviewer is disabled.') . "</h2>";
echo '</div>';
}
?>
<?php
printThemeInfo();
printZenphotoLink();
if (function_exists('printUserLogin_out')) {
printUserLogin_out('<br />', '', true);
}
?>
</div> <!-- footerlinks -->
<?php
printFooter();
zp_apply_filter('theme_body_close');
?>
</body>
</html>
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:30,代码来源:search.php
注:本文中的printUserLogin_out函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论