d68be0d08e37e79a9e08538a426b219683482b1f
[Packages/TYPO3.CMS.git] / typo3 / sysext / felogin / template.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>Templates for felogin</title>
6 </head>
7 <body>
8
9 <h1>Common markers</h1>
10 <p>These are substituted in all felogin item displaying templates.</p>
11
12 <h2>Markers</h2>
13 <ul>
14 <li>###ACTION_URI### - URI of the request for the login/logout form</li>
15 <li>###EXTRA_HIDDEN### - Hook required (additionnal hidden field used by kb_md5fepw extension by Kraft Bernhard)</li>
16 <li>###ON_SUBMIT### - Hook required (used by kb_md5fepw extension by Kraft Bernhard)</li>
17 <li>###PREFIXID### - Same as class name ('tx_newloginbox_pi1') usefull to get a unique classname prefix</li>
18 <li>###REDIRECT_URL### - URL of redirection upon login</li>
19 <li>###STORAGE_PID### - explicit enough I guess (if not : id of the page where user are stored)</li>
20 <li>###STATUS_HEADER### - depends of the template</li>
21 <li>###STATUS_MESSAGE### - depends of the template</li>
22 </ul>
23
24 <h2>Wrap parts</h2>
25 <ul>
26 <li>###HEADER_VALID### - usefull to define what to show/hide</li>
27 <li>###MESSAGE_VALID### - usefull to define what to show/hide</li>
28 <li>###FORGOTP_VALID### - usefull to define what to show/hide</li>
29 <li>###PERMALOGIN_VALID### - usefull to define what to show/hide</li>
30 </ul>
31
32 <h2>felogin Language Markers (see pi/locallang.xml)</h2>
33 <ul>
34 <li>###EMAIL_LABEL### - corresponding to 'your_email'</li>
35 <li>###FORGOT_PASSWORD### - corresponding to 'forgot_password'</li>
36 <li>###FORGOT_PASSWORD_BACKTOLOGIN### - corresponding to 'forgot_password_backToLogin'</li>
37 <li>###FORGOT_PASSWORD_ENTEREMAIL### - corresponding to 'forgot_password_enterEmail'</li>
38 <li>###LOGIN_LABEL### - corresponding to 'login'</li>
39 <li>###PASSWORD_LABEL### - corresponding to 'password'</li>
40 <li>###SEND_PASSWORD### - corresponding to 'send_password'</li>
41 <li>###USERNAME_LABEL### - corresponding to 'username'</li>
42 </ul>
43
44
45
46
47
48 <!--###TEMPLATE_LOGIN###-->
49
50 ###STATUS_HEADER###
51 ###STATUS_MESSAGE###
52 <!-- ###LOGIN_FORM### -->
53 <form action="###ACTION_URI###" target="_top" method="post" onsubmit="###ON_SUBMIT###">
54 <fieldset>
55 <legend>###LEGEND###</legend>
56 <div>
57 <label for="user">###USERNAME_LABEL###</label>
58 <input type="text" id="user" name="user" value="" />
59 </div>
60 <div>
61 <label for="pass">###PASSWORD_LABEL###</label>
62 <input type="password" id="pass" name="pass" value="" />
63 </div>
64
65 <!--###PERMALOGIN_VALID###-->
66 <div>
67 <label for="permalogin">###PERMALOGIN###</label>
68 <input name="permalogin" value="0" type="hidden" ###PERMALOGIN_HIDDENFIELD_ATTRIBUTES### id="permaloginHiddenField" />
69 <input name="permalogin" value="1" type="checkbox" ###PERMALOGIN_CHECKBOX_ATTRIBUTES### id="permalogin" onclick="document.getElementById('permaloginHiddenField').disabled = this.checked;" />
70 </div>
71 <!--###PERMALOGIN_VALID###-->
72
73 <div>
74 <input type="submit" name="submit" value="###LOGIN_LABEL###" />
75 </div>
76
77 <div class="felogin-hidden">
78 <input type="hidden" name="logintype" value="login" />
79 <input type="hidden" name="pid" value="###STORAGE_PID###" />
80 <input type="hidden" name="redirect_url" value="###REDIRECT_URL###" />
81 ###EXTRA_HIDDEN###
82 </div>
83 </fieldset>
84 </form>
85
86 <!--###FORGOTP_VALID###-->
87 <p><!--###FORGOT_PASSWORD_LINK###-->###FORGOT_PASSWORD###<!--###FORGOT_PASSWORD_LINK###--></p>
88 <!--###FORGOTP_VALID###-->
89
90 <!-- ###LOGIN_FORM### -->
91
92 <!--###TEMPLATE_LOGIN###-->
93
94
95
96
97
98
99
100
101
102
103
104
105 <!--###TEMPLATE_LOGOUT###-->
106
107 ###STATUS_HEADER###
108 ###STATUS_MESSAGE###
109
110 <form action="###ACTION_URI###" target="_top" method="post">
111 <fieldset>
112 <legend>###LEGEND###</legend>
113 <div>
114 <label>###USERNAME_LABEL###</label>
115 ###USERNAME###
116 </div>
117 <div>
118 <input type="submit" name="submit" value="###LOGOUT_LABEL###" />
119 </div>
120
121 <div class="felogin-hidden">
122 <input type="hidden" name="logintype" value="logout" />
123 <input type="hidden" name="pid" value="###STORAGE_PID###" />
124 </div>
125 </fieldset>
126 </form>
127
128 <!--###TEMPLATE_LOGOUT###-->
129
130
131
132
133
134
135
136 <!--###TEMPLATE_FORGOT###-->
137
138 ###STATUS_HEADER###
139 ###STATUS_MESSAGE###
140
141
142 <!-- ###FORGOT_FORM### -->
143 <form action="###ACTION_URI###" method="post">
144 <fieldset>
145 <legend>###LEGEND###</legend>
146 <div>
147 <label for="###FORGOT_EMAIL###">###EMAIL_LABEL###</label>
148 <input type="text" name="###FORGOT_EMAIL###" id="###FORGOT_EMAIL###" />
149 </div>
150 <div>
151 <input type="submit" name="submit" value="###SEND_PASSWORD###" />
152 </div>
153 </fieldset>
154 </form>
155 <!-- ###FORGOT_FORM### -->
156 <p>###BACKLINK_LOGIN###&nbsp;</p>
157 <!--###TEMPLATE_FORGOT###-->
158
159
160
161
162
163
164