Set the title on a player's page to the nick.
authorSteinar H. Gunderson <sesse@samfundet.no>
Mon, 4 Apr 2005 01:42:27 +0000 (01:42 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Mon, 4 Apr 2005 01:42:27 +0000 (01:42 +0000)
html/player.pl
html/templates/song.tmpl

index ce0e7137312fdc3027bdaf89f84b93eab892e4f4..80011b0d6ba0c0b1acea1e226d95e81b276e3f17 100755 (executable)
@@ -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,
index c1b510b36cd1f31f34fcf692185e0021a96729e5..c1184fc341d9ddf191719a0e6bd511b55464a221 100644 (file)
@@ -25,7 +25,7 @@
       <tr>
         <th>[% rowno %]</th>
 [% SET rowno = rowno + 1 %]
-        <td>[% s.nick %]</td>
+        <td><a href="player.pl?id=[% s.player %]">[% s.nick %]</a></td>
         <td>[% s.score %]</td>
         <td><a href="show-tournament.pl?id=[% s.tournament %]">[% s.tournamentname %]</a></td>
       </tr>