diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-27 09:42:34 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-27 09:42:34 +0200 |
commit | 88db07d28ee4d7dac5544a88e2571fe3b5ffaa28 (patch) | |
tree | 58f3909dd2a262137dbe28f779ce30d65bc8f6e0 /core/templates | |
parent | 5edab3b31153d5d328c746f57c90ffbcc8dd6170 (diff) | |
download | nextcloud-server-88db07d28ee4d7dac5544a88e2571fe3b5ffaa28.tar.gz nextcloud-server-88db07d28ee4d7dac5544a88e2571fe3b5ffaa28.zip |
Really cleanup the content-wrapper
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/layout.base.php | 6 | ||||
-rw-r--r-- | core/templates/layout.public.php | 8 | ||||
-rw-r--r-- | core/templates/layout.user.php | 6 |
3 files changed, 7 insertions, 13 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php index 8bb8e8ba3ca..d38bd114c3e 100644 --- a/core/templates/layout.base.php +++ b/core/templates/layout.base.php @@ -18,10 +18,8 @@ </head> <body id="body-public"> <?php include 'layout.noscript.warning.php'; ?> - <div id="content-wrapper"> - <div id="content" class="app-public" role="main"> - <?php print_unescaped($_['content']); ?> - </div> + <div id="content" class="app-public" role="main"> + <?php print_unescaped($_['content']); ?> </div> </body> </html> diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php index afdd5656be4..07aff03127d 100644 --- a/core/templates/layout.public.php +++ b/core/templates/layout.public.php @@ -70,11 +70,9 @@ </div> <?php } ?> </header> - <div id="content-wrapper"> - <div id="content" class="app-<?php p($_['appid']) ?>" role="main"> - <?php print_unescaped($_['content']); ?> - </div> - </div + <div id="content" class="app-<?php p($_['appid']) ?>" role="main"> + <?php print_unescaped($_['content']); ?> + </div> <?php if($template->getFooterVisible()) { ?> <footer> <p class="info"><?php print_unescaped($theme->getLongFooter()); ?></p> diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index fbd71ec825b..32385c37aea 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -159,10 +159,8 @@ <input class="confirm" value="<?php p($l->t('Confirm')); ?>" type="submit"> </form> - <div id="content-wrapper"> - <div id="content" class="app-<?php p($_['appid']) ?>" role="main"> - <?php print_unescaped($_['content']); ?> - </div> + <div id="content" class="app-<?php p($_['appid']) ?>" role="main"> + <?php print_unescaped($_['content']); ?> </div> </body> |