diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-07-11 16:38:07 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-07-11 16:38:07 +0200 |
commit | aacca494c504d97be4ba0eb93289604b392d946f (patch) | |
tree | ee06a764dcfaaf057087654fa39e77d5e547995f /core/templates/layout.user.php | |
parent | c5f2ea9a9511e78d724bb1c90748f894bb8b57af (diff) | |
download | nextcloud-server-aacca494c504d97be4ba0eb93289604b392d946f.tar.gz nextcloud-server-aacca494c504d97be4ba0eb93289604b392d946f.zip |
introduce shortname themable string and split from title, use for image alt text
Diffstat (limited to 'core/templates/layout.user.php')
-rw-r--r-- | core/templates/layout.user.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index dacbe79bd34..87c02a83d3b 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -7,11 +7,11 @@ <!--[if !IE]><!--><html class="ng-csp"><!--<![endif]--> <?php $defaults = new OC_Defaults(); // initialize themable default strings and urls ?> - + <head data-user="<?php p($_['user_uid']); ?>" data-requesttoken="<?php p($_['requesttoken']); ?>"> <title> <?php p(!empty($_['application'])?$_['application'].' | ':''); - p($defaults->getName()); + p($defaults->getTitle()); p(trim($_['user_displayname']) != '' ?' ('.$_['user_displayname'].') ':'') ?> </title> <meta charset="utf-8"> @@ -45,7 +45,7 @@ </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="ownCloud" /></a> + 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"> |