1<?php 2 3if (!defined('DOKU_INC')) die(); 4 5if (!defined('H6E_CSS')) { 6 if (file_exists(dirname(__FILE__) . '/h6e-minimal')) { 7 define('H6E_CSS', DOKU_URL . 'lib/tpl/minimal'); 8 } else { 9 define('H6E_CSS', 'http://h6e.net/css'); 10 } 11} 12 13if (empty($_REQUEST['do']) || in_array($_REQUEST['do'], array('revisions', 'show', 'edit'))) { 14 $page_type = 'content-page'; 15} else { 16 $page_type = 'do-page'; 17} 18 19?> 20<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 21 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 22<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" 23 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>"> 24<head> 25 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 26 <title><?php tpl_pagetitle() ?> - <?php echo strip_tags($conf['title']) ?></title> 27 28 <link rel="stylesheet" media="screen" href="<?php echo H6E_CSS ?>/h6e-minimal/h6e-minimal.css" /> 29 30 <?php tpl_metaheaders() ?> 31 32 <style type="text/css"> 33 <?php if (tpl_getConf('width') != 'auto') : ?> 34 .h6e-main-content { 35 width:<?php echo tpl_getConf('width') ?>; 36 padding-left:2.5em; 37 padding-right:2.5em; 38 } 39 <?php endif ?> 40 .h6e-post-content { 41 font-size:<?php echo tpl_getConf('font-size') ?>; 42 } 43 .h6e-entry-title, .h6e-entry-title a, .h6e-entry-title a:visited, .do-page h1, .content-page h2 { 44 color:<?php echo tpl_getConf('title-color') ?>; 45 } 46 </style> 47 48</head> 49 50<body> 51 52<div class="dokuwiki"> 53 54 <?php include dirname(__FILE__) . '/top.php' ?> 55 56 <div class="<?php echo $page_type ?> h6e-main-content"> 57 58 <h1 class="h6e-page-title"> 59 <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"') ?> 60 </h1> 61 62 <?php if (!tpl_getConf('hide-entry-title')){?> 63 <h2 class="h6e-entry-title"> 64 <?php tpl_pagetitle($ID) ?> 65 </h2> 66 <?php }?> 67 68 <?php if($conf['breadcrumbs']){?> 69 <div class="breadcrumbs"> 70 <?php tpl_breadcrumbs() ?> 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 id="wikipage" class="h6e-post-content"> 81 <?php tpl_content()?> 82 </div> 83 84 <div class="pageinfo"> 85 <?php tpl_pageinfo()?> 86 </div> 87 88 <div class="actions actions-page"> 89 <?php tpl_button('edit')?> 90 <?php tpl_button('history')?> 91 <?php tpl_button('revert')?> 92 <?php tpl_button('backlink')?> 93 </div> 94 95 <div class="h6e-simple-footer"> 96 97 <div class="actions actions-site"> 98 <div class="a"> 99 <?php tpl_button('recent')?> 100 <?php tpl_button('index')?> 101 </div> 102 <div class="b"> 103 <?php tpl_searchform() ?> 104 </div> 105 </div> 106 107 <p><?php echo tpl_getConf('footer-text') ?></p> 108 109 </div> 110 111 </div> 112 113</div> 114 115<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div> 116 117</body> 118</html>