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
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2013-11-24 19:46:07 +0400
committerFrank Karlitschek <frank@owncloud.org>2013-11-24 19:46:07 +0400
commit22e39baf77b5a16fa69c7f40c689b79dcdef9f75 (patch)
treea290b9644557cf4a3d7c62f7fe5337de3076a2c1 /settings
parenta11192bab3bcf5751ac29b2c7fdf5cdd529345fc (diff)
show the build number if on the daily build update channel
Diffstat (limited to 'settings')
-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 f655a14be87..0e13f2f46b6 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().')'); ?>
+ <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:'); echo(OC_Util::getBuild()); } ?>
<?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 9d21e18e73c..97b590a96ea 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().')'); ?><br />
+ <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:'); echo(OC_Util::getBuild()); } ?><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; ?>