From 0f7fc7ef67f2e6f97fedce37e9097356bf8f9233 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 16 Feb 2005 13:58:19 +0000 Subject: [PATCH] Add name= to the submit buttons, and some information fixes. --- html/show-tournament.pl | 2 +- html/templates/show-tournament.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 %] -- 2.39.2