aboutsummaryrefslogtreecommitdiffstats
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
parentfd2379530cd879861c3abab747bddffd3b3e3fdf (diff)
downloadvolse-hubzilla-df8035344fed17950cd129cf42bb1aab210dc334.tar.gz
volse-hubzilla-df8035344fed17950cd129cf42bb1aab210dc334.tar.bz2
volse-hubzilla-df8035344fed17950cd129cf42bb1aab210dc334.zip
clean up app management a bit
-rw-r--r--mod/settings.php10
-rw-r--r--view/theme/redbasic/css/style.css5
2 files changed, 10 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;
}
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index d57fac71b..48e38c0f6 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -2602,6 +2602,10 @@ brain is weird like that */
width: 48px; height: 48px;
margin: 10px;
}
+.oauthapp .icon {
+ margin-right: 20px;
+}
+
.oauthapp img.noicon {
background-image: url("../../../../images/icons/48/plugin.png");
background-position: center center;
@@ -2627,6 +2631,7 @@ brain is weird like that */
.block { background-position: -32px 0px;}
.drop { background-position: -48px 0px;}
.drophide { background-position: -64px 0px;}
+.delete { background-position: -64px 0px;}
.edit { background-position: -80px 0px;}
.camera { background-position: -96px 0px;}
.dislike { background-position: -112px 0px;}