From: Steinar H. Gunderson Date: Wed, 16 Feb 2005 14:01:34 +0000 (+0000) Subject: Add hidden tournament and round form elements. X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=2af69ca729a57a65bc0afdded897ccdaa04bf315 Add hidden tournament and round form elements. --- diff --git a/html/do-edit-scores.pl b/html/do-edit-scores.pl new file mode 100755 index 0000000..7d3d435 --- /dev/null +++ b/html/do-edit-scores.pl @@ -0,0 +1,16 @@ +#! /usr/bin/perl + +use ccbs; +use strict; +use warnings; + +my $dbh = ccbs::db_connect(); +my $cgi = new CGI; + +my $tournament = $cgi->param('tournament'); + +$dbh->disconnect; + +ccbs::print_header(); +ccbs::print_see_other('show-tournament.pl?id=' . $tournament); + diff --git a/html/templates/show-tournament.tmpl b/html/templates/show-tournament.tmpl index 4c02f78..7adedb7 100644 --- a/html/templates/show-tournament.tmpl +++ b/html/templates/show-tournament.tmpl @@ -98,7 +98,11 @@ [% FOR pl = p.players %] [% IF pl.locked %] - [% pl.nick %] + + + + [% pl.nick %] + [% FOR s = pl.songs %] [% s.score %] [% IF s.chosen %]