]> source.dussan.org Git - nextcloud-server.git/commitdiff
use $defaults instead of $theme
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 1 Oct 2013 12:33:56 +0000 (14:33 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 1 Oct 2013 12:33:56 +0000 (14:33 +0200)
core/templates/layout.user.php

index 98e54a222a3c53f356d0aa9a29f4b932274ac35b..c00cf55040539346650a3cc6abd939ad00b0db2c 100644 (file)
@@ -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>