Exemplo n.º 1
0
Arquivo: helper.php Projeto: ajb/rfpez
 public static function active_sidebar($section)
 {
     return Section::yield('active_sidebar') == $section ? true : false;
 }
Exemplo n.º 2
0
}
?>

  <div class="container" id="content">
    <?php 
echo Section::yield('content');
?>
  </div>

  <script>
      var dojoConfig = {
          async: 1,
          baseUrl: "<?php 
echo URL::to_asset('js/dojo');
?>
",
          packages: [
              { name: "bootstrap", location: "Dojo-Bootstrap" },
              { name: "clementia", location: "clementia" }
          ]
      };
  </script>

  <?php 
echo Asset::container('footer')->scripts();
?>
  <?php 
echo Section::yield('additional_footer_content');
?>
</body>
</html>
Exemplo n.º 3
0
  <?php 
}
?>


    <?php 
echo Section::yield('content');
?>
  </div>

  <!-- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> -->
  <script>window.jQuery || document.write('<script src="/js/jquery-1.7.1.min.js"><\/script>')</script>
  <script src="/js/jquery-ui-1.8.22.custom.min.js"></script>

  <?php 
echo Section::yield('additional-scripts');
?>

  <?php 
echo Basset::show('website.js');
?>

  <?php 
echo HTML::script('js/bootstrap.js');
?>

  <script>
    var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
    (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
    g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
    s.parentNode.insertBefore(g,s)}(document,'script'));
Exemplo n.º 4
0
Arquivo: layout.php Projeto: ajb/rfpez
      <?php 
if (!Section::yield('no_page_header')) {
    ?>
        <h4>
          <?php 
    echo e(Section::yield('page_title'));
    ?>
          <?php 
    echo Section::yield('inside_header');
    ?>
        </h4>
      <?php 
}
?>
      <?php 
echo Section::yield('subnav');
?>
    </div>
    <?php 
echo $content;
?>
  </div>
  <?php 
if (!Config::get('application.maint') == true) {
    ?>
    <?php 
    echo View::make('partials.footer');
    ?>
  <?php 
}
?>