1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
|
# --
# Login.dtl - provides HTML login screen
# Copyright (C) 2001-2005 Martin Edenhofer <martin+code@otrs.org>
# --
# $Id: Login.dtl,v 1.23 2005/08/23 08:57:33 cs Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --
# --
# http headers
# --
Content-Type: text/html; charset=$Env{"UserCharset"};
X-Powered-By: $Config{"Product"} $Config{"Version"} - Open Ticket Request System (http://otrs.org)
X-Wanted: I think you are smart. I'm looking for smart people!
# include Copyright.dtl
$Include{"Copyright"}
# --
<html>
<head>
<title>$Config{"ProductName"} :: $Text{"$Data{"Title"}"}</title>
# include css.dtl file
$Include{"css"}
</head>
<!-- end header -->
<body onLoad="document.login.User.focus();">
<center>
<p>
<font color="red">$Quote{"$Text{"$Data{"Message"}"}"}</font>
</p>
<p>
<form action="$Env{"CGIHandle"}" method="post" enctype="application/x-www-form-urlencoded" name="login">
<input type="hidden" name="Action" value="Login">
<input type="hidden" name="RequestedURL" value="$QData{"RequestedURL"}">
<input type="hidden" name="Lang" value="$Env{"UserLanguage"}">
<table border="0" cellspacing="0" cellpadding="3" width="270">
<tr>
<td align="center" class="singleboxhead">$Text{"Welcome to OTRS"}</td>
</tr>
<tr>
<td align="center" class="singleboxbody">
<table cellspacing="8" cellpadding="2">
<tr>
<td class="singleboxkey">$Text{"User"}:</td>
<td class="singleboxvalue"><input type="text" name="User" value="$QData{"User"}" size="18"></td>
</tr>
<tr>
<td class="singleboxkey">$Text{"Password"}:</td>
<td class="singleboxvalue"><input type="password" name="Password" size="18"></td>
</tr>
</table>
<input class="button" type="submit" value="$Text{"Login"}">
</td>
</tr>
</table>
</form>
</p>
# --
# language
# --
<p>
<form action="$Env{"CGIHandle"}" method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="Action" value="">
<input type="hidden" name="RequestedURL" value="$QData{"RequestedURL"}">
<table border="0" cellspacing="0" cellpadding="3" width="270">
<tr>
<td align="center" class="singleboxhead">$Text{"Language"}</td>
</tr>
<tr>
<td align="center" class="singleboxbody">
<table cellspacing="8" cellpadding="2">
<tr>
<td class="singleboxkey">$Text{"Language"}:</td>
<td class="singleboxvalue">$Data{"Language"}</td>
</tr>
</table>
<input class="button" type="submit" value="$Text{"submit"}">
</td>
</tr>
</table>
</form>
</p>
<!-- dtl:block:LostPassword -->
<p>
<center>
<table border="0" cellspacing="0" cellpadding="3" width="270">
<tr>
<td align="center" class="singleboxhead">$Text{"Lost your password?"}</td>
</tr>
<tr>
<td align="center" class="singleboxbody">
<i class="small">($Text{"Request new password"})</i>
<form action="$Env{"CGIHandle"}" method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="Action" value="LostPassword">
<input type="hidden" name="Lang" value="$Env{"UserLanguage"}">
<table cellspacing="8" cellpadding="2">
<tr>
<td class="singleboxkey">$Text{"User"}:</td>
<td class="singleboxvalue"><input type="text" name="User" value="" size="18"></td>
</tr>
</table>
<input class="button" type="submit" value="$Text{"submit"}">
</form>
</td>
</tr>
</table>
</center>
</p>
<!-- dtl:block:LostPassword -->
# --
# Message of the day data!
# --
$Data{"Motd"}
</center>
<!-- start footer -->
</body>
</html>
<!-- end footer -->
|