aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-20 21:36:10 -0700
committerfriendica <info@friendica.com>2013-09-20 21:36:10 -0700
commitdf8035344fed17950cd129cf42bb1aab210dc334 (patch)
tree0d08d1dbe64ded1f2334c42944c2354f3309f67e /mod
parentfd2379530cd879861c3abab747bddffd3b3e3fdf (diff)
downloadvolse-hubzilla-df8035344fed17950cd129cf42bb1aab210dc334.tar.gz
volse-hubzilla-df8035344fed17950cd129cf42bb1aab210dc334.tar.bz2
volse-hubzilla-df8035344fed17950cd129cf42bb1aab210dc334.zip
clean up app management a bit
Diffstat (limited to 'mod')
-rw-r--r--mod/settings.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 6b21066b1..fea9c9f72 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -620,11 +620,11 @@ function settings_content(&$a) {
'$title' => t('Add application'),
'$submit' => t('Submit'),
'$cancel' => t('Cancel'),
- '$name' => array('name', t('Name'), '', ''),
- '$key' => array('key', t('Consumer Key'), '', ''),
- '$secret' => array('secret', t('Consumer Secret'), '', ''),
- '$redirect' => array('redirect', t('Redirect'), '', ''),
- '$icon' => array('icon', t('Icon url'), '', ''),
+ '$name' => array('name', t('Name'), '', t('Name of application')),
+ '$key' => array('key', t('Consumer Key'), random_string(16), t('Automatically generated - change if desired')),
+ '$secret' => array('secret', t('Consumer Secret'), random_string(16), t('Automatically generated - change if desired')),
+ '$redirect' => array('redirect', t('Redirect'), '', t('Redirect URI - leave blank unless your application specifically requires this')),
+ '$icon' => array('icon', t('Icon url'), '', t('Optional')),
));
return $o;
}