diff --git a/contrib/report_image/main.php b/contrib/report_image/main.php index 873396b8..215ccc0c 100755 --- a/contrib/report_image/main.php +++ b/contrib/report_image/main.php @@ -1,11 +1,12 @@ get_arg(0) == "remove") { if(isset($_POST['id'])) { - if($event->user->is_admin()) { + if($user->is_admin()) { send_event(new RemoveReportedImageEvent($_POST['id'])); global $page; $page->set_mode("redirect"); @@ -68,7 +69,7 @@ class report_image extends Extension { } } else if($event->get_arg(0) == "list") { - if($event->user->is_admin()) { + if($user->is_admin()) { global $page; $this->theme->display_reported_images($page, $this->get_reported_images()); } diff --git a/contrib/report_image/report_image.js b/contrib/report_image/report_image.js index 3fec3d27..015d985a 100755 --- a/contrib/report_image/report_image.js +++ b/contrib/report_image/report_image.js @@ -4,7 +4,7 @@ * Link: http://atravelinggeek.com/ * License: GPLv2 * Description: Report images as dupes/illegal/etc - * Version 0.3 - See changelog in main.php + * Version 0.3a - See changelog in main.php * November 06, 2007 */ diff --git a/contrib/report_image/theme.php b/contrib/report_image/theme.php index 1ef3c783..f93ef88d 100755 --- a/contrib/report_image/theme.php +++ b/contrib/report_image/theme.php @@ -6,8 +6,11 @@ * Link: http://atravelinggeek.com/ * License: GPLv2 * Description: Report images as dupes/illegal/etc - * Version 0.3 - See changelog in main.php + * Version 0.3a - See changelog in main.php * November 06, 2007 + * + * NOTE: This is for Shimmie2 SVN Trunk. Use the other theme.php.use... for Shimmie2 RCx. + * */ class ReportImageTheme extends Themelet { @@ -30,7 +33,7 @@ class ReportImageTheme extends Themelet { $h_reportedimages .= "
Image | Reporter | Reason Type | Reason / Image ID | Action | + $h_reportedimages +