|
1 | | -<!-- dollarId: user.item,v 1.7 2002/08/16 04:29:04 richard Exp dollar--> |
2 | 1 | <tal:doc metal:use-macro="templates/page/macros/icing" |
3 | 2 | define="edit_ok context/is_edit_ok" |
4 | 3 | > |
|
57 | 56 | confirm_input templates/page/macros/user_confirm_input; |
58 | 57 | edit_ok context/is_edit_ok; |
59 | 58 | "> |
60 | | - <tr tal:define="name string:realname; label string:Name; value context/realname; edit_ok edit_ok"> |
61 | | - <th metal:use-macro="th_label">Name</th> |
62 | | - <td><input name="realname" metal:use-macro="src_input"></td> |
63 | | - </tr> |
64 | 59 | <tr tal:define="name string:username; label string:Login Name; value context/username"> |
65 | 60 | <th metal:use-macro="th_label">Login Name</th> |
66 | 61 | <td><input metal:use-macro="src_input"></td> |
|
91 | 86 | </tr> |
92 | 87 | </tal:if> |
93 | 88 |
|
94 | | - <tr tal:define="name string:phone; label string:Phone; value context/phone"> |
95 | | - <th metal:use-macro="th_label">Phone</th> |
96 | | - <td><input name="phone" metal:use-macro="normal_input"></td> |
97 | | - </tr> |
98 | | - |
99 | | - <tr tal:define="name string:organisation; label string:Organisation; value context/organisation"> |
100 | | - <th metal:use-macro="th_label">Organisation</th> |
101 | | - <td><input name="organisation" metal:use-macro="normal_input"></td> |
102 | | - </tr> |
103 | | - |
104 | | - <tr tal:condition="python:edit_ok or context.timezone" |
105 | | - tal:define="name string:timezone; label string:Timezone; value context/timezone"> |
106 | | - <th metal:use-macro="th_label">Timezone</th> |
107 | | - <td><input name="timezone" metal:use-macro="normal_input"> |
108 | | - <tal:block tal:condition="edit_ok" i18n:translate="">(this is a numeric hour offset, the default is |
109 | | - <span tal:replace="db/config/DEFAULT_TIMEZONE" i18n:name="zone" |
110 | | - />)</tal:block> |
111 | | - </td> |
112 | | - </tr> |
113 | | - |
114 | | - <tr tal:define="name string:address; label string:E-mail address; value context/address"> |
115 | | - <th metal:use-macro="th_label">E-mail address</th> |
116 | | - <td tal:define="mailto python:context.address.field(id='address'); |
117 | | - mklink python:mailto and not edit_ok"> |
118 | | - <a href=" mailto:[email protected]" |
119 | | - tal:attributes="href string:mailto:$value" |
120 | | - tal:content="value" |
121 | | - tal:condition=" python:mklink" >[email protected]</a> |
122 | | - <tal:if condition=edit_ok> |
123 | | - <input metal:use-macro=" src_input" value=" [email protected]" > |
124 | | - </tal:if> |
125 | | - |
126 | | - </td> |
127 | | - </tr> |
128 | | - |
129 | | - <tr> |
130 | | - <th><label for="alternate_addresses" i18n:translate="">Alternate E-mail addresses<br>One address per line</label></th> |
131 | | - <td> |
132 | | - <textarea rows= 5 cols= 40 tal:replace=" structure context/alternate_addresses/multiline" >[email protected] |
133 | | - |
134 | | -(alternate_addresses) |
135 | | - </textarea> |
136 | | - </td> |
137 | | - </tr> |
138 | | - |
139 | 89 | <tr tal:condition="edit_ok"> |
140 | 90 | <td> |
141 | 91 | |
|
0 commit comments