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:
authorBjörn Schießle <schiessle@owncloud.com>2013-06-26 19:56:19 +0400
committerBjörn Schießle <schiessle@owncloud.com>2013-06-26 19:56:19 +0400
commit3e3ed0784a8355c1a42ff8a32bb38b6d53473b7c (patch)
tree8e4a69282339c5e42a80e9f9b93fa26adcd31138 /settings
parent07a5914dc448b6f210ffe99b341d1d35b04bf11f (diff)
construct the foother in defaults.php so that we use always the same footer
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/admin.php13
-rw-r--r--settings/templates/personal.php14
2 files changed, 16 insertions, 11 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index f319df37519..ba6b52a7aef 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -225,13 +225,16 @@ endfor;?>
</fieldset>
-<fieldset class="personalblock credits-footer">
-<?php if (OC_Util::getEditionString() === ''): ?>
+<fieldset class="personalblock">
<legend><strong><?php p($l->t('Version'));?></strong></legend>
- <strong>ownCloud</strong> <?php p(OC_Util::getVersionString()); ?> <?php p(OC_Util::getEditionString()); ?>
+ <strong><?php p(OC_Defaults::getName()); ?></strong> <?php p(OC_Util::getVersionString()); ?>
(<?php print_unescaped(OC_Updater::ShowUpdatingHint()); ?>)<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 else: ?>
- <p>© 2013 <a href="<?php p(OC_Defaults::getBaseUrl()); ?>" target="_blank"><?php p(OC_Defaults::getEntity()); ?></a> – <?php p(OC_Defaults::getSlogan()); ?></p>
<?php endif; ?>
</fieldset>
+<fieldset class="personalblock credits-footer">
+<p>
+ <?php print_unescaped(OC_Defaults::getShortFooter()); ?>
+</p>
+</fieldset>
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index d47be4cc8c4..6175dc97465 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -108,13 +108,15 @@ if($_['passwordChangeSupported']) {
print_unescaped($form);
};?>
-<fieldset class="personalblock credits-footer">
-<?php if (OC_Util::getEditionString() === ''): ?>
+<fieldset class="personalblock">
<legend><strong><?php p($l->t('Version'));?></strong></legend>
- <strong>ownCloud</strong> <?php p(OC_Util::getVersionString()); ?>
- <?php p(OC_Util::getEditionString()); ?> <br />
+ <strong><?php p(OC_Defaults::getName()); ?></strong> <?php p(OC_Util::getVersionString()); ?><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 else: ?>
- <p>© 2013 <a href="<?php p(OC_Defaults::getBaseUrl()); ?>" target="_blank"><?php p(OC_Defaults::getEntity()); ?></a> – <?php p(OC_Defaults::getSlogan()); ?></p>
<?php endif; ?>
</fieldset>
+<fieldset class="personalblock credits-footer">
+<p>
+ <?php print_unescaped(OC_Defaults::getShortFooter()); ?>
+</p>
+</fieldset>