Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS

This commit is contained in:
Andrew Dolgov 2011-12-11 19:37:42 +04:00
commit 170532b7a1
2 changed files with 1 additions and 8 deletions

View File

@ -2273,13 +2273,6 @@
}
}
function toggleEvenOdd($a) {
if ($a == "even")
return "odd";
else
return "even";
}
// Session caching removed due to causing wrong redirects to upgrade
// script when get_schema_version() is called on an obsolete session
// created on a previous schema version.

View File

@ -83,7 +83,7 @@
print "<li class=\"$row_class\">$feed_icon&nbsp;<a href=\"".$line["site_url"]."\">".$line["title"]."</a></li>";
$row_class = toggleEvenOdd($row_class);
$row_class = $row_class == "even" ? "odd" : "even";
}