Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-06-12 17:15:08 +0400
committerBjörn Schießle <schiessle@owncloud.com>2013-06-13 18:37:02 +0400
commit939bc3e71c1cb4db8bb127031c2b064c5341b545 (patch)
treecb83dbf79d36858127fc3883746961250d89d242 /core
parent7e556475f8801b638ca1e8dd9f04c04693a407c3 (diff)
keep all strings in one place to make it easier to change them
Diffstat (limited to 'core')
-rw-r--r--core/templates/layout.base.php2
-rw-r--r--core/templates/layout.guest.php9
-rw-r--r--core/templates/layout.user.php2
3 files changed, 6 insertions, 7 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index cebb9e561f1..163e8e3ae7e 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -7,7 +7,7 @@
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
<head>
<title>
- <?php OC_Util::getEditionString() === '' ? p("ownCloud") : p("ownCloud Enterprise Edition") ?>
+ <?php p(OC_Defaults::getName()); ?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 3ccc9e32182..03da7559b8c 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -7,7 +7,7 @@
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
<head data-requesttoken="<?php p($_['requesttoken']); ?>">
<title>
- <?php OC_Util::getEditionString() === '' ? p("ownCloud") : p("ownCloud Enterprise Edition") ?>
+ <?php p(OC_Defaults::getName()); ?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-itunes-app" content="app-id=543672169">
@@ -41,9 +41,8 @@
<footer>
<p class="info">
<?php OC_Util::getEditionString() === '' ? '' : p('© 2013 '); ?>
- <a href="
- <?php OC_Util::getEditionString() === '' ? p('http://owncloud.org') : p('https://owncloud.com'); ?>">
- <?php OC_Util::getEditionString() === '' ? p('ownCloud') : p('ownCloud Inc.'); ?></a> &ndash;
- <?php OC_Util::getEditionString() === '' ? p($l->t( 'web services under your control' )) : p("Your Cloud, Your Data, Your Way!"); ?></p></footer>
+ <a href="<?php p(OC_Defaults::getBaseUrl())?>">
+ <?php p(OC_Defaults::getEntity()); ?></a> &ndash;
+ <?php p(OC_Defaults::getSlogan()); ?></p></footer>
</body>
</html>
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 6e9afecf9e8..c04df7df9c5 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -8,7 +8,7 @@
<head data-user="<?php p($_['user_uid']); ?>" data-requesttoken="<?php p($_['requesttoken']); ?>">
<title>
<?php p(!empty($_['application'])?$_['application'].' | ':'');
- OC_Util::getEditionString() === '' ? p("ownCloud") : p("ownCloud Enterprise Edition");
+ p(OC_Defaults::getName());
p(trim($_['user_displayname']) != '' ?' ('.$_['user_displayname'].') ':'') ?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />