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'), '$title' => t('Add application'),
'$submit' => t('Submit'), '$submit' => t('Submit'),
'$cancel' => t('Cancel'), '$cancel' => t('Cancel'),
'$name' => array('name', t('Name'), '', ''), '$name' => array('name', t('Name'), '', t('Name of application')),
'$key' => array('key', t('Consumer Key'), '', ''), '$key' => array('key', t('Consumer Key'), random_string(16), t('Automatically generated - change if desired')),
'$secret' => array('secret', t('Consumer Secret'), '', ''), '$secret' => array('secret', t('Consumer Secret'), random_string(16), t('Automatically generated - change if desired')),
'$redirect' => array('redirect', t('Redirect'), '', ''), '$redirect' => array('redirect', t('Redirect'), '', t('Redirect URI - leave blank unless your application specifically requires this')),
'$icon' => array('icon', t('Icon url'), '', ''), '$icon' => array('icon', t('Icon url'), '', t('Optional')),
)); ));
return $o; return $o;
} }

View File

@ -2602,6 +2602,10 @@ brain is weird like that */
width: 48px; height: 48px; width: 48px; height: 48px;
margin: 10px; margin: 10px;
} }
.oauthapp .icon {
margin-right: 20px;
}
.oauthapp img.noicon { .oauthapp img.noicon {
background-image: url("../../../../images/icons/48/plugin.png"); background-image: url("../../../../images/icons/48/plugin.png");
background-position: center center; background-position: center center;
@ -2627,6 +2631,7 @@ brain is weird like that */
.block { background-position: -32px 0px;} .block { background-position: -32px 0px;}
.drop { background-position: -48px 0px;} .drop { background-position: -48px 0px;}
.drophide { background-position: -64px 0px;} .drophide { background-position: -64px 0px;}
.delete { background-position: -64px 0px;}
.edit { background-position: -80px 0px;} .edit { background-position: -80px 0px;}
.camera { background-position: -96px 0px;} .camera { background-position: -96px 0px;}
.dislike { background-position: -112px 0px;} .dislike { background-position: -112px 0px;}