summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-11-24 21:27:32 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-11-24 21:27:32 +0100
commitf6df4b349f6233b56c6f193d132ce04fb0dec47b (patch)
tree479ab1e198017ce1782bd3e7c06626c403745928 /settings/templates
parent228f1788fa2e93d333849a471c3b236f69f90904 (diff)
downloadnextcloud-server-f6df4b349f6233b56c6f193d132ce04fb0dec47b.tar.gz
nextcloud-server-f6df4b349f6233b56c6f193d132ce04fb0dec47b.zip
remove logic from template and fix syntax error
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/admin.php2
-rw-r--r--settings/templates/personal.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index de723e4cadd..253a7ff5f50 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -264,7 +264,7 @@ if (!$_['internetconnectionworking']) {
<fieldset class="personalblock">
<h2><?php p($l->t('Version'));?></h2>
- <strong><?php p($theme->getTitle()); ?></strong> <?php p(OC_Util::getVersionString().' ('.OC_Util::getChannel().')'); if(!empty(OC_Util::getBuild()) and OC_Util::getChannel()=='daily') { p(' Build:'); p(OC_Util::getBuild()); } ?>
+ <strong><?php p($theme->getTitle()); ?></strong> <?php p(OC_Util::getHumanVersion()) ?>
<?php if (OC_Util::getEditionString() === ''): ?>
<p>
<?php print_unescaped($l->t('Developed by the <a href="http://ownCloud.org/contact" target="_blank">ownCloud community</a>, the <a href="https://github.com/owncloud" target="_blank">source code</a> is licensed under the <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank"><abbr title="Affero General Public License">AGPL</abbr></a>.')); ?>
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index a8f2fa8a557..2d8652aed76 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -167,7 +167,7 @@ if($_['passwordChangeSupported']) {
<fieldset class="personalblock">
<h2><?php p($l->t('Version'));?></h2>
- <strong><?php p($theme->getName()); ?></strong> <?php p(OC_Util::getVersionString().' ('.OC_Util::getChannel().')'); if(!empty(OC_Util::getBuild()) and OC_Util::getChannel()=='daily') { p(' Build:'); p(OC_Util::getBuild()); } ?><br />
+ <strong><?php p($theme->getName()); ?></strong> <?php p(OC_Util::getHumanVersion()) ?><br />
<?php if (OC_Util::getEditionString() === ''): ?>
<?php print_unescaped($l->t('Developed by the <a href="http://ownCloud.org/contact" target="_blank">ownCloud community</a>, the <a href="https://github.com/owncloud" target="_blank">source code</a> is licensed under the <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank"><abbr title="Affero General Public License">AGPL</abbr></a>.')); ?>
<?php endif; ?>