summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-07-01 14:37:54 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-07-01 14:37:54 +0200
commitd23e64f3008a799a497ac975a83ef37087b11203 (patch)
treeeb7783c86083664a01b37a0c3b8cf45399819378 /lib
parent35a00f69494a05af349fa86a0fbd4f7641a384e4 (diff)
downloadrpg-d23e64f3008a799a497ac975a83ef37087b11203.tar.gz
rpg-d23e64f3008a799a497ac975a83ef37087b11203.tar.bz2
there's no sidebar in detail.php
Diffstat (limited to 'lib')
-rw-r--r--lib/tpl/dokuwiki/detail.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/tpl/dokuwiki/detail.php b/lib/tpl/dokuwiki/detail.php
index 5fe1a1ad7..cf68aca95 100644
--- a/lib/tpl/dokuwiki/detail.php
+++ b/lib/tpl/dokuwiki/detail.php
@@ -10,7 +10,6 @@
// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
-$showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
@@ -31,7 +30,7 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
<body>
<!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
<div id="dokuwiki__site"><div id="dokuwiki__top"
- class="dokuwiki site mode_<?php echo $ACT ?> <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>">
+ class="dokuwiki site mode_<?php echo $ACT ?>">
<?php include('tpl_header.php') ?>