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:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-06-12 18:59:23 +0400
committerBjörn Schießle <schiessle@owncloud.com>2013-06-13 18:38:18 +0400
commit5572e1dc11f71d92bd198ff09990ed4cfe6771cc (patch)
treea451fcfc481541b5ff04c4b588f9c61cf5081cd7 /settings
parent43146a68cf79377c25d76fd02dea68ca632a19e4 (diff)
move common settings footer fieldset out of conditional
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/admin.php7
-rw-r--r--settings/templates/personal.php6
2 files changed, 4 insertions, 9 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 0aba0c746a2..f319df37519 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -225,16 +225,13 @@ 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()); ?>
(<?php print_unescaped(OC_Updater::ShowUpdatingHint()); ?>)<br/>
<?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>.')); ?>
-</fieldset>
<?php else: ?>
-<fieldset class="personalblock credits-footer">
<p>© 2013 <a href="<?php p(OC_Defaults::getBaseUrl()); ?>" target="_blank"><?php p(OC_Defaults::getEntity()); ?></a> – <?php p(OC_Defaults::getSlogan()); ?></p>
-</fieldset>
<?php endif; ?>
-
+</fieldset>
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 161a482b915..a158bd8f5ba 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -106,15 +106,13 @@ 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 />
<?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>.')); ?>
-</fieldset>
<?php else: ?>
-<fieldset class="personalblock credits-footer">
<p>© 2013 <a href="<?php p(OC_Defaults::getBaseUrl()); ?>" target="_blank"><?php p(OC_Defaults::getEntity()); ?></a> – <?php p(OC_Defaults::getSlogan()); ?></p>
-</fieldset>
<?php endif; ?>
+</fieldset>