Skip to content

Commit

Permalink
Display request data in gloperator log
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargaj committed Nov 2, 2013
1 parent d9489d7 commit f4f2ab2
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions gloperator_log.php
Expand Up @@ -36,12 +36,21 @@ function RenderBody() {
echo " <td>".$r->gloperator->PrintLinkedAvatar()." ".$r->gloperator->PrintLinkedname()."</td>\n";
echo " <td>"._html($r->action)."</td>\n";
echo " <td>";
switch($r->action)

global $REQUESTTYPES;
if ($REQUESTTYPES[$r->action])
{
default:
{
echo "&nbsp;\n";
} break;
echo $REQUESTTYPES[$r->action]::Display( $_GET["what"], json_decode($r->additionalData,true) );
}
else
{
switch($r->action)
{
default:
{
echo "&nbsp;\n";
} break;
}
}
echo "</td>";
echo "</tr>\n";
Expand Down

0 comments on commit f4f2ab2

Please sign in to comment.