Esempio n. 1
0
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <div class="brand-container">
                    <a class="h1 color-vert brand-name" href="/accueil">
                        Depan'Fermetures 56
                    </a>
                </div>
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav navbar-right">
                <?php 
$active_route_name = Routing::get_request_main_route_key();
foreach (Routing::get_routes() as $route_name) {
    $menu_label = Routing::get_optx('menu_label', $route_name);
    if (!isset($menu_label)) {
        continue;
    }
    ?>
                        <li <?php 
    echo $active_route_name == $route_name ? ' class="active"' : '';
    ?>
><a href="/<?php 
    echo $route_name;
    ?>
"><?php 
    echo $menu_label;
    ?>
</a></li>
                <?php 
Esempio n. 2
0
    <!--[if lt IE 9]>
        <script src="/assets/js/libs/html5shiv.3.7.2.min.js"></script>
        <script src="/assets/js/libs/respond.1.4.2.min.js"></script>
    <![endif]-->
<?php 
Assets::draw_js();
?>
</head>
<body>
<?php 
include TMPL_PATH . 'header.tmpl.php';
?>
    <div class="container-fluid">
        <div class="row">
<?php 
$encart = Routing::get_optx('encart');
$content_col_nb = $encart ? 12 - (int) $encart['size'] : 12;
?>
            <div class="col-lg-<?php 
echo $content_col_nb;
?>
" id="<?php 
echo Routing::get_request_main_route_key();
?>
-content">
<?php 
include Routing::get_tmpl_path();
?>
            </div>
<?php 
if ($encart) {