first commit. dokuwiki.
[h2N7SspZmY.git] / lib / tpl / default / main.php
blob2047ec46ad70d9376e897cf186bfe683686d6db8
1 <?php
2 /**
3 * DokuWiki Default Template
5 * This is the template you need to change for the overall look
6 * of DokuWiki.
8 * You should leave the doctype at the very top - It should
9 * always be the very first line of a document.
11 * @link http://dokuwiki.org/templates
12 * @author Andreas Gohr <andi@splitbrain.org>
15 // must be run from within DokuWiki
16 if (!defined('DOKU_INC')) die();
19 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
20 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
21 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
22 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
23 <head>
24 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
25 <title>
26 <?php tpl_pagetitle()?>
27 [<?php echo strip_tags($conf['title'])?>]
28 </title>
30 <?php tpl_metaheaders()?>
32 <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
34 <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
35 </head>
37 <body>
38 <?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
39 <div class="dokuwiki">
40 <?php html_msgarea()?>
42 <div class="stylehead">
44 <div class="header">
45 <div class="pagename">
46 [[<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?>]]
47 </div>
48 <div class="logo">
49 <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?>
50 </div>
52 <div class="clearer"></div>
53 </div>
55 <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>
57 <div class="bar" id="bar__top">
58 <div class="bar-left" id="bar__topleft">
59 <?php tpl_button('edit')?>
60 <?php tpl_button('history')?>
61 </div>
63 <div class="bar-right" id="bar__topright">
64 <?php tpl_button('recent')?>
65 <?php tpl_searchform()?>&nbsp;
66 </div>
68 <div class="clearer"></div>
69 </div>
71 <?php if($conf['breadcrumbs']){?>
72 <div class="breadcrumbs">
73 <?php tpl_breadcrumbs()?>
74 <?php //tpl_youarehere() //(some people prefer this)?>
75 </div>
76 <?php }?>
78 <?php if($conf['youarehere']){?>
79 <div class="breadcrumbs">
80 <?php tpl_youarehere() ?>
81 </div>
82 <?php }?>
84 </div>
85 <?php flush()?>
87 <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
89 <div class="page">
90 <!-- wikipage start -->
91 <?php tpl_content()?>
92 <!-- wikipage stop -->
93 </div>
95 <div class="clearer">&nbsp;</div>
97 <?php flush()?>
99 <div class="stylefoot">
101 <div class="meta">
102 <div class="user">
103 <?php tpl_userinfo()?>
104 </div>
105 <div class="doc">
106 <?php tpl_pageinfo()?>
107 </div>
108 </div>
110 <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
112 <div class="bar" id="bar__bottom">
113 <div class="bar-left" id="bar__bottomleft">
114 <?php tpl_button('edit')?>
115 <?php tpl_button('history')?>
116 <?php tpl_button('revert')?>
118 </div>
119 <div class="bar-right" id="bar__bottomright">
120 <?php tpl_button('subscribe')?>
121 <?php tpl_button('subscribens')?>
122 <?php tpl_button('admin')?>
123 <?php tpl_button('profile')?>
124 <?php tpl_button('login')?>
125 <?php tpl_button('index')?>
126 <?php tpl_button('top')?>&nbsp;
127 </div>
128 <div class="clearer"></div>
129 </div>
131 </div>
133 <?php tpl_license(false);?>
135 </div> <?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
137 <div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
138 <!-- INICIO DO CODIGO DO CONTADOR DE VISITAS 2W.COM.BR -->
139 <div align=center>
140 <img src="http://contador.2w.com.br/imgcontador.php?p=a6542ef3" alt="Contador de acesso" border=0>
141 <!-- FIM DO CODIGO DO CONTADOR DE VISITAS 2W.COM.BR -->
143 <!-- Begin Motigo Webstats counter code -->
144 <a id="mws4740943" href="http://webstats.motigo.com/">
145 <img width="80" height="15" border="0" alt="Free counter and web stats" src="http://m1.webstats.motigo.com/n80x15.gif?id=AEhXTwaaOHb7AF2T8gZ7DIjeW34g" /></a>
146 <script src="http://m1.webstats.motigo.com/c.js?id=4740943&amp;lang=EN&amp;i=3" type="text/javascript"></script>
147 <!-- End Motigo Webstats counter code -->
149 </div>
151 </body>
152 </html>