diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/personal.php | 2 | ||||
-rw-r--r-- | settings/templates/admin.php | 8 | ||||
-rw-r--r-- | settings/templates/personal.php | 11 |
3 files changed, 13 insertions, 8 deletions
diff --git a/settings/personal.php b/settings/personal.php index cab6e56dada..cb411cacc5b 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -60,7 +60,7 @@ usort( $languages, function ($a, $b) { //links to clients $clients = array( - 'desktop' => OC_Config::getValue('customclient_desktop', 'http://owncloud.org/sync-clients/'), + 'desktop' => OC_Config::getValue('customclient_desktop', OC_Defaults::getSyncClientUrl()), 'android' => OC_Config::getValue('customclient_android', 'https://play.google.com/store/apps/details?id=com.owncloud.android'), 'ios' => OC_Config::getValue('customclient_ios', 'https://itunes.apple.com/us/app/owncloud/id543672169?mt=8') ); 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> - - |