X-Git-Url: http://aymargeddon.de/gitweb/?p=aymargeddon%2Fcurrent.git;a=blobdiff_plain;f=html%2Fplayer.epl;h=46c75406926677f97dc19c1a5b40cc51ae07626f;hp=ccb534e0f19bdc2d6910b5d80f43e407d2bdeba7;hb=857c98b65b22e5d35218ee88781f70044f9092df;hpb=8f037c123df00f587fda88e656579bcf17c8e66b diff --git a/html/player.epl b/html/player.epl index ccb534e..46c7540 100644 --- a/html/player.epl +++ b/html/player.epl @@ -7,7 +7,7 @@ $udat{-current} = 'player.epl'; use Aymargeddon; - use Data::Dumper; + # use Data::Dumper; $db = DataBase->new(); $id = 0; if($udat{-id}){ @@ -87,7 +87,7 @@ for $og (@$open_games){ push @real_open_games, $og unless exists $such{$og->[0]}; } - + # Util::log("real open games: ". Dumper(\@real_open_games), 2); ($rn) = $db->read_player($id, 'REALNAME') unless exists $udat{-game}; -] @@ -110,7 +110,7 @@

[+ $db->loc('PLAYER_OPENGAMES') +]:

[$ foreach $og (@real_open_games) $] - [- $og=$og->[0]; ($og_name) = $db->read_game($og,'NAME'); -] + [- ($og_name) = $db->read_game($og,'NAME'); -] [+$og_name+]

[$ endforeach $] [$ if $#{@real_open_games} < 0 $] @@ -140,7 +140,7 @@ $messages = $aym->read_messages(); $now = $db->now(); -] - [+ $db->loc('PLAYER_MESSAGES_HEADING') +]

+ [+ $db->loc('PLAYER_MESSAGES_HEADING') +]

[+ $db->loc('PLAYER_DELETE_MESSAGES')+]

[$ foreach $msg (@$messages) $]