summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-01 14:33:56 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-01 14:33:56 +0200
commitd5038e93dba633cce36538905b7e5365ba1b3b63 (patch)
treec45b9dd0d106586df81f704c32da581908947120 /core
parentd8ada370d76acc10e602d25db6af5be936880d4c (diff)
downloadnextcloud-server-d5038e93dba633cce36538905b7e5365ba1b3b63.tar.gz
nextcloud-server-d5038e93dba633cce36538905b7e5365ba1b3b63.zip
use $defaults instead of $theme
Diffstat (limited to 'core')
-rw-r--r--core/templates/layout.user.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 98e54a222a3..c00cf550405 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -11,7 +11,7 @@
<head data-user="<?php p($_['user_uid']); ?>" data-requesttoken="<?php p($_['requesttoken']); ?>">
<title>
<?php p(!empty($_['application'])?$_['application'].' | ':'');
- p($theme->getTitle());
+ p($defaults->getTitle());
p(trim($_['user_displayname']) != '' ?' ('.$_['user_displayname'].') ':'') ?>
</title>
<meta charset="utf-8">
@@ -45,8 +45,8 @@
</div>
<header><div id="header">
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" title="" id="owncloud"><img class="svg"
- src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="<?php p($theme->getName()); ?>" /></a>
- <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
+ src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="<?php p($defaults->getName()); ?>" /></a>
+ <div id="logo-claim" style="display:none;"><?php p($defaults->getLogoClaim()); ?></div>
<ul id="settings" class="svg">
<span id="expand" tabindex="0" role="link">
<span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>