File: CustomerLogin.dtl

package info (click to toggle)
otrs2 2.0.4p01-18
  • links: PTS
  • area: main
  • in suites: etch
  • size: 7,900 kB
  • ctags: 4,437
  • sloc: perl: 81,607; xml: 8,135; sql: 8,013; sh: 1,113; makefile: 22; php: 16
file content (151 lines) | stat: -rw-r--r-- 4,599 bytes parent folder | download | duplicates (2)
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# --
# Login.dtl - provides customer HTML login screen
# Copyright (C) 2001-2005 Martin Edenhofer <martin+code@otrs.org>
# --
# $Id: CustomerLogin.dtl,v 1.13 2005/07/15 00:26:30 martin 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
# --
$Include{"CustomerHeader"}

<!-- start login -->

<p>
<center>
<font color="red">$Quote{"$Text{"$Data{"Message"}"}"}</font>
<table border="0" cellspacing="0" cellpadding="3" width="300">
<tr>
  <td class="singleboxhead">$Text{"Login"}</td>
</tr>
<tr>
  <td class="singleboxbody">

    <form action="$Env{"CGIHandle"}" method="post" enctype="application/x-www-form-urlencoded">
    <input type="hidden" name="Action" value="Login">
    <input type="hidden" name="RequestedURL" value="$QData{"RequestedURL"}">
    <input type="hidden" name="Lang" value="$Env{"UserLanguage"}">

    <table cellspacing="8" cellpadding="2">
    <tr>
      <td>$Text{"Username"}:</td>
      <td><input type="text" name="User" value="$QData{"User"}" size="18"></td>
    </tr>
    <tr>
      <td>$Text{"Password"}:</td>
      <td><input type="password" name="Password" size="18"></td>
    </tr>
    </table>
    <input class="button" type="submit" value="$Text{"Login"}">
    </form>

  </td>
</tr>
</table>
</p>
<!-- dtl:block:LostPassword -->
<p>
<table border="0" cellspacing="0" cellpadding="3" width="300">
<tr>
  <td class="singleboxhead">$Text{"Lost your password?"}</td>
</tr>
<tr>
  <td class="singleboxbody">
    <form action="$Env{"CGIHandle"}" method="get" enctype="application/x-www-form-urlencoded">
    <input type="hidden" name="Action" value="CustomerLostPassword">
    <input type="hidden" name="Lang" value="$Env{"UserLanguage"}">
    <table cellspacing="8" cellpadding="2">
    <tr>
      <td>$Text{"Username"}:</td>
      <td><input type="text" name="User" value="" size="18"></td>
    </tr>
    <tr>
      <td colspan="2"><i class="small">($Text{"Request new password"})</i></td>
    </tr>
    </table>
    <input class="button" type="submit" value="$Text{"submit"}">
    </form>
  </td>
</tr>
</table>
</p>
<!-- dtl:block:LostPassword -->
# --
# 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="300">
<tr>
  <td class="singleboxhead">$Text{"Language"}</td>
</tr>
<tr>
  <td class="singleboxbody">
    <table cellspacing="8" cellpadding="2">
    <tr>
      <td>$Text{"Language"}:</td>
      <td>$Data{"Language"}</td>
    </tr>
    </table>
  <input class="button" type="submit" value="$Text{"submit"}">
  </td>
</tr>
</table>
</form>
</p>

<!-- dtl:block:CreateAccount -->
<p>
<table border="0" cellspacing="0" cellpadding="3" width="300">
<tr>
  <td class="singleboxhead">$Text{"Create Account"}</td>
</tr>
<tr>
  <td class="singleboxbody">
    <form action="$Env{"CGIHandle"}" method="post" enctype="application/x-www-form-urlencoded">
    <input type="hidden" name="Action" value="CustomerCreateAccount">
    <input type="hidden" name="Lang" value="$Env{"UserLanguage"}">
   <table border="0" cellspacing="0" cellpadding="3">
    <tr>
      <td>$Text{"Salutation"}: </td>
      <td> <input type="text" name="Salutation" value="$QData{"UserSalutation"}" size="25" maxlength="50"></td>
    </tr>
    <tr>
      <td>$Text{"Firstname"}: </td>
      <td> <input type="text" name="Firstname" value="$QData{"UserFirstname"}" size="25" maxlength="50"></td>
    </tr>
    <tr>
      <td>$Text{"Lastname"}: </td>
      <td> <input type="text" name="Lastname" value="$QData{"UserLastname"}" size="25" maxlength="50"></td>
    </tr>
#    <tr>
#      <td>$Text{"Login"}: </td>
#      <td> <input type="text" name="Username" value="$QData{"UserLogin"}" size="25" maxlength="50"></td>
#    </tr>
    <tr>
      <td>$Text{"Email"}/$Text{"Login"}: </td>
      <td> <input type="text" name="Email" value="$QData{"UserEmail"}" size="25" maxlength="50"></td>
    </tr>
#    <tr>
#      <td>$Text{"CustomerID"}: </td>
#      <td> <input type="text" name="CustomerID" value="$QData{"UserCustomerID"}" size="25" maxlength="50"></td>
#    </tr>
    </table>
    <input class="button" type="submit" value="$Text{"create"}">
    </form>
  </td>
</tr>
</table>
</center>
</p>
<!-- dtl:block:CreateAccount -->
<!-- stop login -->

$Include{"CustomerFooter"}