Esempio n. 1
0
echo gettext('Home');
?>
"><?php 
echo gettext('Home');
?>
</a> &raquo; <a href="<?php 
echo getCustomPageURL('gallery');
?>
" title="<?php 
echo gettext('Gallery Index');
?>
"><?php 
echo gettext('Gallery Index');
?>
</a> &raquo; <?php 
printNewsIndexURL("News", "");
printCurrentNewsCategory(" » Category → ");
printNewsTitle("  »  ");
printCurrentNewsArchive("  »  ");
?>
</h2>
				</div>
			</div> <!-- close #header -->
			<div id="content">
				<div id="main"<?php 
if ($zpmin_switch) {
    echo ' class="switch"';
}
?>
>
					<?php 
Esempio n. 2
0
					</ul>
				</div>
			</div>
			<?php 
    } else {
        ?>
			<div class="news-cat-list">
				<?php 
        printAllNewsCategories(gettext('All news'), true, 'news-cat-list', 'news-cat-active');
        ?>
			</div>
			<?php 
    }
    ?>
			<h3><?php 
    printNewsIndexURL(gettext('News'));
    printCurrentNewsCategory(' » ' . gettext('Category') . ' : ');
    printCurrentNewsArchive(' » ');
    ?>
</h3>
		</div>

	<?php 
    // single news article
    if (is_NewsArticle()) {
        ?>
		<div id="news" class="clearfix">
			<h3><?php 
        printNewsTitle();
        ?>
</h3>
Esempio n. 3
0
</a> |
				<?php 
}
?>
				<a href="<?php 
echo html_encode(getGalleryIndexURL());
?>
" title="<?php 
echo gettext('Albums Index');
?>
"><?php 
echo getGalleryTitle();
?>
</a></span>
				<?php 
printNewsIndexURL(gettext("News"), " | ");
printCurrentNewsCategory(" | " . gettext('Category') . " - ");
printNewsTitle(" | ");
?>
			</div>
		</div> <!-- wrapnav -->

		<!-- Random Image -->
		<?php 
printHeadingImage(getRandomImages(getThemeOption('effervescence_daily_album_image')));
?>
	</div> <!-- header -->

	<!-- Wrap Main Body -->
	<div id="content">
Esempio n. 4
0
    }
    printLogo();
    ?>
					</div>
				</div> <!-- gallerytitle -->

				<!-- Crumb Trail Navigation -->
				<div id="wrapnav">
					<div id="navbar">
						<span><?php 
    printHomeLink('', ' | ');
    printGalleryIndexURL(' | ');
    ?>
</span>
						<?php 
    printNewsIndexURL(NULL, ' | ');
    printZenpageItemsBreadcrumb(' | ', '');
    printCurrentNewsCategory(" | ");
    printNewsTitle(" | ");
    printCurrentNewsArchive(" | ");
    ?>
					</div>
				</div> <!-- wrapnav -->

				<!-- Random Image -->
				<?php 
    printHeadingImage(getRandomImages(getThemeOption('effervescence_daily_album_image')));
    ?>
			</div> <!-- header -->

			<!-- Wrap Main Body -->
Esempio n. 5
0
}
?>
 </div>
		</div>

<div id="content">

	<div id="breadcrumb">
	<h2><a href="<?php 
echo getGalleryIndexURL();
?>
"><?php 
echo gettext("Index");
?>
</a> <?php 
printNewsIndexURL(gettext('News'), ' » ');
?>
<strong><?php 
printZenpageItemsBreadcrumb(' » ', '');
printCurrentNewsCategory(' » ');
printNewsTitle(' » ');
printCurrentNewsArchive(' » ');
?>
</strong>
	</h2>
	</div>

<div id="content-left">


<?php 
Esempio n. 6
0
		<body>
			<?php 
    zp_apply_filter('theme_body_open');
    ?>


			<div data-role="page" id="mainpage">

				<?php 
    jqm_printMainHeaderNav();
    ?>

				<div class="ui-content" role="main">
					<div class="content-primary">
						<h2 class="breadcrumb"><?php 
    printNewsIndexURL();
    ?>
<strong><?php 
    printZenpageItemsBreadcrumb(' ', '');
    printCurrentNewsCategory(" ");
    printNewsTitle(" ");
    printCurrentNewsArchive(" | ");
    ?>
</strong></h2>
						<?php 
    // single news article
    if (is_NewsArticle()) {
        ?>
							<?php 
        printNewsContent();
        printCodeblock(1);
Esempio n. 7
0
    include "sidebar.php";
    ?>
						</div>
					</div>

					<div id="center">
						<div id="squeeze">
							<div class="right-corner">
								<div class="left-corner">
									<!-- begin content -->
									<div class="main section" id="main">
										<h2 id="gallerytitle">
											<?php 
    printHomeLink('', ' » ');
    printGalleryIndexURL(' » ');
    printNewsIndexURL(NULL);
    printZenpageItemsBreadcrumb(' » ', '');
    printCurrentNewsCategory(" » ");
    printNewsTitle(" » ");
    printCurrentNewsArchive(" » ");
    ?>
										</h2>
										<?php 
    if (is_NewsArticle()) {
        // single news article
        ?>
											<h3><?php 
        printNewsTitle();
        ?>
</h3>
											<div class="newsarticlecredit">
Esempio n. 8
0
    ?>
				</div>

				<div id="content">

					<div id="breadcrumb">
						<h2>
							<a href="<?php 
    echo getGalleryIndexURL();
    ?>
"><?php 
    echo gettext("Index");
    ?>
</a>
							<?php 
    printNewsIndexURL(NULL, ' » ');
    ?>
<strong><?php 
    printZenpageItemsBreadcrumb(' » ', '');
    printCurrentNewsCategory(" » ");
    printNewsTitle(" » ");
    printCurrentNewsArchive(" » ");
    ?>
</strong>
						</h2>
					</div>

					<div id="content-left">


						<?php 
/**
 * Prints the parent items breadcrumb navigation for pages or categories
 *
 * @param string $before Text to place before the breadcrumb item
 * @param string $after Text to place after the breadcrumb item
 */
function printZenpageItemsBreadcrumb($before = NULL, $after = NULL)
{
    global $_zp_current_zenpage_page, $_zp_current_zenpage_news, $_zp_current_category;
    if (is_NewsPage()) {
        $page = '';
        if (is_NewsArticle()) {
            $page = $_zp_current_zenpage_news->getNewsLoopPage();
        }
        printNewsIndexURL(NULL, '', '', $page);
    }
    if (is_Pages() || is_NewsCategory()) {
        $parentitems = array();
        if (is_Pages()) {
            $parentitems = $_zp_current_zenpage_page->getParents();
        }
        if (is_NewsCategory()) {
            $parentitems = $_zp_current_category->getParents();
        }
        foreach ($parentitems as $item) {
            if (is_Pages()) {
                $pageobj = new ZenpagePage($item);
                $parentitemurl = html_encode($pageobj->getLink());
                $parentitemtitle = $pageobj->getTitle();
            }
            if (is_NewsCategory()) {
                $catobj = new ZenpageCategory($item);
                $parentitemurl = $catobj->getLink();
                $parentitemtitle = $catobj->getTitle();
            }
            if ($before) {
                echo '<span class="beforetext">' . html_encode($before) . '</span>';
            }
            echo "<a href='" . $parentitemurl . "'>" . html_encode($parentitemtitle) . "</a>";
            if ($after) {
                echo '<span class="aftertext">' . html_encode($after) . '</span>';
            }
        }
    }
}
Esempio n. 10
0
        ?>
						<div><?php 
        printNewsIndexURL($newsname);
        echo ' / ';
        ?>
</div>
						<h1><?php 
        printCurrentNewsCategory();
        ?>
</h1>
						<?php 
    } else {
        if (in_context(ZP_ZENPAGE_NEWS_DATE)) {
            ?>
						<div><?php 
            printNewsIndexURL($newsname);
            echo ' / ';
            ?>
</div>
						<h1><?php 
            printCurrentNewsArchive();
            ?>
</h1>
						<?php 
        } else {
            ?>
						<h1><?php 
            echo $newsname;
            ?>
</h1>
						<?php 
Esempio n. 11
0
    }
}
?>
		</div>

<div id="content">

	<div id="breadcrumb">
	<h2><a href="<?php 
echo getGalleryIndexURL(false);
?>
"><?php 
echo gettext("Index");
?>
</a> <?php 
printNewsIndexURL(gettext('News'), ' &raquo; ');
?>
<strong><?php 
printZenpageItemsBreadcrumb(' &raquo; ', '');
printCurrentNewsCategory(" &raquo; ");
printNewsTitle(" &raquo; ");
printCurrentNewsArchive(" &raquo; ");
?>
</strong>
	</h2>
	</div>

<div id="content-left">


<?php 
Esempio n. 12
0
		<div class="bar">
			<div class="inner">
				<?php 
    echo $quickmenu;
    ?>
				<div class="pad" id="breadcrumb">
					<a href="<?php 
    echo getGalleryIndexURL();
    ?>
"><i class="fa fa-home"></i>&nbsp;<?php 
    printGalleryTitle();
    ?>
</a>&nbsp;/
					<?php 
    printNewsIndexURL(null, '');
    echo ' / ';
    ?>
					<?php 
    printZenpageItemsBreadcrumb('', ' / ');
    ?>
					<?php 
    if (is_NewsArticle()) {
        printNewsTitle();
    }
    ?>
				</div>
			</div>
		</div>
		
		<div id="main" class="wrap clearfix">
Esempio n. 13
0
					<div class="left-corner">
						<!-- begin content -->
						<div class="main section" id="main">
							<h2 id="gallerytitle">
							<a href="<?php 
echo html_encode(getGalleryIndexURL(false));
?>
" title="<?php 
echo gettext('Gallery Index');
?>
"><?php 
echo html_encode(getGalleryTitle());
?>
</a>
							<?php 
printNewsIndexURL(gettext("News"), "  &raquo; ");
printCurrentNewsCategory("  &raquo; " . gettext('Category') . " - ");
printNewsTitle("  &raquo; ");
?>
							</h2>
							<?php 
if (is_NewsArticle()) {
    // single news article
    ?>
								<h3><?php 
    printNewsTitle();
    ?>
</h3>

								<div class="newsarticlecredit">
									<span class="newsarticlecredit-left"> <?php