Esempio n. 1
0
<?php

if (getOption('simplicity2_print_home_menu_item')) {
    MenuUtil::printMenuItem(getGalleryIndexUrl(), gettext("Home"), THEME_HOME, "first");
}
MenuUtil::printMenuItem(getGalleryIndexUrl(), gettext("Gallery"), THEME_GALLERY, '', true);
if (function_exists('getNewsIndexURL')) {
    //if zenpage is enabled
    MenuUtil::printMenuItem(NewsUtil::getNewsIndexUrl(), gettext("Notes"), THEME_NEWS);
}
$m = SERVERPATH . "/themes/" . basename(dirname(dirname(__FILE__))) . "/menus/main.php";
if (file_exists($m)) {
    include $m;
}
if (getOption('simplicity2_print_contact_menu_item') && !getOption('simplicity2_contact_is_secondary')) {
    $pageName = getOption('simplicity2_contact_page_name');
    if (is_null($pageName) or trim($pageName) == '') {
        MenuUtil::printMenuItem(getCustomPageURL("contact"), gettext("Contact"), THEME_CONTACT, '', false, 'contact-link');
    } else {
        MenuUtil::printMenuPageLink($pageName, gettext('Contact'), 'contact-link');
    }
}
?>

Esempio n. 2
0
						</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>

			<div id="wrapper">

				<div id="navigation">