diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-10-13 02:34:47 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-10-13 02:34:47 +0200 |
commit | f3d86d21def0f635a2a8583debcdde5de9ea87e1 (patch) | |
tree | 1aa04a4bfbe0c666badd82ecd5075f3171ee29bf /templates | |
parent | dfcf639f2f7b6eaf82c48dd503f7c98ce9d2155e (diff) |
small cleanup and fixes
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/main.php b/templates/main.php index ce753d317..8a618d34d 100644 --- a/templates/main.php +++ b/templates/main.php @@ -4,9 +4,9 @@ <?php -$showAll = OCP\Config::getUserValue(OCP\USER::getUser(), 'news', 'showAll'); +$l = $_['trans']; -if($showAll) { +if($_['showAll']) { $viewButtonImg = 'eye_all.svg'; $viewButtonTitle = $l->t('Show everything'); $viewButtonClass = 'show_all'; |