1<?php if (isset($DOKU_TPL)==FALSE) $DOKU_TPL = DOKU_TPL; if (isset($DOKU_TPLINC)==FALSE) $DOKU_TPLINC = DOKU_TPLINC; ?> 2<?php 3if (!empty($INFO['userinfo'])) { 4 $user = true; 5} 6/** 7 * Theme by Oscar M. Lage 8 * @author Oscar M. Lage <r0sk10@gmail.com> 9 * @link http://7throot.com 10 */ 11 12require_once(dirname(__FILE__).'/tpl_functions.php'); 13 14?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 15<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']; ?>" lang="<?php echo $conf['lang']; ?>"> 16 <head> 17 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 18 <meta http-equiv="Content-Style-Type" content="text/css" /> 19 <?php tpl_metaheaders(); ?> 20 <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/> 21 <title><?php echo strip_tags($conf['title'])?> » <?php tpl_pagetitle()?></title> 22 </head> 23 <body> 24 <!-- Wrapper --> 25 <div id="wrapper"> 26 27 <!-- DokuWiki --> 28 <div id="dokuwiki"> 29 30 <!-- Header --> 31 <div id="header"> 32 33 <!-- Menu --> 34 <div class="menu"> 35 <?php print tpl_mypage("menu1"); ?> 36 </div> 37 <!-- /Menu --> 38 39 </div> 40 <!-- /Header --> 41 42 43 <!-- Body --> 44 <div id="body"> 45 <?php html_msgarea()?> 46 47 <?php flush(); ?> 48 49 <!-- Sidebar --> 50 <div class="sidebar"> 51 52 <!-- search and actions --> 53 <div class="search actions"> 54 <?php if ($user) { ?> 55 <?php tpl_actionlink("edit", '<img src="'.$DOKU_TPL.'images/ico/edit.png" title="','" />'); ?> 56 <?php tpl_actionlink("history", '<img src="'.$DOKU_TPL.'images/ico/history.png" title="','" />'); ?> 57 <?php tpl_actionlink("profile", '<img src="'.$DOKU_TPL.'images/ico/user.png" title="','" />'); ?> 58 <?php tpl_actionlink("admin", '<img src="'.$DOKU_TPL.'images/ico/admin.png" title="','" />'); ?> 59 <?php tpl_actionlink("login", '<img src="'.$DOKU_TPL.'images/ico/logout.png" title="','" />'); ?> 60 <?php } ?> 61 <?php if (!$user) { ?> 62 <?php tpl_actionlink("history", '<img src="'.$DOKU_TPL.'images/ico/history.png" title="','" />'); ?> 63 <?php tpl_actionlink("login", '<img src="'.$DOKU_TPL.'images/ico/login.png" title="','" />'); ?> 64 <?php } ?> 65 </div> 66 <!-- search and actions --> 67 <!-- tpl_sidebar --> 68 <?php tpl_sidebar('left') ?> 69 <!-- /tpl_sidebar --> 70 <br /><br /> 71 <!-- search and actions --> 72 <div class="search"><?php tpl_searchform()?></div> 73 <div class="search actions"> 74 <?php if ($user) { ?> 75 <span class="btn"><a href="?do=edit&revs="><img src="<?php echo $DOKU_TPL; ?>images/ico/edit.png" title="<?php echo $lang['btn_edit']; ?>" /></a></span> 76 <span class="btn"><a href="?do=revisions"><img src="<?php echo $DOKU_TPL; ?>images/ico/history.png" title="<?php echo $lang['btn_revs']; ?>" /></a></span> 77 <span class="btn"><a href="?do=profile"><img src="<?php echo $DOKU_TPL; ?>images/ico/user.png" title="<?php echo $lang['btn_profile']; ?>" /></a></span> 78 <span class="btn"><a href="?do=admin"><img src="<?php echo $DOKU_TPL; ?>images/ico/admin.png" title="<?php echo $lang['btn_admin']; ?>" /></a></span> 79 <span class="btn"><a href="?do=logout"><img src="<?php echo $DOKU_TPL; ?>images/ico/logout.png" title="<?php echo $lang['btn_logout']; ?>" /></a></span> 80 <?php } ?> 81 <?php if (!$user) { ?> 82 <span class="btn"><a href="?do=revisions"><img src="<?php echo $DOKU_TPL; ?>images/ico/history.png" title="<?php echo $lang['btn_revs']; ?>" /></a></span> 83 <span class="btn"><a href="?do=login"><img src="<?php echo $DOKU_TPL; ?>images/ico/login.png" title="<?php echo $lang['btn_login']; ?>" /></a></span> 84 <?php } ?> 85 </div> 86 <!-- /search and actions --> 87 </div> 88 <!-- /Sidebar --> 89 90 <!-- Content --> 91 <div id="Content"> 92 93 <!-- Breadcrumbs --> 94 <div class="breadcrumbs"><?php tpl_youarehere(); ?></div> 95 <!-- /Breadcrumbs --> 96 97 <?php tpl_content(); ?> 98 99 </div> 100 <!-- /Content --> 101 102 <?php flush(); ?> 103 104 </div> 105 <!-- Body --> 106 107 <!-- Footer --> 108 <div id="footer"> 109 <div class="links"> 110 <ul> 111 <li>Powered by <a <?php echo $tgt?> href="http://wiki.splitbrain.org/wiki:dokuwiki" title="Driven by DokuWiki">Dokuwiki</a> - theme by <a href="http://www.userlinux.net">Oscar M. Lage</a> - inspired on <a href="http://www.ilemoned.com/archives/wptheme-greenery">Greenery</a></li> 112 </ul> 113 </div> 114 </div> 115 <!-- Footer --> 116 117 </div> 118 <!-- DokuWiki --> 119 120 </div> 121 <!-- Wrapper --> 122 123 <div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div> 124 </body> 125</html> 126