From: Steinar H. Gunderson Date: Mon, 4 Apr 2005 01:42:27 +0000 (+0000) Subject: Set the title on a player's page to the nick. X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=a2c8a5e21746cd1f040f412e6c534b1f0601e5b6;hp=34050d5b545b678e2af2980657d0f90a9d9de521 Set the title on a player's page to the nick. --- diff --git a/html/player.pl b/html/player.pl index ce0e713..80011b0 100755 --- a/html/player.pl +++ b/html/player.pl @@ -34,7 +34,7 @@ for my $score (@$scores) { } ccbs::print_header(); -ccbs::process_template('player.tmpl', $player->{'title'}, { +ccbs::process_template('player.tmpl', $player->{'nick'}, { player => $player, bestsongs => $bestsongs, allsongs => \@allsongs, diff --git a/html/templates/song.tmpl b/html/templates/song.tmpl index c1b510b..c1184fc 100644 --- a/html/templates/song.tmpl +++ b/html/templates/song.tmpl @@ -25,7 +25,7 @@ [% rowno %] [% SET rowno = rowno + 1 %] - [% s.nick %] + [% s.nick %] [% s.score %] [% s.tournamentname %]