From 6703079fa4dad041813106525eac30738415fde8 Mon Sep 17 00:00:00 2001 From: atg Date: Sat, 27 Oct 2007 23:01:41 +0000 Subject: [PATCH] Now with support for Shimmie2 RC2 (and perhaps earlier versions) git-svn-id: file:///home/shish/svn/shimmie2/trunk@576 7f39781d-f577-437e-ae19-be835c7a54ca --- contrib/report_image/main.php | 13 +++++++------ contrib/report_image/report_image.js | 4 ++-- contrib/report_image/theme.php | 4 ++-- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/contrib/report_image/main.php b/contrib/report_image/main.php index 577ddaa0..955a7e53 100755 --- a/contrib/report_image/main.php +++ b/contrib/report_image/main.php @@ -5,8 +5,8 @@ * Link: http://atravelinggeek.com/ * License: GPLv2 * Description: Report images as dupes/illegal/etc - * Version 0.2a - See change log below - * October 24, 2007 + * Version 0.2b - See changelog in main.php + * October 27, 2007 */ class RemoveReportedImageEvent extends Event { @@ -30,10 +30,10 @@ class AddReportedImageEvent extends Event { } } -class ReportImage extends Extension { +class report_image extends Extension { public function receive_event($event) { - if(is_null($this->theme)) $this->theme = get_theme_object("ReportImage", "ReportImageTheme"); + if(is_null($this->theme)) $this->theme = get_theme_object("report_image", "ReportImageTheme"); if(is_a($event, 'InitExtEvent')) { global $config; @@ -141,10 +141,11 @@ class ReportImage extends Extension { } } -add_event_listener(new ReportImage(), 29); // Not sure what I'm in before. +add_event_listener(new report_image(), 29); // Not sure what I'm in before. // ===== Changelog ===== +// * Version 0.2b - 10/27/07 - Now supports Shimmie2 RC2! // * Version 0.2a - 10/24/07 - Fixed some SQL issues. I will make sure to test before commiting :) // * Version 0.2 - 10/24/07 - First public release. -?> \ No newline at end of file +?> diff --git a/contrib/report_image/report_image.js b/contrib/report_image/report_image.js index 9b431a3c..9d589a66 100755 --- a/contrib/report_image/report_image.js +++ b/contrib/report_image/report_image.js @@ -4,8 +4,8 @@ * Link: http://atravelinggeek.com/ * License: GPLv2 * Description: Report images as dupes/illegal/etc - * Version 0.2a - See changelog in main.php - * October 24, 2007 + * Version 0.2b - See changelog in main.php + * October 27, 2007 */ function validate_report() diff --git a/contrib/report_image/theme.php b/contrib/report_image/theme.php index 2b87f3a3..1defa064 100755 --- a/contrib/report_image/theme.php +++ b/contrib/report_image/theme.php @@ -6,8 +6,8 @@ * Link: http://atravelinggeek.com/ * License: GPLv2 * Description: Report images as dupes/illegal/etc - * Version 0.2a - See changelog in main.php - * October 24, 2007 + * Version 0.2b - See changelog in main.php + * October 27, 2007 */ class ReportImageTheme extends Themelet {