Пример #1
0
  <head>

    <meta charset="utf-8">

    <title>
      <?php 
echo option('site_title');
echo isset($title) ? ' | ' . $title : '';
?>
    </title>

    <!-- Google analytics. -->
    <?php 
fire_plugin_hook('public_head', array('view' => $this));
?>

    <!-- CSS/JS. -->
    <?php 
echo head_css(false);
?>
    <?php 
echo head_js(false);
?>

  </head>

  <?php 
echo body_tag(array('id' => @$bodyid, 'class' => @$bodyclass));
?>
    <div class="container">
Пример #2
0
    <?php 
echo auto_discovery_link_tags();
?>

    <!-- Will fire plugins that need to include their own files in <head> -->
    <?php 
fire_plugin_hook('public_head', array('view' => $this));
?>


    <!-- Need to add custom and third-party CSS files? Include them here -->
    <?php 
queue_css_file('lib/bootstrap.min');
queue_css_file('style');
\queue_css_file('bootstrap-theme');
echo head_css();
?>

    <!-- Need more JavaScript files? Include them here -->
    <?php 
queue_js_file('lib/bootstrap.min');
queue_js_file('globals');
echo head_js();
?>
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<?php 
echo body_tag(array('id' => @$bodyid, 'class' => @$bodyclass));
Пример #3
0
 private function _getCssOutput()
 {
     ob_start();
     echo head_css();
     return ob_get_clean();
 }