forked from GNUsocial/gnu-social
Tweak bit.ly admin panel messages to distinguish the admin settings from config.php globals
This commit is contained in:
parent
fbfd96dfb9
commit
bd5925a6db
@ -188,7 +188,7 @@ class BitlyAdminPanelForm extends AdminForm
|
|||||||
'fieldset',
|
'fieldset',
|
||||||
array('id' => 'settings_bitly')
|
array('id' => 'settings_bitly')
|
||||||
);
|
);
|
||||||
$this->out->element('legend', null, _m('Default credentials'));
|
$this->out->element('legend', null, _m('Credentials'));
|
||||||
|
|
||||||
// Do we have global defaults to fall back on?
|
// Do we have global defaults to fall back on?
|
||||||
$login = $apiKey = false;
|
$login = $apiKey = false;
|
||||||
@ -196,7 +196,7 @@ class BitlyAdminPanelForm extends AdminForm
|
|||||||
$haveGlobalDefaults = ($login && $apiKey);
|
$haveGlobalDefaults = ($login && $apiKey);
|
||||||
if ($login && $apiKey) {
|
if ($login && $apiKey) {
|
||||||
$this->out->element('p', 'form_guide',
|
$this->out->element('p', 'form_guide',
|
||||||
_m('Leave these empty to use the default credentials.'));
|
_m('Leave these empty to use global default credentials.'));
|
||||||
} else {
|
} else {
|
||||||
$this->out->element('p', 'form_guide',
|
$this->out->element('p', 'form_guide',
|
||||||
_m('If you leave these empty, bit.ly will be unavailable to users.'));
|
_m('If you leave these empty, bit.ly will be unavailable to users.'));
|
||||||
|
Loading…
Reference in New Issue
Block a user