xref: /web-master/include/note-reasons.inc (revision 0e511803)
1<?php
2/* $Id: */
3
4// stock reasons for deleting notes
5$note_del_reasons = [
6  'integrated',
7  'useless',
8  'bad code',
9  'spam',
10  'non-english',
11  'in docs',
12];
13$note_del_reasons_pad = 0;
14foreach ($note_del_reasons AS $r) {
15  if (($l = strlen($r)) > $note_del_reasons_pad) {
16    $note_del_reasons_pad = $l;
17  }
18}
19++$note_del_reasons_pad;
20?>
21