コード例 #1
0
echo bootstrap3_is_fluid_container() ? '-fluid' : '';
?>
">
    <?php 
tpl_includeFile('topheader.html');
?>
    <?php 
require_once 'tpl_navbar.php';
?>
    <?php 
tpl_includeFile('header.html');
?>
  </header>

  <div id="dokuwiki__top" class="dokuwiki container<?php 
echo bootstrap3_is_fluid_container() ? '-fluid' : '';
?>
">

    <?php 
tpl_includeFile('social.html');
?>

    <?php 
require_once 'tpl_breadcrumbs.php';
?>

    <p class="pageId text-right small">
      <?php 
if (bootstrap3_conf('showPageId')) {
    ?>
コード例 #2
0
function bootstrap3_is_fluid_navbar()
{
    $fluid_container = bootstrap3_is_fluid_container();
    $fixed_top_nabvar = bootstrap3_conf('fixedTopNavbar');
    return $fluid_container || $fluid_container && !$fixed_top_nabvar || !$fluid_container && !$fixed_top_nabvar;
}