summaryrefslogtreecommitdiff
path: root/utils/modules/news.php
diff options
context:
space:
mode:
authordeva <deva>2009-04-14 13:21:50 +0000
committerdeva <deva>2009-04-14 13:21:50 +0000
commit40491e249128eb6244f770aa1e4f5615ed4874a7 (patch)
treeb327156aa54c611933c5e747c6798e30ff80db8b /utils/modules/news.php
parent5cae40795a87c304724782d18d64a974d7c0a185 (diff)
Fixed type-o in news module.
Diffstat (limited to 'utils/modules/news.php')
-rw-r--r--utils/modules/news.php10
1 files changed, 9 insertions, 1 deletions
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":