From df8035344fed17950cd129cf42bb1aab210dc334 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 20 Sep 2013 21:36:10 -0700 Subject: clean up app management a bit --- mod/settings.php | 10 +++++----- view/theme/redbasic/css/style.css | 5 +++++ 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;} -- cgit v1.2.3