From a079d4c1a04a2f390ccb6ea71076b1b42a066507 Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 25 Jun 2002 11:44:11 +0000 Subject: [PATCH] Renamed week->section --- course/editweek.html | 12 ----------- course/editweek.php | 50 -------------------------------------------- 2 files changed, 62 deletions(-) delete mode 100644 course/editweek.html delete mode 100644 course/editweek.php diff --git a/course/editweek.html b/course/editweek.html deleted file mode 100644 index 5a041e94e0..0000000000 --- a/course/editweek.html +++ /dev/null @@ -1,12 +0,0 @@ -
-
-

Summary of week week ?>

- -
(Maximum of 255 characters) -

- - - -

-
-
diff --git a/course/editweek.php b/course/editweek.php deleted file mode 100644 index 4c3808d6d5..0000000000 --- a/course/editweek.php +++ /dev/null @@ -1,50 +0,0 @@ -course)) { - error("Could not find the course!"); - } - - require_login($course->id); - - if (!isteacher($course->id)) { - error("Only teachers can edit this!"); - } - - -/// If data submitted, then process and store. - - if (match_referer() && isset($HTTP_POST_VARS)) { - - $timenow = time(); - - if (! set_field("course_weeks", "summary", $summary, "id", $week->id)) { - error("Could not update the summary!"); - } - - add_to_log($course->id, "course", "editweek", "editweek.php?id=$week->id", "$week->week"); - - redirect("view.php?id=$course->id"); - exit; - } - -/// Otherwise fill and print the form. - - if (! $form ) { - $form = $week; - } - - print_header("Edit week $week->week", "Edit week $week->week", "", "form.summary"); - - include("editweek.html"); - - print_footer($course); - -?> -- 2.39.5