diff options
author | Joas Schilling <coding@schilljs.com> | 2016-07-14 17:36:11 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-07-14 17:43:40 +0300 |
commit | 4171b4319fe563fabaadf7aadc3d4168b2e18e43 (patch) | |
tree | 7803087b9847c3119f3b8337c9c04c6bbfc759bb /templates | |
parent | d635f79a91175d61fe40db0c80931a21cf2981f6 (diff) |
Allow non-admin announcements
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/main.php b/templates/main.php index e623362..ab2b879 100644 --- a/templates/main.php +++ b/templates/main.php @@ -7,7 +7,7 @@ script('announcementcenter', 'script'); style('announcementcenter', 'style'); ?> -<div id="app" class="announcementcenter"> +<div id="app" class="announcementcenter" data-is-admin="<?php if ($_['is_admin']) { p(1); } else p(0); ?>"> <div id="app-content"> <div id="app-content-wrapper"> <?php if ($_['is_admin']) { |