diff --git a/contrib/report_image/theme.php b/contrib/report_image/theme.php index 0f4cf98c..e84c6189 100755 --- a/contrib/report_image/theme.php +++ b/contrib/report_image/theme.php @@ -15,6 +15,7 @@ class ReportImageTheme extends Themelet { global $config; $h_reportedimages = ""; + $n = 0; foreach($reports as $report) { $image = $report['image']; $h_reason = html_escape($report['reason']); @@ -35,8 +36,9 @@ class ReportImageTheme extends Themelet { ksort($iabbe->parts); $actions = join("
", $iabbe->parts); + $oe = ($n++ % 2 == 0) ? "even" : "odd"; $h_reportedimages .= " - + {$image_link} Report by $userlink: $h_reason @@ -53,12 +55,7 @@ class ReportImageTheme extends Themelet { $thumb_width = $config->get_int("thumb_width"); $html = " - - +
$h_reportedimages
ImageReasonAction