summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2013-08-01 18:54:02 +0100
committerAnika Henke <anika@selfthinker.org>2013-08-01 18:54:02 +0100
commit39f00629c3ce90b643728a3afa5ee7c74faa481c (patch)
treec8970ce5da92939bead6d1c3a4a3a6e9818c84fe /inc
parentc71db656795e82055d114764ad93f71a968a2f28 (diff)
downloadrpg-39f00629c3ce90b643728a3afa5ee7c74faa481c.tar.gz
rpg-39f00629c3ce90b643728a3afa5ee7c74faa481c.tar.bz2
improved coding style on tpl_classes()
Diffstat (limited to 'inc')
-rw-r--r--inc/template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php
index 087e2f9df..6566df7ad 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -1759,8 +1759,8 @@ function tpl_classes() {
'dokuwiki',
'mode_'.$ACT,
'tpl_'.$conf['template'],
- ($_SERVER['REMOTE_USER']) ? 'loggedIn' : '',
- ($INFO['exists']) ? '' : 'notFound',
+ $_SERVER['REMOTE_USER'] ? 'loggedIn' : '',
+ $INFO['exists'] ? '' : 'notFound',
($ID == $conf['start']) ? 'home' : '',
);
return join(' ', $classes);