";
$displayedNumbers = 0;
for ($i = 1 ; $i < ($nbentries/$num) ; $i++)
{
@@ -175,7 +175,8 @@ class routeSQL
$route->redirect ("/".$this->url_prefix."?page=$maxPage&num=$num", "");
}
- $content = $this->showflash ();
+ $content = "
\n";
+ $content .= $this->showflash ();
if ($this->displayActions)
$content .= "
".
dgettext("domframework","Add new entry")."\n";
@@ -199,6 +200,7 @@ class routeSQL
else
{
$i = 1;
+ $odd = "odd";
foreach ($datas as $line)
{
if ($i <= (($page-1)*$num) || $i > (($page-1)*$num + $num))
@@ -206,7 +208,9 @@ class routeSQL
$i++;
continue;
}
- $content .= "
";
+ $content .= "
";
+ if ($odd === "odd") $odd = "even";
+ else $odd = "odd";
if ($this->displayActions && $this->actionsAtEnd === false)
{
$content .= "| ";
@@ -245,6 +249,7 @@ class routeSQL
}
$content .= " \n";
$content .= "\n";
+ $content .= "\n";
echo $content;
});
|