summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-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":