clean up app management a bit

This commit is contained in:
friendica
2013-09-20 21:36:10 -07:00
parent fd2379530c
commit df8035344f
2 changed files with 10 additions and 5 deletions

View File

@@ -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;
}