forked from leftypol/leftypol
Enforce maximum length of ban appeal
This commit is contained in:
parent
4a4bb4e856
commit
4a5944795c
3 changed files with 18 additions and 6 deletions
|
@ -664,6 +664,9 @@
|
|||
// How many ban appeals can be made for a single ban?
|
||||
$config['ban_appeals_max'] = 1;
|
||||
|
||||
// Maximum character length of appeal.
|
||||
$config['ban_appeal_max_chars'] = 120;
|
||||
|
||||
// Show moderator name on ban page.
|
||||
$config['show_modname'] = false;
|
||||
|
||||
|
@ -1154,8 +1157,13 @@
|
|||
$config['error']['nodelete'] = _('You didn\'t select anything to delete.');
|
||||
$config['error']['nodeletethread'] = _('You are not allowed to delete threads.');
|
||||
$config['error']['noreport'] = _('You didn\'t select anything to report.');
|
||||
$config['error']['toolongreport'] = _('The reason was too long.');
|
||||
$config['error']['toolongreport'] = _('The reason was too long.');
|
||||
$config['error']['toomanyreports'] = _('You can\'t report that many posts at once.');
|
||||
$config['error']['noban'] = _('That ban doesn\'t exist or is not for you.');
|
||||
$config['error']['tooshortban'] = _('You cannot appeal a ban of this length.');
|
||||
$config['error']['toolongappeal'] = _('The appeal was too long.');
|
||||
$config['error']['toomanyappeals'] = _('You cannot appeal this ban again.');
|
||||
$config['error']['pendingappeal'] = _('There is already a pending appeal for this ban.');
|
||||
$config['error']['invalidpassword'] = _('Wrong password…');
|
||||
$config['error']['invalidimg'] = _('Invalid image.');
|
||||
$config['error']['unknownext'] = _('Unknown file extension.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue