Esempio n. 1
0
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>';
}
Esempio n. 2
0
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>';
    }
}
Esempio n. 3
0
			<?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 
Esempio n. 4
0
               <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", "", "");
}
?>
Esempio n. 5
0
    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');
?>
Esempio n. 6
0
"><?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 
Esempio n. 7
0
/**
 * 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 
}
Esempio n. 8
0
<?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>
Esempio n. 9
0
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');
Esempio n. 10
0
        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);
?>
Esempio n. 11
0
    ?>
				<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('');
        ?>
Esempio n. 12
0
$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";
Esempio n. 13
0
						<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 
Esempio n. 14
0
			<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>
Esempio n. 15
0
    }
    ?>
><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')) {
Esempio n. 16
0
			<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";