Exemplo n.º 1
0
    <!-- HEADER -->
    <?php 
include 'inc/header.php';
?>

    <!-- SITE CONTENT -->
    <h2 class="title"><?php 
get_page_title();
?>
</h2>
    <div class="flex fullwidth">
    <nav class="side sidenav">
      <div class="sidemenu root">
        <?php 
get_i18n_navigation(return_page_slug(), 1, 1, I18N_SHOW_MENU, "navbar");
?>
      </div>
    </nav>
    <?php 
?>
    <div class="content">
      <div class="page-text">
        <?php 
get_page_content();
?>
      </div>
    </div>
    <?php 
if ($sidebar) {
    ?>
Exemplo n.º 2
0
    <![endif]-->
	<!--[if gte IE 9]>
  <style type="text/css">
    .gradient {
       filter: none;
    }
  </style>
<![endif]-->
</head>
<body id="<?php 
get_page_slug();
?>
" >
<div class="navbar navbar-default navbar-static-top" role="navigation">
    <div class="container">
        <div class="navbar-header">
			<div class="navbar-brand"><?php 
get_site_name();
?>
</div>
			<button type="button" class="navbar-toggle btn-primary" data-toggle="collapse" data-target=".navbar-collapse">menu</button>
		</div>
			<div class="collapse navbar-collapse">
			<ul class="nav navbar-nav">
			<?php 
get_i18n_navigation(return_page_slug(FALSE), 0, 1, I18N_SHOW_MENU);
?>
			</ul>
		</div>
	</div>
</div>
Exemplo n.º 3
0
if (count($languages) > 1) {
    $other_lang = $languages[1];
} else {
    $other_lang = $languages[0];
}
$txt = "English";
if ($other_lang != "en") {
    $txt = "Fran&ccedil;ais";
}
?>
         <a href="<?php 
echo return_i18n_setlang_url($other_lang);
?>
"><?php 
echo $txt;
?>
 </a>
      </div>
	</div>
	<!-- NAVIGATION BAR -->
	<nav class="topnav hw-auto center right upper">
		<label for="show-menu" class="show-menu">Menu</label>
		<input id="show-menu" type="checkbox"  role="button">
		<div id="navmenu" class="topmenu root">
			<?php 
get_i18n_navigation(return_page_slug(), 0, 2, I18N_SHOW_MENU, 'navbar');
?>
		</div>
	</nav>
</div>