From: Steinar H. Gunderson Date: Wed, 16 Feb 2005 13:58:19 +0000 (+0000) Subject: Add name= to the submit buttons, and some information fixes. X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=0f7fc7ef67f2e6f97fedce37e9097356bf8f9233;hp=80fe04629ad2d5edd19a19e708b4c1a47e440c0e Add name= to the submit buttons, and some information fixes. --- diff --git a/html/show-tournament.pl b/html/show-tournament.pl index 8e7c9e9..fa95fb4 100755 --- a/html/show-tournament.pl +++ b/html/show-tournament.pl @@ -50,7 +50,7 @@ for my $score (@$scores) { my $pl = $p->[$#$p]->{'players'}; if ($score->{'nick'} ne $player) { $player = $score->{'nick'}; - push @$pl, { nick => $player, songs => [], total => 0, locked => 1 }; + push @$pl, { player => $score->{'player'}, nick => $player, songs => [], total => 0, locked => 1 }; } push @{$pl->[$#$pl]->{'songs'}}, $score; diff --git a/html/templates/show-tournament.tmpl b/html/templates/show-tournament.tmpl index 49f9b6d..4c02f78 100644 --- a/html/templates/show-tournament.tmpl +++ b/html/templates/show-tournament.tmpl @@ -159,7 +159,7 @@ [% IF s.chosen %] - [% FOR ss = songs %] [% IF s.song == ss.song %] @@ -175,7 +175,7 @@ [% IF p.num_songs > 1 %] [% pl.total %] [% END %] - + [% END %] [% END %]