Skip to content
Snippets Groups Projects
Commit c7ee51c1 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

add zebra to newest adds

parent 444c45a8
No related branches found
No related tags found
No related merge requests found
pluginclassname=SchwarzesBrettPlugin
pluginname=SchwarzesBrettPlugin
origin=IBIT
version=2.4.2
version=2.5
studipMinVersion=2.0
description=Globales Schwarzes Brett fr Kleinanzeigen mit Kategorien (Gesuche/Angebote)
\ No newline at end of file
description=Globales Schwarzes Brett fr Kleinanzeigen mit Kategorien (Gesuche/Angebote)
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment