summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-11 11:39:50 +0200
committerLukas Reschke <lukas@owncloud.com>2014-09-11 11:41:02 +0200
commit7d2c521b46963914fdefb218a2485c8a00c53712 (patch)
tree6b41c9d8acfde2ff9244795d4226eb26a8d9548c /core/templates
parentbfebbe47decd30389e0325e24ecefc98fe3e8d71 (diff)
downloadnextcloud-server-7d2c521b46963914fdefb218a2485c8a00c53712.tar.gz
nextcloud-server-7d2c521b46963914fdefb218a2485c8a00c53712.zip
Step one, open guest layout for different styles.
Conflicts: core/templates/layout.guest.php Step one, open guest layout for different styles.
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.guest.php17
1 files changed, 10 insertions, 7 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index fb34769ff7c..bcf9a8e8130 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -32,17 +32,20 @@
?>
<?php endforeach; ?>
</head>
- <body id="body-login">
+ <body id="<?php p($_['bodyid']);?>">
<noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript for correct operation. Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and reload the page.')); ?></div></div></noscript>
<div class="wrapper"><!-- for sticky footer -->
<div class="v-align"><!-- vertically centred box -->
- <header><div id="header">
- <div class="logo svg"></div>
- <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
- </div></header>
-
+ <?php if ($_['bodyid'] === 'body-login' ): ?>
+ <header>
+ <div id="header">
+ <div class="logo svg"></div>
+ <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
+ </div>
+ </header>
+ <?php endif; ?>
<?php print_unescaped($_['content']); ?>
- <div class="push"></div><!-- for sticky footer -->
+ <div class="push"></div><!-- for sticky footer -->
</div>
</div>