コード例 #1
0
            <?php 
tpl_includeFile('pageheader.html');
?>
            <article class="page">
                <!-- wikipage start -->
                <?php 
tpl_content();
?>
                <!-- wikipage stop -->
                <!--<div class="clearer"></div>-->
            </article><!-- /.page -->
            <?php 
tpl_flush();
?>
            <?php 
tpl_includeFile('pagefooter.html');
?>
        </div><!-- /.pad -->
    </div><!-- /#dokuwiki__content -->
    <!--<div class="clearer"></div>-->
    <hr class="a11y" />
    <!-- PAGE ACTIONS -->
    <?php 
if ($showTools) {
    ?>
        <div id="dokuwiki__pagetools">
            <h3 class="a11y"><?php 
    echo $lang['page_tools'];
    ?>
</h3>
            <ul>
コード例 #2
0
?>
        [<?php 
echo strip_tags($conf['title']);
?>
]
    </title>
    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
    <?php 
tpl_metaheaders();
?>
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <?php 
echo tpl_favicon(array('favicon', 'mobile'));
?>
    <?php 
tpl_includeFile('meta.html');
?>
</head>

<body>
    <!--[if IE 6 ]><div id="IE6"><![endif]--><!--[if IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
    <div id="dokuwiki__detail" class="dokuwiki">
        <?php 
html_msgarea();
?>

        <?php 
if ($ERROR) {
    print $ERROR;
} else {
    ?>
コード例 #3
0
    bootstrap3_conf('semantic') ? 'itemprop="license"' : '';
    ?>
>
      <?php 
    echo tpl_license('');
    ?>
    </div>
    <?php 
}
?>

    <?php 
// DokuWiki badges
require_once 'tpl_badges.php';
// Footer hook
tpl_includeFile('footer.html');
// Footer DokuWiki page
require_once 'tpl_footer.php';
// Cookie-Law banner
require_once 'tpl_cookielaw.php';
// Provide DokuWiki housekeeping, required in all templates
tpl_indexerWebBug();
?>

    <a href="#dokuwiki__top" class="back-to-top hidden-print btn btn-default btn-sm" title="<?php 
echo $lang['skip_to_content'];
?>
" accesskey="t"><i class="fa fa-chevron-up"></i></a>

    <div id="screen__mode"><?php 
/* helper to detect CSS media query in script.js */
コード例 #4
0
<!-- ********** ASIDE ********** -->
<aside id="<?php 
echo $sidebar_id;
?>
" class="dw__sidebar <?php 
echo $sidebar_class;
?>
 hidden-print">
  <div class="content">
    <div class="toogle hidden-lg hidden-md hidden-sm" data-toggle="collapse" data-target="#<?php 
echo $sidebar_id;
?>
 .collapse">
      <i class="glyphicon glyphicon-th-list"></i> <?php 
echo $lang['sidebar'];
?>
    </div>
    <div class="collapse in">
      <?php 
tpl_includeFile($sidebar_header);
?>
      <?php 
bootstrap_sidebar(tpl_include_page($sidebar_page, 0, 1));
?>
      <?php 
tpl_includeFile($sidebar_footer);
?>
    </div>
  </div>
</aside>
コード例 #5
0
if ($isLoggedIn) {
    tpl_action('recent', 1, 'li');
    tpl_action('media', 1, 'li');
}
tpl_action('index', 1, 'li');
?>
        </ul>
      </div>

    </div>

    <!-- TOPBAR - @tpl_mtb_schotland_2016-template@ -->
    <div class="topbar">
      <?php 
if (tpl_getConf("tpl_mtb_schotland_2016:htmltopbar")) {
    tpl_includeFile('topbar.php');
} else {
    tpl_include_page(tpl_getConf("tpl_mtb_schotland_2016:pagetopbar"), 1, 1);
}
?>
    </div>

    <!-- BREADCRUMBS -->
    <?php 
if ($conf['breadcrumbs'] || $conf['youarehere']) {
    ?>
      <div class="breadcrumbs">
        <?php 
    if ($conf['youarehere']) {
        ?>
          <div class="youarehere"><?php 
コード例 #6
0
<?php

/**
 * Template header, included in the main and detail files
 */
// must be run from within DokuWiki
if (!defined('DOKU_INC')) {
    die;
}
?>

<!-- ********** HEADER ********** -->
<div id="dokuwiki__header"><div class="pad group">

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

<?php 
/*
    <div class="headings group">
        <ul class="a11y skip">
            <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content']; ?></a></li>
        </ul>

        <h1><?php
            // get logo either out of the template images folder or data/media folder
            $logoSize = array();
            $logo = tpl_getMediaFile(array(':wiki:logo.png', ':logo.png', 'images/logo.png'), false, $logoSize);

            // display logo and wiki title in a link to the home page
コード例 #7
0
            <ul>
                <?php 
tpl_action('recent', 1, 'li');
tpl_action('media', 1, 'li');
tpl_action('index', 1, 'li');
?>
            </ul>
        </div>

    </div>
    
    <!-- TOPBAR - @20cones-template@ -->
    <div class="topbar">
      <?php 
if (tpl_getConf("20cones_htmltopbar")) {
    tpl_includeFile('topbar.html');
} else {
    tpl_include_page(tpl_getConf("20cones_pagetopbar"), 1, 1);
}
?>
    </div>

    <!-- BREADCRUMBS -->
    <?php 
if ($conf['breadcrumbs'] || $conf['youarehere']) {
    ?>
        <div class="breadcrumbs">
            <?php 
    if ($conf['youarehere']) {
        ?>
                <div class="youarehere"><?php 
コード例 #8
0
$tagline = $conf['tagline'] ? '<span id="dw__tagline">' . $conf['tagline'] . '</span>' : '';
$logo_size = 'width="20" height="20"';
if ($tagline) {
    $logo_size = 'width="32" height="32" style="margin-top:-5px"';
}
// display logo and wiki title in a link to the home page
tpl_link(wl(), '<img src="/sprout.svg" alt="' . $title . '" class="pull-left" style="width: 30px; height: 30px; margin-right: 8px; margin-top:-5px;" /><span id="dw__title" style="color: #fff; margin-right:5px;">sprout wiki</span><i class="fa fa-lg fa-terminal"></i>', 'accesskey="h" title="' . $title . '" class="navbar-brand"');
?>

    </div>

    <div class="collapse navbar-collapse">

      <ul class="nav navbar-nav" id="dw__navbar">
        <?php 
tpl_includeFile('navbar.html');
?>
      </ul>

      <div class="navbar-right">

        <?php 
if ($showSearchForm) {
    ?>
          <?php 
    bootstrap3_searchform();
    ?>
        <?php 
}
?>
コード例 #9
0
ファイル: mediamanager.php プロジェクト: neutrinog/Door43
if (!defined('DOKU_INC')) die();

?><!DOCTYPE html>
<html lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup no-js">
<head>
    <meta charset="utf-8" />
    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
    <title>
        <?php echo hsc($lang['mediaselect'])?>
        [<?php echo strip_tags($conf['title'])?>]
    </title>
    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
    <?php tpl_metaheaders()?>
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
    <?php tpl_includeFile('meta.html') ?>
</head>

<body>
    <!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
    <div id="media__manager" class="dokuwiki">
        <?php html_msgarea() ?>
        <div id="mediamgr__aside"><div class="pad">
            <h1><?php echo hsc($lang['mediaselect'])?></h1>

            <?php /* keep the id! additional elements are inserted via JS here */?>
            <div id="media__opts"></div>

            <?php tpl_mediaTree() ?>
        </div></div>
コード例 #10
0
                <?php 
if ($showSidebar) {
    ?>
                <!-- ********** ASIDE ********** -->
                    <div class="codo_side_content">
                        <?php 
    tpl_flush();
    ?>
                        <?php 
    tpl_includeFile('sidebarheader.html');
    ?>
                        <?php 
    tpl_include_page($conf['sidebar'], 1, 1);
    ?>
                        <?php 
    tpl_includeFile('sidebarfooter.html');
    ?>
                    </div>
                
            <?php 
}
?>
            
            <!--below div is end WEST pane-->
            </div>
    
   
    <!--below div is end content-->
    </div>
    <div style="display:none"><script type="text/javascript">
    var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
コード例 #11
0
ファイル: tpl_header.php プロジェクト: neutrinog/Door43
<?php
/**
 * Template header, included in the main and detail files
 */

// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
?>

<!-- ********** HEADER ********** -->
<div id="dokuwiki__header"><div class="pad group">

    <?php tpl_includeFile('header.html') ?>

    <div class="headings group">
        <ul class="a11y skip">
            <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content']; ?></a></li>
        </ul>

        <h1><?php
            // get logo either out of the template images folder or data/media folder
            $logoSize = array();
            $logo = tpl_getMediaFile(array(':wiki:logo.png', ':logo.png', 'images/logo.png'), false, $logoSize);

            // display logo and wiki title in a link to the home page
            tpl_link(
                wl(),
                '<img src="'.$logo.'" '.$logoSize[3].' alt="" /> <span>'.$conf['title'].'</span>',
                'accesskey="h" title="[H]"'
            );
        ?></h1>
コード例 #12
0
ファイル: tpl_footer.php プロジェクト: neutrinog/Door43
<?php
/**
 * Template footer, included in the main and detail files
 */

// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
?>

<!-- ********** FOOTER ********** -->
<div id="dokuwiki__footer"><div class="pad">
    <?php tpl_license(''); // license text ?>

    <div class="buttons">
        <?php
            tpl_license('button', true, false, false); // license button, no wrapper
            $target = ($conf['target']['extern']) ? 'target="'.$conf['target']['extern'].'"' : '';
        ?>
    </div>
</div></div><!-- /footer -->

<?php tpl_includeFile('footer.html') ?>