diff options
author | Anika Henke <anika@selfthinker.org> | 2013-08-01 18:54:02 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2013-08-01 18:54:02 +0100 |
commit | 39f00629c3ce90b643728a3afa5ee7c74faa481c (patch) | |
tree | c8970ce5da92939bead6d1c3a4a3a6e9818c84fe | |
parent | c71db656795e82055d114764ad93f71a968a2f28 (diff) | |
download | rpg-39f00629c3ce90b643728a3afa5ee7c74faa481c.tar.gz rpg-39f00629c3ce90b643728a3afa5ee7c74faa481c.tar.bz2 |
improved coding style on tpl_classes()
-rw-r--r-- | inc/template.php | 4 |
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); |