summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.guest.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-07-03 14:21:51 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-07-04 10:11:16 +0200
commit3c691c9ec9b659897f4dda3769da7049c1ed23a9 (patch)
tree0f82fb63950245a312b0848b6200db81073f74a3 /core/templates/layout.guest.php
parentd46e62886a2b22a4c80df8cca09fb6f354d48614 (diff)
downloadnextcloud-server-3c691c9ec9b659897f4dda3769da7049c1ed23a9.tar.gz
nextcloud-server-3c691c9ec9b659897f4dda3769da7049c1ed23a9.zip
move to non-static OC_Defaults
Conflicts: lib/mail.php
Diffstat (limited to 'core/templates/layout.guest.php')
-rw-r--r--core/templates/layout.guest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index b17e2fc547c..329744e3824 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -6,11 +6,11 @@
<!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
- <?php OC_Defaults::init(); // initialize themable default strings and urls ?>
+ <?php $defaults = new OC_Defaults(); // initialize themable default strings and urls ?>
<head data-requesttoken="<?php p($_['requesttoken']); ?>">
<title>
- <?php p(OC_Defaults::getName()); ?>
+ <?php p($defaults->getName()); ?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-itunes-app" content="app-id=543672169">
@@ -38,13 +38,13 @@
<div id="login">
<header><div id="header">
<img src="<?php print_unescaped(image_path('', 'logo.svg')); ?>" class="svg" alt="ownCloud" />
- <div id="logo-claim" style="display:none;"><?php p(OC_Defaults::getLogoClaim()); ?></div>
+ <div id="logo-claim" style="display:none;"><?php p($defaults->getLogoClaim()); ?></div>
</div></header>
<?php print_unescaped($_['content']); ?>
</div>
<footer>
<p class="info">
- <?php print_unescaped(OC_Defaults::getLongFooter()); ?>
+ <?php print_unescaped($defaults->getLongFooter()); ?>
</p></footer>
</body>
</html>