diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-06 10:33:37 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-06 10:33:37 +0300 |
commit | 9b96615675698138e2c8082341bacc839bbe54db (patch) | |
tree | b077a9188bf2668cb53dd3781c7bd5405f83f5ea /templates | |
parent | 6778063536136ce42ee7374a8e26592fab7b27d8 (diff) |
14 compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.php | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/templates/main.php b/templates/main.php index cb6c551..4213abd 100644 --- a/templates/main.php +++ b/templates/main.php @@ -17,24 +17,18 @@ style('announcementcenter', [ ]); ?> -<div id="app" class="announcementcenter" data-is-admin="<?php p(!empty($_['isAdmin']) ? 1 : 0); ?>"> - <div id="app-content"> - <div id="app-sidebar" class="disappear detailsView scroll-container"> - <div id="commentsTabView" class="tab"> +<div id="app-content" data-is-admin="<?php p(!empty($_['isAdmin']) ? 1 : 0); ?>"> + <?php if ($_['isAdmin']) { + print_unescaped($this->inc('part.add')); + } ?> - </div> - </div> - - <div id="app-content-wrapper"> - <?php if ($_['isAdmin']) { - print_unescaped($this->inc('part.add')); - } ?> - - <div id="emptycontent" class="<?php if ($_['isAdmin']): ?>emptycontent-admin <?php endif; ?>hidden"> - <div class="icon-announcement"></div> - <h2><?php p($l->t('No Announcements')); ?></h2> - <p><?php p($l->t('There are currently no announcements…')); ?></p> - </div> - </div> + <div id="emptycontent" class="<?php if ($_['isAdmin']): ?>emptycontent-admin <?php endif; ?>hidden"> + <div class="icon-announcement"></div> + <h2><?php p($l->t('No Announcements')); ?></h2> + <p><?php p($l->t('There are currently no announcements…')); ?></p> </div> </div> + +<div id="app-sidebar" class="disappear detailsView scroll-container"> + <div id="commentsTabView" class="tab"></div> +</div> |