Quelques ajustement des types autorisés dans les conteneurs.
[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="plinn">
7 <div metal:fill-slot="main_no_tabs" id="Desktop">
8 <div tal:condition="options/is_anon" tal:omit-tag="">
9 <h1 class="DesktopTitle" i18n:translate="">Login failure</h1>
10
11 <p i18n:translate="">
12 You are not currently logged in. Your username and or password may
13 be incorrect. Your browser may also not be configured to accept
14 cookies.
15 </p>
16 <p>
17 <span i18n:translate="">
18 If you have forgotten your password, you can reset it by going to
19 this page:
20 </span>
21 <a href="#"
22 tal:attributes="href string:$portal_url/request_password_reset_form"
23 i18n:translate="">password resetting</a>.
24 </p>
25
26 </div>
27
28 <div tal:condition="options/changePassword|nothing" tal:omit-tag="">
29 <h1 class="DesktopTitle" i18n:translate="">Welcome!</h1>
30
31 <p i18n:translate="">
32 This is the first time that you've logged in to
33 <span tal:replace="portal_title" i18n:name="portal_title">Here</span>.
34 Before you start exploring you need to change your original password.
35 This will ensure that the password we sent you via email cannot be
36 used in a malicious manner.</p>
37
38 <p i18n:translate="">
39 Please use the form below to change your password.</p>
40
41 <form action="change_password" method="post"
42 tal:attributes="action string:${portal_url}/change_password"
43 >
44 <input type="hidden" name="user" value=""
45 tal:attributes="value member" />
46 <input type="hidden" name="domains:tokens" value="" />
47 <input type="hidden" name="redirect" value=""
48 tal:attributes="value string:${portal_url}/" />
49
50 <table>
51
52 <tr valign="top" align="left">
53 <th i18n:translate="">Username</th>
54 <td><span tal:replace="member">You</span></td>
55 </tr>
56
57 <tr valign="top" align="left">
58 <th i18n:translate="">New password</th>
59 <td><input type="password" name="password" /></td>
60 </tr>
61
62 <tr valign="top" align="left">
63 <th i18n:translate="">Confirm new password</th>
64 <td><input type="password" name="confirm" /></td>
65 </tr>
66
67 <tr>
68 <td><br /></td>
69 <td>
70 <input type="submit" value="Change password"
71 i18n:attributes="value" />
72 </td>
73 </tr>
74
75 </table>
76
77 </form>
78
79 </div>
80
81 </div>
82 </body>
83 </html>