forked from GNUsocial/gnu-social
note what 0 means for shorteners
This commit is contained in:
parent
76c0e3169b
commit
76788d9790
@ -125,14 +125,14 @@ class UrlsettingsAction extends AccountSettingsAction
|
||||
_('URL longer than'),
|
||||
(!is_null($this->arg('maxurllength'))) ?
|
||||
$this->arg('maxurllength') : User_urlshortener_prefs::maxUrlLength($user),
|
||||
_('URLs longer than this will be shortened.'));
|
||||
_('URLs longer than this will be shortened, 0 means always shorten.'));
|
||||
$this->elementEnd('li');
|
||||
$this->elementStart('li');
|
||||
$this->input('maxnoticelength',
|
||||
_('Text longer than'),
|
||||
(!is_null($this->arg('maxnoticelength'))) ?
|
||||
$this->arg('maxnoticelength') : User_urlshortener_prefs::maxNoticeLength($user),
|
||||
_('URLs in notices longer than this will be shortened.'));
|
||||
_('URLs in notices longer than this will be shortened, 0 means always shorten.'));
|
||||
$this->elementEnd('li');
|
||||
$this->elementEnd('ul');
|
||||
$this->submit('save', _('Save'));
|
||||
|
Loading…
Reference in New Issue
Block a user