Mercurial > hg > fapweb
changeset 697:215813020256
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 10 Nov 2014 17:46:34 +0200 |
parents | cd7ecb33cf75 |
children | 3f322be347d6 |
files | msite.inc.php |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/msite.inc.php Mon Nov 10 17:42:59 2014 +0200 +++ b/msite.inc.php Mon Nov 10 17:46:34 2014 +0200 @@ -550,10 +550,7 @@ // Get voting results by mode $sql = stGetCompoResultsSQL($voteKeyMode, $compo); - // List results - $prev = FALSE; - $index = 0; - + // Output compo title / header if ($html) { $out .= @@ -568,9 +565,12 @@ str_repeat("=", strlen($compo["name"]) + 2)."-- - .\n\n"; } + // List results for this compo + $prev = FALSE; + $index = 0; foreach (stExecSQL($sql) as $entry) { - + // Act based on compo type switch ($compo["ctype"]) { case COMPO_NORMAL: