Lines Matching refs:note
4 $_SERVER['BASE_PAGE'] = 'manual/add-note.php';
12 site_header("Add Manual Note", ['css' => 'add-note.css']);
41 $note = trim($_POST['note']); variable
45 $note = str_replace(["\r\n", "\r"], "\n", $note); variable
46 $note = preg_replace("/\n{2,}/", "\n\n", $note); variable
57 if (strlen($note) == 0) {
72 elseif (strlen($note) >= 4096) {
77 elseif (strlen($note) < 32) {
85 foreach (preg_split("/\\s+/", $note) as $chunk) {
104 'note' => $note,
148 manual_note_display(new UserNote('', '', '', time(), $user, $note));