From 2af69ca729a57a65bc0afdded897ccdaa04bf315 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 16 Feb 2005 14:01:34 +0000 Subject: [PATCH] Add hidden tournament and round form elements. --- html/do-edit-scores.pl | 16 ++++++++++++++++ html/templates/show-tournament.tmpl | 6 +++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100755 html/do-edit-scores.pl 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 %] -- 2.39.2