Lines Matching refs:note
4 $_SERVER['BASE_PAGE'] = 'manual/add-note.php';
12 site_header("Add Manual Note", ['css' => 'add-note.css']);
24 $needed_vars = ['note', 'user', 'sect', 'redirect', 'action', 'func', 'arga', 'argb', 'answer'];
37 $note = trim($_POST['note']); variable
41 $note = str_replace(["\r\n", "\r"], "\n", $note); variable
42 $note = preg_replace("/\n{2,}/", "\n\n", $note); variable
53 if (strlen($note) == 0) {
68 elseif (strlen($note) >= 4096) {
73 elseif (strlen($note) < 32) {
81 foreach (preg_split("/\\s+/", $note) as $chunk) {
100 'note' => $note,
144 manual_note_display(new UserNote('', '', '', time(), $user, $note));