1<?php 2/** 3 * DokuWiki Art For Water Template 4 * Based on the starter template 5 * 6 * @link http://dokuwiki.org/template:artforwater 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</head> 29 30<body> 31 32 33 <div class="loading" id="loading">Loading more results</div><div class="wrapper2"><div class="leftbar"></div> 34 35<div class="statrow" id="dokuwiki__top"> 36 <div class="statcol" style="width: 38px;"> </div> 37 <?php tpl_includeFile('header.html') ?> 38 <div class="statcol biggeronmobile"> 39 <div class="header2"><?php tpl_link(wl(),$conf['title'],'accesskey="h" title="[H]"') ?></div> 40 <?php if ($conf['tagline']): ?> 41 <p class="claim"><?php echo $conf['tagline'] ?></p> 42 <?php endif ?> 43 </div> 44 <?php /* how to insert logo instead (if no CSS image replacement technique is used): 45 upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly: 46 tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?> 47 48 49 50 51 <ul class="a11y skip"> 52 <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content'] ?></a></li> 53 </ul> 54 <div class="statcol" style="width: 48%;"> 55 <div class="tagline"> 56 <!-- <p>This theme is made by <a href="http://desbest.com" target="_blank">desbest</a> and <a href="http://jessicarussellflint.co.uk" target="_blank">Jessica Russell Flint</a></p> --> 57 <ul class="headermenu"> 58 <!-- SITE TOOLS --> 59 <h3 class="a11y"><?php echo $lang['site_tools'] ?></h3> 60 <?php tpl_searchform() ?> 61 <?php tpl_toolsevent('sitetools', array( 62 'recent' => tpl_action('recent', 1, 'li', 1), 63 'media' => tpl_action('media', 1, 'li', 1), 64 'index' => tpl_action('index', 1, 'li', 1), 65 )); ?> 66 </ul> 67 </div> 68 69 </div> 70</div> 71 72<div class="statrow"><div class="statcol nofloatonmobile" style="padding: 5px; width: 100%; box-sizing: border-box;"> 73 <!-- BREADCRUMBS --> 74 <?php if($conf['breadcrumbs']){ ?> 75 <div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div> 76 <?php } ?> 77 <?php if($conf['youarehere']){ ?> 78 <div class="breadcrumbs"><?php tpl_youarehere() ?></div> 79 <?php } ?> 80<div class="pagetitle w100"></div> </div> 81</div> 82 83a 84<div class="statrow"> 85 86 <!-- <div class="shoulderline">Newest Products</div> --> 87 <!-- <div style="clear"></div> --> 88 89 90 <!-- PAGE ACTIONS --> 91 <?php if ($showTools): ?> 92 <h3 class="a11y"><?php echo $lang['page_tools'] ?></h3> 93 <ul class="inlinemenu"> 94 <?php tpl_toolsevent('pagetools', array( 95 'edit' => tpl_action('edit', 1, 'li', 1), 96 'discussion'=> _tpl_action('discussion', 1, 'li', 1), 97 'revisions' => tpl_action('revisions', 1, 'li', 1), 98 'backlink' => tpl_action('backlink', 1, 'li', 1), 99 'subscribe' => tpl_action('subscribe', 1, 'li', 1), 100 'revert' => tpl_action('revert', 1, 'li', 1), 101 'top' => tpl_action('top', 1, 'li', 1), 102 )); ?> 103 </ul> 104 <?php endif; ?> 105 106 <div class="noticearea"><?php html_msgarea() /* occasional error and info messages on top of the page */ ?></div> 107 <!-- ********** CONTENT ********** --> 108 109 <div class="statrow" id="itemshere"> 110 111 <div id="dokuwiki__content" class="statcol site <?php echo tpl_classes(); ?> <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>"> 112 <?php tpl_flush() /* flush the output buffer */ ?> 113 <?php tpl_includeFile('pageheader.html') ?> 114 115 <div class="page"> 116 <!-- wikipage start --> 117 <?php tpl_content() /* the main content */ ?> 118 <!-- wikipage stop --> 119 <div class="clearer"></div> 120 </div> 121 122 <?php tpl_flush() ?> 123 <?php tpl_includeFile('pagefooter.html') ?> 124 </div><!-- /content --> 125 126 127 <!-- ********** ASIDE ********** --> 128 129 <div id="sidebarhere" class="statcol"><div class="pad aside include group"> 130 <?php if ($showSidebar): ?> 131 <div id="writtensidebar"> 132 <?php tpl_includeFile('sidebarheader.html') ?> 133 <?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?> 134 <?php tpl_includeFile('sidebarfooter.html') ?> 135 <div class="clearer"></div> 136 </div> 137 <?php endif; ?> 138 139 <!-- USER TOOLS --> 140 <?php if ($conf['useacl'] && $showTools): ?> 141 <h1>User Tools</h1> 142 <h3 class="a11y"><?php echo $lang['user_tools'] ?></h3> 143 <ul> 144 <?php 145 if (!empty($_SERVER['REMOTE_USER'])) { 146 echo '<li class="user">'; 147 tpl_userinfo(); /* 'Logged in as ...' */ 148 echo '</li>'; 149 } 150 ?> 151 <?php /* the optional second parameter of tpl_action() switches between a link and a button, 152 e.g. a button inside a <li> would be: tpl_action('edit', 0, 'li') */ 153 ?> 154 <?php tpl_toolsevent('usertools', array( 155 'admin' => tpl_action('admin', 1, 'li', 1), 156 'userpage' => _tpl_action('userpage', 1, 'li', 1), 157 'profile' => tpl_action('profile', 1, 'li', 1), 158 'register' => tpl_action('register', 1, 'li', 1), 159 'login' => tpl_action('login', 1, 'li', 1), 160 )); ?> 161 </ul> 162 <?php endif ?> 163 164 </div></div><!-- /aside --> 165 166 167 </div> 168 <div class="statrow footer"> 169 <p>Art for water theme by <a href="http://desbest.com">desbest</a> and <a href="http://jessicarussellflint.co.uk">Jessica Russell Flint</a></p> 170 <div class="doc"><?php tpl_pageinfo() /* 'Last modified' etc */ ?></div> 171 <?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?> 172 <?php tpl_includeFile('footer.html') ?> 173 <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div> 174 </div> 175 176</div> 177<div id="dontlike"></div> 178 179 180 <?php /* with these Conditional Comments you can better address IE issues in CSS files, 181 precede CSS rules by #IE8 for IE8 (div closes at the bottom) */ ?> 182 <!--[if lte IE 8 ]><div id="IE8"><![endif]--> 183 184 <?php /* the "dokuwiki__top" id is needed somewhere at the top, because that's where the "back to top" button/link links to */ ?> 185 <?php /* tpl_classes() provides useful CSS classes; if you choose not to use it, the 'dokuwiki' class at least 186 should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?> 187 188 189 190 191 192 193 194 195 196</body> 197</html> 198