Exemplo n.º 1
0
     draw_page_top($page);
     draw_add_edit_bug_form($project_table, $user_table);
     draw_page_bottom();
     break;
     # PRESENT CHANGE PASSWORD FORM. IN: (NONE)
 # PRESENT CHANGE PASSWORD FORM. IN: (NONE)
 case "changepassword":
     draw_page_top($page);
     draw_change_password_form($user_table);
     draw_page_bottom();
     break;
     # QUICK-AND-DIRTY FULL TEXT SEARCH. IN: $pattern, $search_options[] array
 # QUICK-AND-DIRTY FULL TEXT SEARCH. IN: $pattern, $search_options[] array
 case "searchissue":
     draw_page_top($page);
     search_bugs($_GET["pattern"], $_GET["search_options"]);
     draw_page_bottom();
     break;
     # SAVE POSTED UPDATED PASSWORD.  IN: $user_data[] array, $old_pw
 # SAVE POSTED UPDATED PASSWORD.  IN: $user_data[] array, $old_pw
 case "savepassword":
     if ($just_posted) {
         draw_page_top($page);
         $user_data = $_POST["user_data"];
         $old_pw = $_POST["old_pw"];
         update_user($user_data, $user_table, $old_pw);
         draw_page_bottom();
     }
     break;
     # NEW OR EDITED BUG JUST SUBMITTED.
     # IN:  $Attachment[] data array + upload file, $id, $bug_data[] array, $original_submit_time, $cc_list[] array
Exemplo n.º 2
0
     draw_page_top($page);
     draw_add_edit_bug_form($project_table, $user_table);
     draw_page_bottom();
     break;
     #	PRESENT CHANGE PASSWORD FORM. IN: (NONE)
 #	PRESENT CHANGE PASSWORD FORM. IN: (NONE)
 case "changepassword":
     draw_page_top($page);
     draw_change_password_form(&$user_table);
     draw_page_bottom();
     break;
     #	QUICK-AND-DIRTY FULL TEXT SEARCH. IN: $pattern, $search_options[] array
 #	QUICK-AND-DIRTY FULL TEXT SEARCH. IN: $pattern, $search_options[] array
 case "searchissue":
     draw_page_top($page);
     search_bugs($HTTP_GET_VARS["pattern"], $HTTP_GET_VARS["search_options"]);
     draw_page_bottom();
     break;
     #	SAVE POSTED UPDATED PASSWORD.  IN: $user_data[] array, $old_pw
 #	SAVE POSTED UPDATED PASSWORD.  IN: $user_data[] array, $old_pw
 case "savepassword":
     if ($just_posted) {
         draw_page_top($page);
         $user_data = $HTTP_POST_VARS["user_data"];
         $old_pw = $HTTP_POST_VARS["old_pw"];
         update_user($user_data, $user_table, $old_pw);
         draw_page_bottom();
     }
     break;
     #	NEW OR EDITED BUG JUST SUBMITTED.
     #	IN:  $Attachment[] data array + upload file, $id, $bug_data[] array, $original_submit_time, $cc_list[] array