From c7ee51c12c2220e360fd6a0d4805cfdfce2bc5f2 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+github@gmail.com>
Date: Wed, 5 Mar 2014 14:37:19 +0100
Subject: [PATCH] add zebra to newest adds

---
 plugin.manifest           |  4 ++--
 templates/show_themen.php | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/plugin.manifest b/plugin.manifest
index 18efec9..1ec29e0 100644
--- a/plugin.manifest
+++ b/plugin.manifest
@@ -1,6 +1,6 @@
 pluginclassname=SchwarzesBrettPlugin
 pluginname=SchwarzesBrettPlugin
 origin=IBIT
-version=2.4.2
+version=2.5
 studipMinVersion=2.0
-description=Globales Schwarzes Brett f�r Kleinanzeigen mit Kategorien (Gesuche/Angebote)
\ No newline at end of file
+description=Globales Schwarzes Brett f�r Kleinanzeigen mit Kategorien (Gesuche/Angebote)
diff --git a/templates/show_themen.php b/templates/show_themen.php
index ba89493..df399ee 100644
--- a/templates/show_themen.php
+++ b/templates/show_themen.php
@@ -21,13 +21,13 @@
 
 <? if(count($lastArtikel) > 0): $last=count($lastArtikel); ?>
 <h2 class="caption"><?= sprintf(_('Die %u neusten Anzeigen'), $last) ?></h2>
-<table border="0" cellpadding="2" cellspacing="0" width="100%">
+<table>
     <tr class="steel1">
         <td valign="top" width="50%">
-            <table border="0" cellpadding="5" cellspacing="0" width="100%">
+            <table class="default zebra-hover">
             <? for ($i=0; $i<ceil($last/2); $i++):
                 $a = $lastArtikel[$i]; ?>
-                <tr class="<?= TextHelper::cycle('cycle_even', 'cycle_odd') ?>">
+                <tr>
                     <td>
                         <?= $a ?>
                     </td>
@@ -36,10 +36,10 @@
             </table>
         </td>
         <td valign="top" width="50%">
-            <table border="0" cellpadding="5" cellspacing="0" width="100%">
+            <table class="default zebra-hover">
             <? for ($i=ceil($last/2); $i<($last); $i++):
                 $a = $lastArtikel[$i]; ?>
-                <tr class="<?= TextHelper::cycle('cycle_even', 'cycle_odd') ?>">
+                <tr>
                     <td>
                         <?= $a ?>
                     </td>
-- 
GitLab