1<?php 2/** 3 * Cutopillar Template 4 * Based on the starter template 5 * 6 * @link http://dokuwiki.org/template:cutopillar 7 * @author desbest <afaninthehouse@gmail.com> 8 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 9 */ 10 11if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */ 12@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ 13header('X-UA-Compatible: IE=edge,chrome=1'); 14 15$showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER']) ); 16$showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show'); 17?><!DOCTYPE html> 18<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>" 19 lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js"> 20<head> 21 <meta charset="UTF-8" /> 22 <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title> 23 <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script> 24 <?php tpl_metaheaders() ?> 25 <meta name="viewport" content="width=device-width,initial-scale=1" /> 26 <?php echo tpl_favicon(array('favicon', 'mobile')) ?> 27 <?php tpl_includeFile('meta.html') ?> 28 <script defer type="text/javascript" src="<?php echo tpl_basedir();?>/mobileinputsize.js"></script> 29</head> 30 31<body> 32 33 34<div id="dokuwiki__top" class="offset site <?php echo tpl_classes(); ?> <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>"> 35 <div class="sidebar" id="topmenu"> 36 <div class="widget-area aside"> 37 <ul class="xoxo"> 38 <li class="widget-container widget_categories" id="categories-7"> 39 <!-- <h3 class="widget-title">Categories</h3> --> 40 <div class="padhere" for="cat"> <br></div> 41 <?php 42 echo (new \dokuwiki\Menu\MobileMenu())->getDropdown('Wiki Menu'); 43 ?> 44 </li> 45 </ul> 46 </div> 47 </div> 48 49 <?php tpl_includeFile('header.html') ?> 50 <div class="header"> 51 <h1 id="blog-title"><?php tpl_link(wl(),$conf['title'],'accesskey="h" title="[H]"') ?></h1> 52 <?php /* how to insert logo instead (if no CSS image replacement technique is used): 53 upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly: 54 tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?> 55 <?php if ($conf['tagline']): ?> 56 <p id="blog-description" class="claim"><?php echo $conf['tagline'] ?></p> 57 <?php endif ?> 58 59 <!-- BREADCRUMBS --> 60 <?php if($conf['breadcrumbs']){ ?> 61 <div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div> 62 <?php } ?> 63 <?php if($conf['youarehere']){ ?> 64 <div class="breadcrumbs"><?php tpl_youarehere() ?></div> 65 <?php } ?> 66 67 <ul class="a11y skip"> 68 <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content'] ?></a></li> 69 </ul> 70 </div> 71 <div class="statrow flex"> 72 <div class="statcol content sparewidth"> 73 74 <?php html_msgarea() /* occasional error and info messages on top of the page */ ?> 75 <!-- <div class="content"> --> 76 <div class="posthere"> 77 <!-- <h2 class="entry-title"><a href="=" rel="bookmark" title="Permalink to blog post">Blog post title</a></h2> 78 <div class="entry-meta"> 79 <!-- <span class="meta-prep meta-prep-author">Posted on</span> --> 80 <!-- <a href="">August 11, 2012</a> by <a href="#">desbest</a> 81 </div> --> 82 <div class="readingcontent"> 83 84 <!-- ********** CONTENT ********** --> 85 <div id="dokuwiki__content"><div class="pad"> 86 <?php tpl_flush() /* flush the output buffer */ ?> 87 <?php tpl_includeFile('pageheader.html') ?> 88 89 <div class="page"> 90 <!-- wikipage start --> 91 <?php tpl_content() /* the main content */ ?> 92 <!-- wikipage stop --> 93 <div class="clearer"></div> 94 </div> 95 96 <?php tpl_flush() ?> 97 <?php tpl_includeFile('pagefooter.html') ?> 98 </div></div><!-- /content --> 99 100 <!-- <p><a class="more-link" href="http://localhost/prowler2/2012/08/a-history-of-facebook-designs-part-3/#more-491">Continue reading →</a></p> --> 101 </div> 102 <!-- <ul class="xoxo"> 103 <li class="widget-container widget_text" id="text-5"> 104 <div class="textwidget"></div> 105 </li> 106 </ul> --> 107 <!-- <div class="entry-utility"> 108 Posted in <a href="">Design</a> | <a href="">1 Comment</a> 109 </div> --> 110 </div> 111 <!-- <div class="padbelow"> 112 <a href="#">← Older posts</a> 113 </div> --> 114 <!-- <ul class="xoxo"> 115 <li class="widget-container widget_text" id="text-7"> 116 <div class="textwidget"></div> 117 </li> 118 </ul> --> 119 <!--wp_footer--> 120 <!-- </div> --> 121 </div> 122 123 124 <!-- ********** ASIDE ********** --> 125 <?php if ($showSidebar): ?> 126 <div class="statcol"> 127 <div class="realsidebar"> 128 <div id="writtensidebar"> 129 <?php tpl_includeFile('sidebarheader.html') ?> 130 <?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?> 131 <?php tpl_includeFile('sidebarfooter.html') ?> 132 <div class="clearer"></div> 133 </div><!-- /aside --> 134 <!-- <p>Here is the sidebar.<br><br></p> --> 135 136 </div> 137 </div> 138 <?php endif; ?> 139 140 141 </div> 142 </div> <!-- end statrow --> 143 <div class="statrow"> 144 <div class="sidebar" style="width: 90%; margin-left: auto; margin-right: auto;"> 145 <p>Cutopillar theme <a href="http://desbest.com">designed by desbest</a></p> 146 <div class="doc"><p><?php tpl_pageinfo() /* 'Last modified' etc */ ?></p></div> 147 <?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?> 148 <?php tpl_includeFile('footer.html') ?> 149 </div> 150 <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div> 151 </div> 152 153 154 155 <?php /* with these Conditional Comments you can better address IE issues in CSS files, 156 precede CSS rules by #IE8 for IE8 (div closes at the bottom) */ ?> 157 <!--[if lte IE 8 ]><div id="IE8"><![endif]--> 158 159 <?php /* the "dokuwiki__top" id is needed somewhere at the top, because that's where the "back to top" button/link links to */ ?> 160 <?php /* tpl_classes() provides useful CSS classes; if you choose not to use it, the 'dokuwiki' class at least 161 should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?> 162 163 164 165 166 167 168 169 170 171 172 173 174</body> 175</html> 176