diff options
author | Anika Henke <anika@selfthinker.org> | 2013-07-21 21:20:44 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2013-07-21 21:20:44 +0100 |
commit | c71db656795e82055d114764ad93f71a968a2f28 (patch) | |
tree | aa42f8372326f3248cc5caf986d0197307174c95 /lib/tpl/dokuwiki/detail.php | |
parent | 8c7670b52dc523860f442a628ae7d226988e96d7 (diff) | |
download | rpg-c71db656795e82055d114764ad93f71a968a2f28.tar.gz rpg-c71db656795e82055d114764ad93f71a968a2f28.tar.bz2 |
added tpl_classes() to return useful layout classes
Diffstat (limited to 'lib/tpl/dokuwiki/detail.php')
-rw-r--r-- | lib/tpl/dokuwiki/detail.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tpl/dokuwiki/detail.php b/lib/tpl/dokuwiki/detail.php index 9108504f1..c44a697dd 100644 --- a/lib/tpl/dokuwiki/detail.php +++ b/lib/tpl/dokuwiki/detail.php @@ -28,8 +28,8 @@ header('X-UA-Compatible: IE=edge,chrome=1'); <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 ($_SERVER['REMOTE_USER']) ? 'loggedIn' : '' ?>"> + <div id="dokuwiki__site"><div id="dokuwiki__top" class="site <?php echo tpl_classes(); ?> <?php + echo ($showSidebar) ? 'showSidebar' : ''; ?> <?php echo ($hasSidebar) ? 'hasSidebar' : ''; ?>"> <?php include('tpl_header.php') ?> |