1<?php
2/**
3 * Drupal Garland Blue Theme for DokuWiki
4 * All credits for the design go to Drupal.
5 *
6 * @link   http://www.dokuwiki.org/template:drupal_garland_blue
7 * @link   http://mirko.windhoff.net/drupal-garland-for-dokuwiki
8 * @author Andreas Gohr <andi@splitbrain.org>
9 * @author mirko.windhoff.net
10 */
11
12// must be run from within DokuWiki
13if (!defined('DOKU_INC')) die();
14
15require_once(dirname(__FILE__).'/tpl_functions.php');
16?>
17<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
18 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
19<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
20 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
21<head>
22 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
23 <title><?php tpl_pagetitle()?> | <?php echo strip_tags($conf['title'])?></title>
24 <?php tpl_metaheaders()?>
25 <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
26 <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
27</head>
28
29<body>
30<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
31 <div class="dokuwiki">
32  <?php html_msgarea()?>
33  <div class="stylehead">
34   <div class="header">
35    <!--<div class="logo">
36     <?php tpl_link(wl(),'<img src="'.DOKU_TPL.'images/logo.png" alt="'.$conf['title'].'"/>','name="dokuwiki__top"')?>
37    </div>-->
38    <div class="top_menu">
39    <?php echo p_sidebar_xhtml('top_navigation')?>
40    </div>
41    <div class="logotitle">
42     <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?>
43    </div>
44    <?php
45# $translation = &plugin_load('syntax','translation');
46# echo $translation->_showTranslations();
47?>
48<?php #    <div class="pagename">[[<php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true))>]]</div>?>
49    <div class="clearer"></div>
50    <br />
51     <div class="bar-left" id="bar__topleft"><?php
52#      tpl_button('edit');
53#      tpl_button('history');
54/*      if($conf['breadcrumbs']) {
55        echo '<div class="breadcrumbs">';
56        tpl_breadcrumbs();
57        echo '</div>';
58      }
59*/?>
60      </div>
61   </div>
62   <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>
63  </div>
64<?php flush()?>
65  <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
66  <table class="layout" cellspacing="0" cellpadding="0">
67   <tr valign="top">
68    <td class="layout_left">
69     <?php tpl_sidebar("left"); ?>
70    </td>
71<?php flush()?>
72    <td class="layout_center">
73     <div class="squeeze">
74      <div class="right-corner">
75       <div class="left-corner">
76      <div class="bar-left" id="bar_topleft"><?php
77      if($conf['youarehere']) {
78        echo '<div class="breadcrumbs">';
79        tpl_youarehere2();
80        echo '</div>';
81      } ?>
82      </div>
83      <div class="bar-right" id="bar__topright"><?php
84     if( auth_quickaclcheck( $Sb ) >= AUTH_EDIT ) {
85       tpl_button('edit');
86       tpl_button('history');
87       tpl_button('index');
88       tpl_button('admin');
89       tpl_button('profile');
90     }
91     tpl_button('login');
92     tpl_button('recent');
93     tpl_searchform();
94      ?></div>
95        <div class="page">
96        <!-- wikipage start -->
97        <?php tpl_content()?>
98        <!-- wikipage stop -->
99        </div>
100       </div>
101      </div>
102     </div>
103    </td>
104<?php flush()?>
105   <td class="layout_right"><?php tpl_sidebar('right') ?></td>
106   </tr>
107  </table>
108  <div class="clearer">&nbsp;</div>
109<?php flush()?>
110  <div class="stylefoot">
111   <div class="meta">
112    <div class="doc"><?php tpl_pageinfo()?></div>
113    <div class="user"><?php tpl_userinfo()?></div>
114   </div>
115   <div class="bar" id="bar__bottom">
116    <div class="bar-left" id="bar__bottomleft"><?php tpl_button('edit')?><?php tpl_button('history')?></div>
117    <div class="bar-left" id="bar__bottomcenter">
118     <?php $tgt = ($conf['target']['extern']) ? 'target="'.$conf['target']['extern'].'"' : ''; ?>
119     <a <?php echo $tgt?> href="<?php echo DOKU_BASE; ?>feed.php" title="Recent changes RSS feed"><img src="<?php echo DOKU_TPL; ?>images/button-rss.png" width="80" height="15" alt="Recent changes RSS feed" /></a>
120     <a <?php echo $tgt?> href="http://creativecommons.org/licenses/by-nc-sa/2.0/" rel="license" title="Creative Commons License"><img src="<?php echo DOKU_TPL; ?>images/button-cc.gif" width="80" height="15" alt="Creative Commons License" /></a>
121     <a <?php echo $tgt?> href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0"><img src="<?php echo DOKU_TPL; ?>images/button-xhtml.png" width="80" height="15" alt="Valid XHTML 1.0" /></a>
122     <a <?php echo $tgt?> href="http://jigsaw.w3.org/css-validator/check/referer" title="Valid CSS"><img src="<?php echo DOKU_TPL; ?>images/button-css.png" width="80" height="15" alt="Valid CSS" /></a>
123     <a <?php echo $tgt?> href="http://wiki.splitbrain.org/wiki:dokuwiki" title="Driven by DokuWiki"><img src="<?php echo DOKU_TPL; ?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a>
124    </div>
125    <div class="bar-right" id="bar__bottomright"><?php
126     tpl_button('subscribe');
127     tpl_button('admin');
128     tpl_button('profile');
129     tpl_button('login');
130     ?></div>
131    <div class="clearer"></div>
132   </div>
133   <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
134  </div>
135 </div>
136 <?php /* Remove this invisible link if it bothers you. */ ?>
137 <a style="display:none;" href="http://mirko.windhoff.net/drupal-garland-for-dokuwiki">Drupal Garland Theme for Dokuwiki</a>
138 <?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
139 <div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
140</body>
141</html>
142