Merge des modifications du svn de Plinn r1524:1547.
[Plinn.git] / skins / custom_generic / logged_in_template.pt
1 <html metal:use-macro="here/main_template/macros/master"
2 xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal">
3 <head>
4 <title>Logged in template</title>
5 </head>
6 <body i18n:domain="cmf_default">
7 <div metal:fill-slot="main_no_tabs" tal:omit-tag="">
8 <div tal:condition="options/is_anon" tal:omit-tag="">
9 <h1 class="DesktopTitle" i18n:translate="">Login failure</h1>
10
11 <p class="Desktop" i18n:translate="">You are not currently logged in. Your
12 username and or password may be incorrect. Your browser may also not be
13 configured to accept HTTP cookies. If you need help please contact
14 <a href="mailto:admin@here.com" title="Email Admin"
15 tal:attributes="href string:mailto:${options/admin_email}"
16 tal:content="options/admin_email"
17 i18n:name="admin_email">Email Admin</a>.
18 </p>
19
20 </div>
21
22 <div tal:condition="options/changePassword|nothing" tal:omit-tag="">
23 <h1 class="DesktopTitle" i18n:translate="">Welcome!</h1>
24
25 <p class="Desktop" i18n:translate="">
26 This is the first time that you've logged in to
27 <span tal:replace="portal_title" i18n:name="portal_title">Here</span>.
28 Before you start exploring you need to change your original password.
29 This will ensure that the password we sent you via email cannot be
30 used in a malicious manner.</p>
31
32 <p class="Desktop" i18n:translate="">
33 Please use the form below to change your password.</p>
34
35 <form action="change_password" method="post"
36 tal:attributes="action string:${portal_url}/change_password"
37 >
38 <input type="hidden" name="user" value=""
39 tal:attributes="value member" />
40 <input type="hidden" name="domains:tokens" value="" />
41 <input type="hidden" name="redirect" value=""
42 tal:attributes="value string:${portal_url}/" />
43
44 <table>
45
46 <tr valign="top" align="left">
47 <th i18n:translate="">Username</th>
48 <td><span tal:replace="member">You</span></td>
49 </tr>
50
51 <tr valign="top" align="left">
52 <th i18n:translate="">New password</th>
53 <td><input type="password" name="password" /></td>
54 </tr>
55
56 <tr valign="top" align="left">
57 <th i18n:translate="">Confirm new password</th>
58 <td><input type="password" name="confirm" /></td>
59 </tr>
60
61 <tr>
62 <td><br /></td>
63 <td>
64 <input type="submit" value="Change password"
65 i18n:attributes="value" />
66 </td>
67 </tr>
68
69 </table>
70
71 </form>
72
73 </div>
74
75 </div>
76 </body>
77 </html>