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 <bjoern@schiessle.org>2013-06-13 18:32:41 +0400
committerBjörn Schießle <bjoern@schiessle.org>2013-06-13 18:32:41 +0400
commit7889f2ef5c086d050cb88e2943253af84362365f (patch)
treea955ba46e3581d865d0fef50cf836c5b43b42498 /settings/templates
parent4bafa4e81acea88c3925a04c392a982c80a1d7c3 (diff)
parent15eda5321531b7ae44a6dd2ed1d28ae0e2045c2b (diff)
Merge pull request #3687 from owncloud/template_updates
Make templates aware of different owncloud editions
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/admin.php8
-rw-r--r--settings/templates/personal.php11
2 files changed, 12 insertions, 7 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 28254b7aa18..1ed3f6ef47f 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -230,10 +230,12 @@ endfor;?>
</fieldset>
-
-<fieldset class="personalblock">
+<fieldset class="personalblock credits-footer">
+<?php if (OC_Util::getEditionString() === ''): ?>
<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>.')); ?>
+<?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>
-
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index b11f1912f51..a9457399d5d 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -94,8 +94,10 @@ if($_['passwordChangeSupported']) {
<option value="<?php p($language['code']);?>"><?php p($language['name']);?></option>
<?php endforeach;?>
</select>
+ <?php if (OC_Util::getEditionString() === ''): ?>
<a href="https://www.transifex.net/projects/p/owncloud/team/<?php p($_['activelanguage']['code']);?>/"
target="_blank"><em><?php p($l->t('Help translate'));?></em></a>
+ <?php endif; ?>
</fieldset>
</form>
@@ -109,12 +111,13 @@ if($_['passwordChangeSupported']) {
print_unescaped($form);
};?>
-
-<fieldset class="personalblock">
+<fieldset class="personalblock credits-footer">
+<?php if (OC_Util::getEditionString() === ''): ?>
<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>.')); ?>
+<?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>
-
-