[TASK] Re-work/simplify copyright header in PHP files - Part 5
[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 (additional 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_felogin_pi1') useful to get a unique classname prefix</li>
18 <li>###REDIRECT_URL### - URL of redirection upon login</li>
19 <li>###NOREDIRECT### - if set, no redirect will be done</li>
20 <li>###STORAGE_PID### - explicit enough I guess (if not : id of the page where user are stored)</li>
21 <li>###STATUS_HEADER### - depends of the template</li>
22 <li>###STATUS_MESSAGE### - depends of the template</li>
23 </ul>
24
25 <h2>Wrap parts</h2>
26 <ul>
27 <li>###HEADER_VALID### - useful to define what to show/hide</li>
28 <li>###MESSAGE_VALID### - useful to define what to show/hide</li>
29 <li>###FORGOTP_VALID### - useful to define what to show/hide</li>
30 <li>###PERMALOGIN_VALID### - useful to define what to show/hide</li>
31 </ul>
32
33 <h2>felogin Language Markers (see pi/locallang.xml)</h2>
34 <ul>
35 <li>###EMAIL_LABEL### - corresponding to 'your_email'</li>
36 <li>###FORGOT_PASSWORD### - corresponding to 'forgot_password'</li>
37 <li>###FORGOT_PASSWORD_BACKTOLOGIN### - corresponding to 'forgot_password_backToLogin'</li>
38 <li>###FORGOT_PASSWORD_ENTEREMAIL### - corresponding to 'forgot_password_enterEmail'</li>
39 <li>###LOGIN_LABEL### - corresponding to 'login'</li>
40 <li>###PASSWORD_LABEL### - corresponding to 'password'</li>
41 <li>###SEND_PASSWORD### - corresponding to 'send_password'</li>
42 <li>###USERNAME_LABEL### - corresponding to 'username'</li>
43 </ul>
44
45 <!--###TEMPLATE_LOGIN###-->
46
47 ###STATUS_HEADER###
48 ###STATUS_MESSAGE###
49 <!-- ###LOGIN_FORM### -->
50 <form action="###ACTION_URI###" target="_top" method="post" onsubmit="###ON_SUBMIT###">
51 <fieldset>
52 <legend>###LEGEND###</legend>
53 <div>
54 <label for="user">###USERNAME_LABEL###</label>
55 <input type="text" id="user" name="user" value="" />
56 </div>
57 <div>
58 <label for="pass">###PASSWORD_LABEL###</label>
59 <input type="password" id="pass" name="pass" value="" />
60 </div>
61
62 <!--###PERMALOGIN_VALID###-->
63 <div>
64 <label for="permalogin">###PERMALOGIN###</label>
65 <input name="permalogin" value="0" type="hidden" ###PERMALOGIN_HIDDENFIELD_ATTRIBUTES### id="permaloginHiddenField" />
66 <input name="permalogin" value="1" type="checkbox" ###PERMALOGIN_CHECKBOX_ATTRIBUTES### id="permalogin" onclick="document.getElementById('permaloginHiddenField').disabled = this.checked;" />
67 </div>
68 <!--###PERMALOGIN_VALID###-->
69
70 <div>
71 <input type="submit" name="submit" value="###LOGIN_LABEL###" />
72 </div>
73
74 <div class="felogin-hidden">
75 <input type="hidden" name="logintype" value="login" />
76 <input type="hidden" name="pid" value="###STORAGE_PID###" />
77 <input type="hidden" name="redirect_url" value="###REDIRECT_URL###" />
78 <input type="hidden" name="###PREFIXID###[noredirect]" value="###NOREDIRECT###" />
79 ###EXTRA_HIDDEN###
80 </div>
81 </fieldset>
82 </form>
83
84 <!--###FORGOTP_VALID###-->
85 <p><!--###FORGOT_PASSWORD_LINK###-->###FORGOT_PASSWORD###<!--###FORGOT_PASSWORD_LINK###--></p>
86 <!--###FORGOTP_VALID###-->
87
88 <!-- ###LOGIN_FORM### -->
89
90 <!--###TEMPLATE_LOGIN###-->
91
92 <!--###TEMPLATE_LOGOUT###-->
93
94 ###STATUS_HEADER###
95 ###STATUS_MESSAGE###
96
97 <form action="###ACTION_URI###" target="_top" method="post">
98 <fieldset>
99 <legend>###LEGEND###</legend>
100 <div>
101 <label>###USERNAME_LABEL###</label>
102 ###USERNAME###
103 </div>
104 <div>
105 <input type="submit" name="submit" value="###LOGOUT_LABEL###" />
106 </div>
107
108 <div class="felogin-hidden">
109 <input type="hidden" name="logintype" value="logout" />
110 <input type="hidden" name="pid" value="###STORAGE_PID###" />
111 <input type="hidden" name="###PREFIXID###[noredirect]" value="###NOREDIRECT###" />
112 </div>
113 </fieldset>
114 </form>
115
116 <!--###TEMPLATE_LOGOUT###-->
117
118 <!--###TEMPLATE_FORGOT###-->
119
120 ###STATUS_HEADER###
121 ###STATUS_MESSAGE###
122
123
124 <!-- ###FORGOT_FORM### -->
125 <form action="###ACTION_URI###" method="post">
126 <div class="felogin-hidden">
127 <input type="hidden" name="tx_felogin_pi1[forgot_hash]" value="###FORGOTHASH###" />
128 </div>
129 <fieldset>
130 <legend>###LEGEND###</legend>
131 <div>
132 <label for="tx_felogin_pi1-forgot-email">###DATA_LABEL###</label>
133 <input type="text" name="###FORGOT_EMAIL###" id="tx_felogin_pi1-forgot-email" />
134 </div>
135 <div>
136 <input type="submit" name="submit" value="###SEND_PASSWORD###" />
137 </div>
138 </fieldset>
139 </form>
140 <!-- ###FORGOT_FORM### -->
141 <p>###BACKLINK_LOGIN###&nbsp;</p>
142 <!--###TEMPLATE_FORGOT###-->
143
144 <!--###TEMPLATE_CHANGEPASSWORD###-->
145
146 ###STATUS_HEADER###
147 ###STATUS_MESSAGE###
148
149
150 <!-- ###CHANGEPASSWORD_FORM### -->
151 <form action="###ACTION_URI###" method="post">
152 <fieldset>
153 <legend>###LEGEND###</legend>
154 <div>
155 <label for="tx_felogin_pi1-newpassword1">###NEWPASSWORD1_LABEL###</label>
156 <input type="password" name="###NEWPASSWORD1###" id="tx_felogin_pi1-newpassword1" />
157 </div>
158 <div>
159 <label for="tx_felogin_pi1-newpassword2">###NEWPASSWORD2_LABEL###</label>
160 <input type="password" name="###NEWPASSWORD2###" id="tx_felogin_pi1-newpassword2" />
161 </div>
162 <div>
163 <input type="submit" name="tx_felogin_pi1[changepasswordsubmit]" value="###SEND_PASSWORD###" />
164 </div>
165 </fieldset>
166
167 </form>
168 <!-- ###CHANGEPASSWORD_FORM### -->
169 ###BACKLINK_LOGIN###
170 <!--###TEMPLATE_CHANGEPASSWORD###-->