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


PHP printPageMenu函数代码示例

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


在下文中一共展示了printPageMenu函数的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: gettext

			<?php 
        }
    }
    ?>

	<?php 
    if (extensionEnabled('zenpage') && ZP_PAGES_ENABLED) {
        if (getNumPages(true)) {
            ?>
			<div class="menu">
				<h3><?php 
            echo gettext("Pages");
            ?>
</h3>
				<?php 
            printPageMenu("list", "", "menu-active", "submenu", "menu-active");
            ?>
				<div class="menu_rule"></div>
			</div>
			<?php 
        }
    }
    ?>

	<div class="menu">
		<h3><?php 
    echo gettext("Archive");
    ?>
</h3>
		<ul>
			<?php 
开发者ID:rb26,项目名称:zenphoto,代码行数:31,代码来源:sidebar.php

示例3: printAlbumMenuList

               <span class="caret"></span>
            </a>
            <ul class="dropdown-menu">
            <?php 
printAlbumMenuList("list", FALSE, "", "", "", "", "", 0, FALSE, FALSE, FALSE);
?>
          </ul>
        </li>
       <li class="dropdown">
          <a class="dropdown-toggle" data-toggle="dropdown" href="#">
            Informations
           <span class="caret"></span>
          </a>
          <ul class="dropdown-menu">
               <?php 
printPageMenu("list", "", "", "", "", "", 0, FALSE);
?>
           </ul>
        </li>
      </ul>
        <ul class="nav navbar-nav navbar-right">
          <li class="dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
              <span class="glyphicon glyphicon-search"></span>
            </a>
            <div class="dropdown-menu">
                <?php 
if (getOption('Allow_search')) {
    printSearchForm("", "form-group", "", "");
}
?>
开发者ID:bgenere,项目名称:negpos,代码行数:31,代码来源:navbar.php

示例4: getNewsIndexURL

    echo getNewsIndexURL();
    ?>
"><?php 
    echo gettext('News');
    ?>
</a>
				<?php 
    printAllNewsCategories('', false, '', 'active open', true, 'submenu', 'active open', 'list', true, null);
    ?>
			</li>
			<?php 
}
?>
			<?php 
if ($zenpage && ZP_PAGES_ENABLED) {
    printPageMenu('list', '', 'active open', 'submenu', 'active open', '', true, false);
}
?>
			<li <?php 
if ($_zp_gallery_page == "archive.php" || $_zp_gallery_page == "search.php") {
    ?>
class="active" <?php 
}
?>
>
				<a href="<?php 
echo getCustomPageURL('archive');
?>
" title="<?php 
echo gettext('Archive/Search');
?>
开发者ID:ckfreeman,项目名称:libratus,代码行数:31,代码来源:inc-header.php

示例5: gettext

"><?php 
        echo gettext('News');
        ?>
</a>
							<?php 
        if ($_zp_gallery_page == "news.php") {
            printAllNewsCategories('', true, '', 'active', true, '', 'active', 'list', true);
        }
        ?>
						</li>
						<?php 
    }
    ?>
						<?php 
    if (function_exists('printPageMenu')) {
        printPageMenu('list', '', 'active', '', 'active', '', true, false);
    }
    ?>
						<?php 
    if (function_exists('printContactForm')) {
        ?>
<li <?php 
        if ($_zp_gallery_page == "contact.php") {
            ?>
class="active" <?php 
        }
        ?>
><?php 
        printCustomPageURL(gettext('Contact'), "contact");
        ?>
</li><?php 
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:inc-sidemenu.php

示例6: jqm_printMenusLinks

/**
 * Prints the foldout (sidebar/bottom) menu links
 */
function jqm_printMenusLinks()
{
    global $_zp_gallery_page, $_zp_zenpage;
    ?>
	<div id="collapsible-lists" data-collapsed="false">
	<?php 
    if (extensionEnabled('zenpage') && ZP_NEWS_ENABLED) {
        ?>
			<div data-role="collapsible" data-content-theme="c" data-theme="b"<?php 
        if ($_zp_gallery_page == 'news.php') {
            echo ' data-collapsed="false"';
        }
        ?>
>
				<h3><?php 
        echo gettext('News');
        ?>
</h3>
			<?php 
        printAllNewsCategories(gettext("All news"), TRUE, "", "menu-active", true, "submenu", "menu-active");
        ?>
			</div>
		<?php 
    }
    ?>
	<?php 
    if (function_exists('printAlbumMenu')) {
        ?>
			<div data-role="collapsible" data-content-theme="c" data-theme="b"<?php 
        if ($_zp_gallery_page == 'gallery.php' || $_zp_gallery_page == 'album.php' || $_zp_gallery_page == 'image.php') {
            echo ' data-collapsed="false"';
        }
        ?>
>
				<h3><?php 
        echo gettext('Gallery');
        ?>
</h3>
			<?php 
        printAlbumMenu('list', true, '', '', '', '', 'Gallery Index', false, false, false);
        ?>
			</div>
		<?php 
    }
    ?>
	<?php 
    if (extensionEnabled('zenpage') && ZP_PAGES_ENABLED) {
        ?>
			<div data-role="collapsible" data-content-theme="c" data-theme="b"<?php 
        if ($_zp_gallery_page == 'pages.php') {
            echo ' data-collapsed="false"';
        }
        ?>
>
				<h3><?php 
        echo gettext('Pages');
        ?>
</h3>
			<?php 
        printPageMenu("list", "", "menu-active", "submenu", "menu-active", NULL, true, true, NULL);
        ?>
			</div>
			<?php 
    }
    ?>
		<div data-role="collapsible" data-content-theme="c" data-theme="b">
	<?php 
    jqm_printRSSlinks();
    ?>
		</div>
	</div>
	<?php 
}
开发者ID:rauldobrota,项目名称:zenphoto,代码行数:76,代码来源:functions.php

示例7: gettext

<?php

/*	zpBase sidebar.php, included on news and pages
*	http://www.oswebcreations.com
================================================== */
?>
			
			<div id="sidebar">
				
				<div class="sidebar-block">
					<h3><?php 
echo gettext('Page Menu');
?>
</h3>
					<?php 
printPageMenu('list', 'sidebar-page-menu', 'top-active', 'sub-list', 'sub-active', null, true, true, 25);
?>
				</div>
				
				<?php 
if (getOption('zpbase_usenews') && getNumNews(true) > 0) {
    ?>
				<div class="sidebar-block news-cats">
					<h3><?php 
    echo gettext('News Categories');
    ?>
</h3>
					<?php 
    printAllNewsCategories($newsname, true, '', 'menu-active', true, 'submenu', 'menu-active', 'list', true, 25);
    ?>
				</div>
开发者ID:BimbaLaszlo,项目名称:zpbase,代码行数:31,代码来源:sidebar.php

示例8: printAllNewsCategories

printAllNewsCategories("", FALSE, "", "", TRUE);
?>
						</div>
					</div>

					<div class="panel panel-default">
						<div class="panel-heading">
							<h4>
								<span class="glyphicon glyphicon-info-sign">
								Informations
							</h4>
						</div>
						<div class="panel-body">
							<!-- Page List -->
							<?php 
printPageMenu("list", "", "", "", "", "", 0, TRUE);
?>
						</div>
					</div>
            	</div> <!-- col-md-4 -->				
									
			</div><!-- content -->
			<?php 
include "footer.php";
?>

			
		</div><!-- main -->
		<!-- theme body close filter -->
		<?php 
zp_apply_filter('theme_body_close');
开发者ID:bgenere,项目名称:negpos,代码行数:31,代码来源:gallery.php

示例9: printPageTitle

        printPageTitle(" » ");
    }
    ?>
</span>
				</div>
			</div>
		</div>
	</div>
	<?php 
}
?>
	<div class="wrapper">
		<div class="centered">
			<div class="extra-content">
				<?php 
printPageMenu('omit-top', 'news-cat-list', 'news-cat-active', 'news-cat-list', 'news-cat-active');
?>
				<?php 
printPageExtraContent();
?>
			</div>

			<div id="post">		
				<h2><?php 
printPageTitle();
?>
</h2>
				<?php 
printPageContent();
printCodeblock(1);
?>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:pages.php

示例10: gettext

    ?>
				<div class="ui-content" role="main">
					<div class="content-primary">
						<?php 
    if (empty($_GET['title'])) {
        ?>


							<h2><?php 
        echo gettext('Pages');
        ?>
</h2>
							<br />
							<ul data-role="listview" data-inset="true" data-theme="a" class="ui-listview ui-group-theme-a">
								<?php 
        printPageMenu("list-top", "", "menu-active", "submenu", "menu-active", NULL, true, false, NULL);
        ?>
							</ul>
						<?php 
    } else {
        ?>
							<h2 class="breadcrumb"><a href="<?php 
        echo getPagesLink();
        ?>
"><?php 
        echo gettext('Pages');
        ?>
</a> <?php 
        printZenpageItemsBreadcrumb('', '  ');
        printPageTitle('');
        ?>
开发者ID:rb26,项目名称:zenphoto,代码行数:31,代码来源:pages.php

示例11: getTags

$singletag = getTags();
$tagstring = implode(', ', $singletag);
if (strlen($tagstring) > 0) {
    ?>
					<ul><li class="meta-tags"><?php 
    printTags('links', '', 'taglist', ', ');
    ?>
</li></ul>
				<?php 
}
?>
			</div>
			<div class="five columns offset-by-one sidebar">
				<?php 
if ($zpskel_social) {
    include "inc-social.php";
}
?>
				<?php 
printPageExtraContent();
?>
				<br class="clear" />
				<?php 
printPageMenu('list', 'side-menu', 'active', 'side-sub', 'sub-active', null, true);
?>
			</div>
		</div>
	</div>
<?php 
include "inc-bottom.php";
include "inc-footer.php";
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:pages.php

示例12: printNewsIndexURL

						<li <?php 
    if ($_zp_gallery_page == 'news.php') {
        ?>
class="active"<?php 
    }
    ?>
><?php 
    printNewsIndexURL(gettext('News'), '', gettext('News'));
    ?>
</li>
					<?php 
}
?>
					<?php 
if ($_zenpage_enabled) {
    printPageMenu('list-top', '', 'active', '', '', '', 0, false);
}
?>
					<?php 
if (zp_loggedin() && extensionEnabled('favoritesHandler')) {
    ?>
						<?php 
    printFavoritesURL(NULL, '<li>', '</li><li>', '</li>');
    ?>
					<?php 
}
?>
					<?php 
if (getOption('show_archive')) {
    ?>
						<li <?php 
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:inc_header.php

示例13: printPageContent

			<div class="row">
				<div class="span9">
					<div class="post clearfix">
						<?php 
printPageContent();
?>
						<?php 
printCodeblock(1);
?>
					</div>
				</div>

				<div class="span3">
					<?php 
printPageMenu('omit-top', 'news-cat-list', 'active', 'nav sub-nav nav-pills nav-stacked', 'active');
?>
					<?php 
if (getPageExtraContent()) {
    ?>
					<div class="extra-content clearfix">
						<?php 
    printPageExtraContent();
    ?>
					</div>
					<?php 
}
?>
				</div>
			</div>
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:29,代码来源:pages.php

示例14: getNewsIndexURL

    }
    ?>
><a href="<?php 
    echo getNewsIndexURL();
    ?>
"><?php 
    echo gettext('News');
    ?>
</a></li>
					<?php 
}
?>
				</ul>
				<?php 
if (function_exists('printPageMenu')) {
    printPageMenu('list-top', '', 'active', 'active', '', '');
}
?>
				<ul>
					<li <?php 
if ($_zp_gallery_page == "archive.php" || $_zp_gallery_page == "search.php") {
    ?>
class="active" <?php 
}
?>
><?php 
printCustomPageURL(gettext('Archive/Search'), "archive");
?>
</li>
					<?php 
if (function_exists('printContactForm')) {
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:header.php

示例15: printPageExtraContent

			<div id="sidebar-padding">
				<?php 
if (getPageExtraContent()) {
    ?>
					<div class="sidebar-divide">
						<div class="extra-content"><?php 
    printPageExtraContent();
    ?>
</div>
					</div>
				<?php 
}
?>
				<div class="side-menu sidebar-divide">
					<?php 
printPageMenu('omit-top', '', 'active', '', 'active', '', true, false);
?>
				</div>
				<?php 
if (getOption('zpmas_usenews')) {
    ?>
					<div class="latest sidebar-divide">
						<?php 
    printLatestNews(1);
    ?>
					</div>
				<?php 
}
?>
				<?php 
include "inc-copy.php";
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:pages.php


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