From 03e4aef5f055c492d8b8dc72d474eb0e7c2ca8c0 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 24 Mar 2001 16:14:22 +0000 Subject: [PATCH] - we are not going to use story.php anymore: it will be a more generic node.php --- story.php | 55 ------------------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 story.php diff --git a/story.php b/story.php deleted file mode 100644 index fd60f0939fe..00000000000 --- a/story.php +++ /dev/null @@ -1,55 +0,0 @@ -story($story, "[ ". t("reply to this story") ." ]"); - comment_render($id, $cid); - } - else { - $theme->box(t("Warning message"), t("The story you requested is not available or does not exist.")); - } -} - -switch($op) { - case t("Preview comment"): - $theme->header(); - comment_preview(check_input($pid), check_input($id), ($subject ? check_output($subject) : ""), ($comment ? check_output($comment) : "")); - $theme->footer(); - break; - case t("Post comment"): - comment_post(check_input($pid), check_input($id), check_input($subject), check_input($comment)); - $theme->header(); - story_render(check_input($id), check_input($cid)); - $theme->footer(); - break; - case "reply": - $theme->header(); - comment_reply(check_input($pid), check_input($id)); - $theme->footer(); - break; - case t("Update settings"): - comment_settings(check_input($mode), check_input($order), check_input($threshold)); - $theme->header(); - story_render(check_input($id), check_input($cid)); - $theme->footer(); - break; - case t("Moderate comments"): - comment_moderate($moderate); - $theme->header(); - story_render(check_input($id), check_input($cid)); - $theme->footer(); - break; - default: - $theme->header(); - story_render(check_input($id), check_input($cid)); - $theme->footer(); -} - -?>