summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.guest.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-07-24 11:51:21 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-07-24 11:51:21 +0200
commit75fd6d4fde4cd6d9eda5e6b944739f1f2798447d (patch)
tree2d04d64bcdeb2ea13de68b9606307ebf799aeb87 /core/templates/layout.guest.php
parent2622839fcfb360eafc6d670885ca265ebed1433c (diff)
downloadnextcloud-server-75fd6d4fde4cd6d9eda5e6b944739f1f2798447d.tar.gz
nextcloud-server-75fd6d4fde4cd6d9eda5e6b944739f1f2798447d.zip
initialize OC_Defaults in template constructorX
Diffstat (limited to 'core/templates/layout.guest.php')
-rw-r--r--core/templates/layout.guest.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index e20d28970a5..9f645b6500d 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -6,11 +6,9 @@
<!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
- <?php $defaults = new OC_Defaults(); // initialize themable default strings and urls ?>
-
<head data-requesttoken="<?php p($_['requesttoken']); ?>">
<title>
- <?php p($defaults->getTitle()); ?>
+ <?php p($theme->getTitle()); ?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-itunes-app" content="app-id=543672169">
@@ -37,14 +35,14 @@
<body id="body-login">
<div id="login">
<header><div id="header">
- <img src="<?php print_unescaped(image_path('', 'logo.svg')); ?>" class="svg" alt="<?php p($defaults->getName()); ?>" />
- <div id="logo-claim" style="display:none;"><?php p($defaults->getLogoClaim()); ?></div>
+ <img src="<?php print_unescaped(image_path('', 'logo.svg')); ?>" class="svg" alt="<?php p($theme->getName()); ?>" />
+ <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
</div></header>
<?php print_unescaped($_['content']); ?>
</div>
<footer>
<p class="info">
- <?php print_unescaped($defaults->getLongFooter()); ?>
+ <?php print_unescaped($theme->getLongFooter()); ?>
</p></footer>
</body>
</html>