# --
# Test.dtl - provides HTML test page
# Copyright (C) 2001-2010 OTRS AG, http://otrs.org/
# --
# $Id: Test.dtl,v 1.18 2010-05-27 08:51:47 mg Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

<h1>$Text{"OTRS Test Page"}</h1>
<hr/>
# --
# translation test
# --
<b>translation test</b><br/>
<table>
    <tr>
        <td>Lock:</td><td> $Text{"Lock"}</td>
    </tr>
    <tr>
        <td>Unlock:</td><td> $Text{"Unlock"}</td>
    </tr>
    <tr>
        <td colspan="2">$Text{"Welcome %s", "$Env{"UserFirstname"} $Env{"UserLastname"}"}</td>
    </tr>
</table>
<hr/>
# --
# show some config options
# --
<b>config options</b><br/>
<table>
    <tr>
        <td>SystemID:</td><td> $Config{"SystemID"}</td>
    </tr>
    <tr>
        <td>FQDN:</td><td> $Config{"FQDN"}</td>
    </tr>
    <tr>
        <td>Sendmail Module:</td><td> $Config{"SendmailModule"}</td>
    </tr>
    <tr>
        <td>PostmasterDefaultQueue:</td><td> $Config{"PostmasterDefaultQueue"}</td>
    </tr>
</table>
<hr/>
# --
# show some env variables
# --
<b>env variables</b><br/>
<table>
    <tr>
        <td>Time:</td><td> $Env{"Time"}</td>
    </tr>
    <tr>
        <td>SessionID:</td><td> $Env{"SessionID"}</td>
    </tr>
    <tr>
        <td>UserCharset:</td><td> $Env{"UserCharset"}</td>
    </tr>
    <tr>
        <td>HTTP_USER_AGENT:</td><td> $Env{"HTTP_USER_AGENT"}</td>
    </tr>
    <tr>
        <td>Global CGI handle:</td><td> $Env{"CGIHandle"}</td>
    </tr>
    <tr>
        <td>REMOTE_ADDR:</td><td> $Env{"REMOTE_ADDR"}</td>
    </tr>
    <tr>
        <td>REMOTE_PORT:</td><td> $Env{"REMOTE_PORT"}</td>
    </tr>
    <tr>
        <td>SERVER_ADDR:</td><td> $Env{"SERVER_ADDR"}</td>
    </tr>
    <tr>
        <td>SERVER_PORT:</td><td> $Env{"SERVER_PORT"}</td>
    </tr>
    <tr>
        <td>SERVER_NAME:</td><td> $Env{"SERVER_NAME"}</td>
    </tr>
    <tr>
        <td>HTTP_HOST:</td><td> $Env{"HTTP_HOST"}</td>
    </tr>
    <tr>
        <td>SERVER_SOFTWARE:</td><td> $Env{"SERVER_SOFTWARE"}</td>
    </tr>
    <tr>
        <td>SERVER_ADMIN:</td><td> $Env{"SERVER_ADMIN"}</td>
    </tr>
    <tr>
        <td>SCRIPT_FILENAME:</td><td> $Env{"SCRIPT_FILENAME"}</td>
    </tr>
    <tr>
        <td>SCRIPT_NAME:</td><td> $Env{"SCRIPT_NAME"}</td>
    </tr>
</table>
<hr/>
# --
# blocks
# --
<b>dtl block</b>
<br/>
<!-- dtl:block:Row -->
$QData{"Text"} $Text{"Counter"}: $QData{"Counter"}
<hr size="1">
<!-- dtl:block:Row -->
<br/>
<!-- dtl:block:System -->
<table border="1">
<!-- dtl:block:User -->
    <tr>
        <th valign="top">$Data{"Type"}</th>
        <th valign="top">$Data{"Counter"}</th>
    </tr>
<!-- dtl:block:UserID -->
    <tr>
        <td valign="top">$Data{"Type"}</td>
        <td valign="top">$Data{"Counter"}</td>
    </tr>
<!-- dtl:block:UserID -->
<!-- dtl:block:UserIDA -->
    <tr>
        <td valign="top">$Data{"Type"}</td>
        <td valign="top">$Data{"Counter"}</td>
    </tr>
<!-- dtl:block:UserIDA -->
<!-- dtl:block:User -->
<!-- dtl:block:Times -->
    <tr>
        <td valign="top">$Data{"Type"}</td>
        <td valign="top">$Data{"Counter"}</td>
    </tr>
<!-- dtl:block:Times -->
</table>
<br/>
<!-- dtl:block:System -->
