comparison vote.inc.php @ 117:9a52fa9d4ecc

Show 'show_id' in the vote sheet as well.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 22 Oct 2013 12:42:04 +0300
parents ff511f5351df
children 71c35d5302c2
comparison
equal deleted inserted replaced
116:a95facb41c86 117:9a52fa9d4ecc
89 $row = 0; 89 $row = 0;
90 foreach ($compo["entries"] as $eid => $entry) 90 foreach ($compo["entries"] as $eid => $entry)
91 { 91 {
92 echo 92 echo
93 " <tr class=\"".($row % 2 == 1 ? "rodd" : "reven")."\">\n". 93 " <tr class=\"".($row % 2 == 1 ? "rodd" : "reven")."\">\n".
94 " <td class=\"show_id\">".($entry["show_id"] > 0 ? $entry["show_id"] : "-")."</td>\n".
94 " <td class=\"vtitle\">".$entry["name"]."</td>\n". 95 " <td class=\"vtitle\">".$entry["name"]."</td>\n".
95 ($compo["showAuthors"] ? " <td class=\"vauthor\">".$entry["author"]."</td>\n" : ""). 96 ($compo["showAuthors"] ? " <td class=\"vauthor\">".$entry["author"]."</td>\n" : "").
96 " "; 97 " ";
97 98
98 for ($i = stGetSetting("voteMin"); $i <= stGetSetting("voteMax"); $i++) 99 for ($i = stGetSetting("voteMin"); $i <= stGetSetting("voteMax"); $i++)