mage page title aware of ownCloud edition
This commit is contained in:
parent
a39ecd5ea9
commit
7c108edc36
|
@ -6,7 +6,9 @@
|
||||||
<!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
|
<!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
|
||||||
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
|
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
|
||||||
<head>
|
<head>
|
||||||
<title>ownCloud</title>
|
<title>
|
||||||
|
<?php OC_Util::getEditionString() === '' ? p("ownCloud") : p("ownCloud Enterprise Edition") ?>
|
||||||
|
</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
|
<link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
|
||||||
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>" />
|
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>" />
|
||||||
|
|
|
@ -6,7 +6,9 @@
|
||||||
<!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
|
<!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
|
||||||
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
|
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
|
||||||
<head data-requesttoken="<?php p($_['requesttoken']); ?>">
|
<head data-requesttoken="<?php p($_['requesttoken']); ?>">
|
||||||
<title>ownCloud</title>
|
<title>
|
||||||
|
<?php OC_Util::getEditionString() === '' ? p("ownCloud") : p("ownCloud Enterprise Edition") ?>
|
||||||
|
</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="apple-itunes-app" content="app-id=543672169">
|
<meta name="apple-itunes-app" content="app-id=543672169">
|
||||||
<link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
|
<link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
|
||||||
|
|
|
@ -6,8 +6,11 @@
|
||||||
<!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
|
<!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
|
||||||
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
|
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
|
||||||
<head data-user="<?php p($_['user_uid']); ?>" data-requesttoken="<?php p($_['requesttoken']); ?>">
|
<head data-user="<?php p($_['user_uid']); ?>" data-requesttoken="<?php p($_['requesttoken']); ?>">
|
||||||
<title><?php p(!empty($_['application'])?$_['application'].' | ':'') ?>ownCloud
|
<title>
|
||||||
<?php p(trim($_['user_displayname']) != '' ?' ('.$_['user_displayname'].') ':'') ?></title>
|
<?php p(!empty($_['application'])?$_['application'].' | ':'');
|
||||||
|
OC_Util::getEditionString() === '' ? p("ownCloud") : p("ownCloud Enterprise Edition");
|
||||||
|
p(trim($_['user_displayname']) != '' ?' ('.$_['user_displayname'].') ':'') ?>
|
||||||
|
</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="apple-itunes-app" content="app-id=543672169">
|
<meta name="apple-itunes-app" content="app-id=543672169">
|
||||||
|
|
Loading…
Reference in New Issue