From 40491e249128eb6244f770aa1e4f5615ed4874a7 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 14 Apr 2009 13:21:50 +0000 Subject: Fixed type-o in news module. --- utils/modules/news.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'utils/modules/news.php') diff --git a/utils/modules/news.php b/utils/modules/news.php index 6137049..d26f8cb 100644 --- a/utils/modules/news.php +++ b/utils/modules/news.php @@ -85,6 +85,14 @@ class News { datetimeedit("Time", "time", $time); combobox("Category", "category", $category, array("Main" => "main", "Site" => "site")); textedit("Description", "description", $description); + imagecombobox("Icon", "icon", $icon, + array("Logo1" => "http://www.executionroom.com/gfx/logos/die_logo_black_thumb.png", + "Logo2" => "http://www.executionroom.com/gfx/logos/die_logo_bloody_thumb.png", + "Logo3" => "http://www.executionroom.com/gfx/logos/die_logo_red_thumb_.png", + "Logo4" => "http://www.executionroom.com/gfx/logos/die_logo_white_thumb.png", + "Logo5" => "http://www.executionroom.com/gfx/die_group_2008_thumb.jpg", + "Logo6" => "http://www.executionroom.com/gfx/die_group_thumb.jpg") + ); button("Post news"); endform(); break; @@ -156,7 +164,7 @@ class News { } } - public function admin_delete($sub, $action, $vars) + public function admin_delete($action, $vars) { switch($action) { case "delete": -- cgit v1.2.3