[ Index ] |
PHP Cross Reference of DokuWiki |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * DokuWiki Default Template 4 * 5 * This is the template you need to change for the overall look 6 * of DokuWiki. 7 * 8 * @link http://dokuwiki.org/templates 9 * @author Andreas Gohr <andi@splitbrain.org> 10 */ 11 12 // must be run from within DokuWiki 13 if (!defined('DOKU_INC')) die(); 14 15 ?> 16 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 17 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 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']?>"> 20 <head> 21 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 22 <title> 23 <?php tpl_pagetitle()?> 24 [<?php echo strip_tags($conf['title'])?>] 25 </title> 26 27 <?php tpl_metaheaders()?> 28 <?php echo tpl_favicon(array('favicon', 'mobile')) ?> 29 30 <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?> 31 </head> 32 33 <body> 34 <?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?> 35 <div class="dokuwiki"> 36 <?php html_msgarea()?> 37 38 <div class="stylehead"> 39 40 <div class="header"> 41 <div class="pagename"> 42 [[<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?>]] 43 </div> 44 <div class="logo"> 45 <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?> 46 </div> 47 48 <div class="clearer"></div> 49 </div> 50 51 <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?> 52 53 <div class="bar" id="bar__top"> 54 <div class="bar-left" id="bar__topleft"> 55 <?php tpl_button('edit')?> 56 <?php tpl_button('history')?> 57 </div> 58 59 <div class="bar-right" id="bar__topright"> 60 <?php tpl_button('recent')?> 61 <?php tpl_searchform()?>  62 </div> 63 64 <div class="clearer"></div> 65 </div> 66 67 <?php if($conf['breadcrumbs']){?> 68 <div class="breadcrumbs"> 69 <?php tpl_breadcrumbs()?> 70 <?php //tpl_youarehere() //(some people prefer this)?> 71 </div> 72 <?php }?> 73 74 <?php if($conf['youarehere']){?> 75 <div class="breadcrumbs"> 76 <?php tpl_youarehere() ?> 77 </div> 78 <?php }?> 79 80 </div> 81 <?php tpl_flush()?> 82 83 <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?> 84 85 <div class="page"> 86 <!-- wikipage start --> 87 <?php tpl_content()?> 88 <!-- wikipage stop --> 89 </div> 90 91 <div class="clearer"></div> 92 93 <?php tpl_flush()?> 94 95 <div class="stylefoot"> 96 97 <div class="meta"> 98 <div class="user"> 99 <?php tpl_userinfo()?> 100 </div> 101 <div class="doc"> 102 <?php tpl_pageinfo()?> 103 </div> 104 </div> 105 106 <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?> 107 108 <div class="bar" id="bar__bottom"> 109 <div class="bar-left" id="bar__bottomleft"> 110 <?php tpl_button('edit')?> 111 <?php tpl_button('history')?> 112 <?php tpl_button('revert')?> 113 </div> 114 <div class="bar-right" id="bar__bottomright"> 115 <?php tpl_button('subscribe')?> 116 <?php tpl_button('media')?> 117 <?php tpl_button('admin')?> 118 <?php tpl_button('profile')?> 119 <?php tpl_button('login')?> 120 <?php tpl_button('index')?> 121 <?php tpl_button('top')?>  122 </div> 123 <div class="clearer"></div> 124 </div> 125 126 </div> 127 128 <?php tpl_license(false);?> 129 130 </div> 131 <?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?> 132 133 <div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div> 134 </body> 135 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Sep 1 03:00:06 2013 | Cross-referenced by PHPXref 0.7 |