1<?php 2/** 3 * Doogies Dokuwiki Template 4 * 5 * @link http://dokuwiki.org/template:doogiestpl 6 * @author Andreas Gohr <andi@splitbrain.org> 7 * @author Robert Rackl 8 * @author Anika Henke <anika@selfthinker.org> 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 */ 13?> 14<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 15 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 16<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" 17 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>"> 18<head> 19 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 20 <title> 21 <?php echo strip_tags($conf['title'])?> 22 [<?php tpl_pagetitle()?>] 23 </title> 24 25 <?php tpl_metaheaders()?> 26 <?php echo tpl_favicon(array('favicon', 'mobile')) ?> 27 <?php tpl_includeFile('meta.html')?> 28</head> 29 30<body> 31<?php tpl_includeFile('topheader.html')?> 32<?php html_msgarea() ?> 33<div class="dokuwiki <?php if (tpl_getConf('hasLongTitles')) echo 'hasLongTitles' ?>"> 34 35 <!-- login state --> 36 <div class="user"> 37 <?php tpl_userinfo()?> 38 </div> 39 40 <!-- breadcrumbs --> 41 <?php if($conf['breadcrumbs']){?> 42 <div class="breadcrumbs"> 43 <?php tpl_breadcrumbs()?> 44 </div> 45 <?php }?> 46 47 <?php if($conf['youarehere']){?> 48 <div class="breadcrumbs"> 49 <?php tpl_youarehere() ?> 50 </div> 51 <?php }?> 52 53 <div class="clearer"></div> 54 55 <?php if (tpl_getConf('actionsToTop')): ?> 56 <div class="actions"> 57 <!-- page actions --> 58 <div class="bar-left" id="bar__bottomleft"> 59 <?php 60 global $conf; 61 global $auth; 62 global $lang; 63 64 tpl_button('login'); 65 if($conf['useacl'] && $auth){ 66 if($_SERVER['REMOTE_USER']){ // show only if user is logged in 67 tpl_button('revert'); 68 tpl_button('edit'); 69 tpl_actiondropdown(tpl_getLang('more_actions')); 70 } 71 } 72 ?> 73 </div> 74 75 <!-- search form --> 76 <div class="bar-right" id="bar__bottomright"> 77 <div class="searchbox"> 78 <?php tpl_searchform(); ?> 79 </div> 80 </div> 81 82 <div class="clearer"></div> 83 </div> 84 <?php endif; ?> 85 86 <div class="stylehead"> 87 <div class="header"> 88 <div class="logo"> 89 <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?> 90 </div> 91 <div class="tools"> 92 <div class="pagename"> 93 [[<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?>]] 94 </div> 95 </div> 96 97 <?php if (tpl_getConf('tabsPage')): ?> 98 <div class="clearer"></div> 99 <div class="tabnav" id="tab__nav"> 100 <?php tpl_include_page(tpl_getConf('tabsPage'), 1, 1) ?> 101 </div> 102 <?php endif; ?> 103 104 <div class="clearer"></div> 105 <?php tpl_includeFile('header.html')?> 106 </div> 107 </div> 108 <?php flush()?> 109 110 <?php tpl_includeFile('pageheader.html')?> 111 112 <div class="page"> 113 <!-- ......... wikipage start ......... --> 114 <?php tpl_content()?> 115 <!-- ......... wikipage stop ......... --> 116 </div> 117 118 <div class="clearer"></div> 119 120 <?php flush()?> 121 122 123 <!-- footer --> 124 <div class="stylefoot"> 125 126 <?php tpl_includeFile('pagefooter.html')?> 127 128 <div class="bar" id="bar__bottom"> 129 <!-- page metadata --> 130 <div class="meta"> 131 <div class="doc"> 132 <?php tpl_pageinfo()?> 133 </div> 134 </div> 135 136 <?php if (!tpl_getConf('actionsToTop') || (tpl_getConf('actionsToTop') == 2)): ?> 137 <!-- page actions --> 138 <div class="bar-left" id="bar__bottomleft"> 139 <?php 140 global $conf; 141 global $auth; 142 global $lang; 143 144 tpl_button('login'); 145 if($conf['useacl'] && $auth){ 146 if($_SERVER['REMOTE_USER']){ // show only if user is logged in 147 tpl_button('revert'); 148 tpl_button('edit'); 149 tpl_actiondropdown(tpl_getLang('more_actions')); 150 } 151 } 152 ?> 153 </div> 154 155 <!-- search form --> 156 <div class="bar-right" id="bar__bottomright"> 157 <div class="searchbox"> 158 <?php tpl_searchform(); ?> 159 </div> 160 </div> 161 162 <div class="clearer"></div> 163 <?php endif; ?> 164 165 </div> 166 167 </div> 168 169</div> 170 171<?php tpl_includeFile('footer.html')?> 172 173<div class="no"> 174 <?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?> 175</div> 176 177</body> 178</html> 179