Lines Matching refs:user
35 ["href" => "/manage/user-notes.php", "text" => "Notes"],
43 $CSS[] = "/styles/user-autocomplete.css";
48 if (strstr($_SERVER["SCRIPT_FILENAME"], "user-notes.php")) {
49 …$SEARCH = ["method" => "get", "action" => "/manage/user-notes.php", "placeholder" => "Search notes…
315 /* Notify the user */
341 /* Notify the user */
363 function is_admin($user) {
404 return in_array($user, $admins);
407 function is_mirror_site_admin($user) {
432 return in_array($user, $admins);
435 # returns false if $user is not allowed to modify $userid
436 function can_modify($user,$userid) {
437 if (is_admin($user)) return true;
440 $res = db_query_safe($query, [$userid, $user, $user]);
444 function fetch_user($user) {
445 if ((int)$user) {
448 [$user]);
452 [$user, $user]);