Merge pull request #336 from discomrade/vichan-report-length

vichan downstream: Enforce maximum report length
This commit is contained in:
nonmakina 2021-07-24 10:32:45 +02:00 committed by GitHub
commit 7d23e14cb9
3 changed files with 8 additions and 1 deletions

View file

@ -900,6 +900,9 @@
// Number of reports you can create at once.
$config['report_limit'] = 3;
// Maximum character length of report.
$config['report_max_length'] = 50;
// Allow unfiltered HTML in board subtitle. This is useful for placing icons and links.
$config['allow_subtitle_html'] = false;
@ -1148,6 +1151,7 @@
$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']['toomanyreports'] = _('You can\'t report that many posts at once.');
$config['error']['invalidpassword'] = _('Wrong password…');
$config['error']['invalidimg'] = _('Invalid image.');