diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2013-02-06 15:20:43 +0100 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2013-02-06 15:20:43 +0100 |
commit | 0a16d25724d7af29282556cf04a343786a64c466 (patch) | |
tree | 50aad0f38f0fbb69f531b795c7ef9bd6989952f2 /settings/personal.php | |
parent | 9e08f85c5e8b57d759cecc9ca145a816e121fe6c (diff) | |
download | nextcloud-server-0a16d25724d7af29282556cf04a343786a64c466.tar.gz nextcloud-server-0a16d25724d7af29282556cf04a343786a64c466.zip |
make it possible to modify the links to the clients
Diffstat (limited to 'settings/personal.php')
-rw-r--r-- | settings/personal.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/settings/personal.php b/settings/personal.php index ac2c4704edb..c2df8db1ccc 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -39,12 +39,19 @@ foreach($languageCodes as $lang) { $languages[]=array('code'=>$lang, 'name'=>$lang); } } +//links to clients +$clients = array( + 'desktop' => OC_Config::getValue('customclient_desktop', 'http://owncloud.org/sync-clients/'), + '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') +); // Return template $tmpl = new OC_Template( 'settings', 'personal', 'user'); $tmpl->assign('usage', OC_Helper::humanFileSize($storageInfo['used'])); $tmpl->assign('total_space', OC_Helper::humanFileSize($storageInfo['total'])); $tmpl->assign('usage_relative', $storageInfo['relative']); +$tmpl->assign('clients', $clients); $tmpl->assign('email', $email); $tmpl->assign('languages', $languages); $tmpl->assign('passwordChangeSupported', OC_User::canUserChangePassword(OC_User::getUser())); |