1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<?php 4/** 5 * 'amanuensis' Template for DokuWiki 6 * 7 * This is the template you need to change for the overall look of DokuWiki. 8 * 9 * @link http://wiki.splitbrain.org/wiki:tpl:templates 10 * @author Andreas Gohr <andi@splitbrain.org> 11 * @author Paul Minifie 12 */ 13?> 14 15<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" 16 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>"> 17<head> 18 <title><?php echo $ID?> [<?php echo hsc($conf['title'])?>]</title> 19 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 20 21 <?php tpl_metaheaders()?> 22 23 <link rel="shortcut icon" href="<?php echo DOKU_BASE?>lib/images/favicon.ico" /> 24 <link rel="stylesheet" media="screen" type="text/css" href="<?php echo DOKU_TPL?>layout.css" /> 25 <link rel="stylesheet" media="screen" type="text/css" href="<?php echo DOKU_TPL?>design.css" /> 26 <link rel="stylesheet" media="screen" type="text/css" href="<?php echo DOKU_TPL?>content.css" /> 27 <link rel="stylesheet" media="screen" type="text/css" href="<?php echo DOKU_TPL?>index.css" /> 28 <link rel="stylesheet" media="print" type="text/css" href="<?php echo DOKU_TPL?>print.css" /> 29 <?php if($lang['direction'] == 'rtl') {?> 30 <link rel="stylesheet" media="screen" type="text/css" href="<?php echo DOKU_TPL?>rtl.css" /> 31 <?php } ?> 32 33 <!--[if gte IE 5]> 34 <style type="text/css"> 35 /* that IE 5+ conditional comment makes this only visible in IE 5+ */ 36 /* IE bugfix for transparent PNGs */ 37 img { behavior: url("<?php echo DOKU_BASE?>lib/scripts/pngbehavior.htc");} 38 </style> 39 <![endif]--> 40 41 <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?> 42 43</head> 44 45<body> 46 47<!-- loads the javascript for the dropdown menu --> 48<!-- Simple Website Menu script by brothercake - http://www.brothercake.com/ --> 49<script type="text/javascript" src="<?php echo DOKU_TPL?>/inc/index.js"></script> 50<script type="text/javascript" src="<?php echo DOKU_TPL?>/inc/script.js"></script> 51<!-- --> 52 53<?php 54 55if(!defined('DOKU_TPL_URL')) define('DOKU_TPL_URL',realpath(dirname(__FILE__)).'/'); 56//loads modified dokuwiki functions, renamed with a _mod suffix 57require_once (DOKU_TPL_URL.'inc/functionmods.php'); 58//loads the additional button language file 59//FIXME - add language specific logic 60require_once (DOKU_TPL_URL.'lang/en/lang.php'); 61//loads the functions for the title menu index 62require_once (DOKU_TPL_URL.'inc/index.php'); 63?> 64 65<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?> 66 67 <div id="dokuwiki"> 68 <?php html_msgarea()?> 69 70 <div class="stylehead"> 71 <div id="header"> 72 <div id ="controls"> 73 <div id="bar_search"> 74 <ul> 75 <li><?php tpl_searchform_mod()?></li> 76 </ul> 77 </div> 78 <div id="bar_admin"> 79 <ul> 80 <li><?php tpl_actionlink('recent')?></li> 81 <?php if($conf['amanuensis']['nspages']=='false'){?> 82 <li><?php tpl_actionlink('index')?></li> 83 <?php }?> 84 <li><?php tpl_actionlink('subscribe')?></li> 85 <li><?php tpl_actionlink('login')?></li> 86 <!-- enable for mod described at http://wiki.splitbrain.org/wiki:discussion:manageprofile?s=profile --> 87 <li><?php tpl_actionlink_mod('profile')?></li> 88 <li><?php tpl_actionlink('admin')?></li> 89 </ul> 90 </div> 91 <div id="bar_edit"> 92 <ul> 93 <li><?php tpl_actionlink_mod('edit')?></li> 94 <li><?php tpl_actionlink('history')?></li> 95 <li><?php tpl_actionlink_mod('about')?></li> 96 <li><?php tpl_actionlink_mod('help')?></li> 97 </ul> 98 </div> 99 <div id="bar_addpage"> 100 <ul> 101 <li><?php tpl_addpage()?></li> 102 </ul> 103 </div> 104 </div> 105 106 <div id="backlinks"> 107 <?php tpl_actionlink_mod('back')?> 108 </div> 109 110 <div id="logo"> 111 <img src="<?php echo DOKU_TPL?>images/logo/amanuensis.png" width="140" height="90" class="border-C_TL"> 112 </div> 113 114 <div class="title"> 115 <?php tpl_link(wl(),$conf['title'],'name="top" accesskey="h" title="[ALT+H]"')?> 116 </div> 117 118 <div id="nav"> 119 <?php html_index_mod ($IDX) ?> 120 </div> 121 122 <div id="breadcrumbs"> 123 <?php if($conf['breadcrumbs']){?> 124 <div class="breadcrumbs"> 125 <?php tpl_breadcrumbs()?> 126 </div> 127 <?php }?> 128 </div> 129 130 </div> <!-- end header --> 131 <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?> 132 </div> <!-- end stylehead --> 133 134 <?php flush()?> 135 136 <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?> 137 138 139 <div id="page"> 140 141 <!-- debug info --> 142 <?php global $debug; 143 echo highlight_string(print_r($debug,true),true); ?> 144 <!-- end debug info --> 145 146 <!-- wikipage start --> 147 <?php tpl_content()?> 148 <!-- wikipage stop --> 149 150 </div> 151 152 <div class="clearer"> </div> 153 154 <?php flush()?> 155 156 <div id="footer" class="stylefoot"> 157 158 <div class="meta"> 159 <div class="user"> 160 <?php tpl_userinfo()?> 161 </div> 162 <div class="doc"> 163 <?php tpl_pageinfo()?> 164 </div> 165 </div> 166 167 <!--- 168 <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?> 169 <div class="bar" id="bar_bottom"> 170 <div class="bar-left" id="bar_bottomleft"> 171 </div> 172 <div class="bar-right" id="bar_bottomright"> 173 <?php tpl_button('top')?> 174 </div> 175 </div> 176 ---> 177 178 <div id='top_button'> 179 <?php tpl_actionlink_mod('top')?> 180 </div> 181 </div> <!-- close style foot --> 182</div> <!-- close dokuwiki --> 183 184<?php tpl_indexerWebBug()?> 185</body> 186</html> 187