Code

updated templates
[gosa.git] / gosa-plugins / addressbook / addons / addressbook / address_edit.tpl
1 <table style='width:100%; ' summary="">
4         <tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
5                 <td align=left width="100%">
6                         <LABEL for="storage_base">
7                                 {$storage_info}
8                         </LABEL>
9                         <select id="storage_base" name="storage_base" size="1" title="{t}Choose the department to store entry in{/t}">
10                                 {html_options options=$deplist selected=$storage_base}
11                         </select>
12                 </td>
13                 <td>
14                         <a href="{$url}">
15                                 X
16                         </a>
17                 </td>
18         </tr>
19         <tr style="background-color: white">
20                 <td colspan=2>
21                         <table summary="" width="100%" cellspacing=2 cellpadding=4>
22                                 <tr>
23                                         <td style='width:50%; background-color: #F0F0F0'>
25                                                 <h3>
26                                                         {image path="{$personal_image}"}
28                                                                 &nbsp;{t}Personal{/t}
29                                                 </h3>
30                                                 <table summary="" width="100%">
31                                                         <tr>
32                                                                 <td>
33                                                                         <LABEL for="sn">
34                                                                                 {t}Last name{/t}{$must}
35                                                                         </LABEL>, 
36                                                                         <LABEL for="givenName">
37                                                                                 {t}First name{/t}{$must}
38                                                                         </LABEL>
39                                                                 </td>
40                                                                 <td>
41 {render acl=$snACL}     
42                                                                         <input type='text' id="sn" name="sn" size=10 maxlength=60 value="{$info_sn}">, 
43 {/render}
44 {render acl=$givenNameACL}
45                                                                         <input type='text' id="givenName" name="givenName" size=10 maxlength=60 value="{$info_givenName}">
46 {/render}
47                                                                 <td>
48                                                         </tr>
49                                                         <tr>
50                                                                 <td>
51                                                                         <LABEL for="initials">
52                                                                                 {t}Initials{/t}
53                                                                         </LABEL>
54                                                                 </td>
55                                                                 <td>
56 {render acl=$initialsACL}
57                                                                         <input type='text' id="initials" name="initials" size=5 maxlength=20 value="{$info_initials}">
58 {/render}
59                                                                 </td>
60                                                         </tr>
61                                                         <tr>
62                                                                 <td>
63                                                                         <LABEL for="title">
64                                                                                 {t}Personal title{/t}
65                                                                         </LABEL>
66                                                                 </td>
67                                                                 <td>
68 {render acl=$titleACL}
69                                                                         <input type='text' id="title" name="title" size=10 maxlength=20 value="{$info_title}">
70 {/render}
71                                                                 </td>
72                                                         </tr>
73                                                 </table>
74                                         </td>
75                                         <td style='width:50%; background-color:#E8E8E8'>
77                                                 <h3>
78                                                         {image path="{$home_image}"}
80                                                         &nbsp;{t}Private{/t}
81                                                 </h3>
82                                                 <table summary="" width="100%">
83                                                         <tr>
84                                                                 <td>
85                                                                         <LABEL for="homePostalAddress">
86                                                                                 {t}Address{/t}
87                                                                         </LABEL>
88                                                                 <br>
89                                                                 <br>
90                                                                 </td>
91                                                                 <td>
93 {render acl=$homePostalAddressACL}
94                                                                         <textarea id="homePostalAddress" name="homePostalAddress" rows=1 cols=20>{$info_homePostalAddress}</textarea>
95 {/render}
96                                                                 </td>
97                                                         </tr>
98                                                         <tr>
99                                                                 <td>
100                                                                         <LABEL for="homePhone">
101                                                                                 {t}Phone{/t}
102                                                                         </LABEL>
103                                                                 </td>
104                                                                 <td>
105 {render acl=$homePhoneACL}
106                                                                         <input type='text' id="homePhone" name="homePhone" size=15 maxlength=60 value="{$info_homePhone}">
107 {/render}
108                                                                 </td>
109                                                         </tr>
110                                                         <tr>
111                                                                 <td>
112                                                                         <LABEL for="mobile">
113                                                                                 {t}Mobile{/t}
114                                                                         </LABEL>
115                                                                 </td>
116                                                                 <td>
117 {render acl=$mobileACL}
118                                                                         <input type='text' id="mobile" name="mobile" size=15 maxlength=60 value="{$info_mobile}">
119 {/render}
120                                                                 </td>
121                                                         </tr>
122                                                         <tr>
123                                                                 <td>
124                                                                         <LABEL for="mail">
125                                                                                 {t}Email{/t}
126                                                                         </LABEL>
127                                                                 </td>
128                                                                 <td>
129 {render acl=$mailACL}
130                                                                         <input type='text' id="mail" name="mail" size=15 maxlength=60 value="{$info_mail}">
131 {/render}
132                                                                 </td>
133                                                         </tr>
134                                                  </table>
135                                         </td>
136                                 </tr>
137                                 <tr>
138                                         <td style='width:100%; background-color: #E4E4E4' colspan="2">
140                                                 <h3>
141                                                         {image path="{$company_image}"}
143                                                         &nbsp;{t}Organizational{/t}
144                                                 </h3>
145                                                 <table summary="" width="100%">
146                                                         <tr>
147                                                                 <td>
148                                                                         <table summary="" width="100%">
149                                                                                 <tr>
150                                                                                         <td>
151                                                                                                 <LABEL for="">  
152                                                                                                         {t}Company{/t}
153                                                                                                 </LABEL>
154                                                                                         </td>
155                                                                                         <td>
156 {render acl=$oACL}
157                                                                                                 <input type='text' id="o" name="o" size=15 maxlength=60 value="{$info_o}">
158 {/render}
159                                                                                         </td>
160                                                                                 </tr>
161                                                                                 <tr>
162                                                                                         <td>
163                                                                                                 <LABEL for="">
164                                                                                                         {t}Department{/t}
165                                                                                                 </LABEL>
166                                                                                         </td>
167                                                                                         <td>
168 {render acl=$ouACL}
169                                                                                                 <input type='text' id="ou" name="ou" size=15 maxlength=60 value="{$info_ou}">
170 {/render}
171                                                                                         </td>
172                                                                                 </tr>
173                                                                                 <tr>
174                                                                                         <td>
175                                                                                                 <LABEL for="">
176                                                                                                         {t}City{/t}
177                                                                                                 </LABEL>
178                                                                                         </td>
179                                                                                         <td>
180 {render acl=$lACL}
181                                                                                                 <input type='text' id="l" name="l" size=15 maxlength=60 value="{$info_l}">
182 {/render}
183                                                                                         </td>
184                                                                                 </tr>
185                                                                                 <tr>
186                                                                                         <td>
187                                                                                                 <LABEL for="">
188                                                                                                         {t}Postal code{/t}
189                                                                                                 </LABEL>
190                                                                                         </td>
191                                                                                         <td>
192 {render acl=$postalCodeACL}
193                                                                                                 <input type='text' id="postalCode" name="postalCode" size=15 maxlength=60 value="{$info_postalCode}">
194 {/render}
195                                                                                         </td>
196                                                                                 </tr>
197                                                                                 <tr>
198                                                                                         <td>
199                                                                                                 <LABEL for="">
200                                                                                                         {t}Country{/t}
201                                                                                                 </LABEL>
202                                                                                         </td>
203                                                                                         <td>
204 {render acl=$stACL}
205                                                                                                 <input type='text' id="st" name="st" size=15 maxlength=60 value="{$info_st}">
206 {/render}
207                                                                                         </td>
208                                                                                 </tr>
209                                                                         </table>
210                                                                         </td>
211                                                                         <td>
213                                                                         <table summary="" width="100%">
214                                                                                 <tr>
215                                                                                         <td>
216                                                                                                 <LABEL for="">
217                                                                                                         {t}Address{/t}
218                                                                                                 </LABEL>
219                                                                                                 <br>
220                                                                                                 <br>
221                                                                                         </td>
222                                                                                         <td>
224 {render acl=$postalAddressACL}
225                                                                                                 <textarea id="postalAddress" name="postalAddress" rows=1 cols=20 >{$info_postalAddress}</textarea>
226 {/render}
227                                                                                         </td>
228                                                                                 </tr>
229                                                                                 <tr>
230                                                                                         <td>
231                                                                                                 <LABEL for="">
232                                                                                                         {t}Phone{/t}    
233                                                                                                 </LABEL>
234                                                                                         </td>
235                                                                                         <td>
236 {render acl=$telephoneNumberACL}
237                                                                                                 <input type='text' id="telephoneNumber" name="telephoneNumber" size=15 maxlength=60 value="{$info_telephoneNumber}">
238 {/render}
239                                                                                         </td>
240                                                                                 </tr>
241                                                                                 <tr>
242                                                                                         <td>
243                                                                                                 <LABEL for="">
244                                                                                                         {t}FAX{/t}
245                                                                                                 </LABEL>
246                                                                                         </td>
247                                                                                         <td>
248 {render acl=$facsimileTelephoneNumberACL}
249                                                                                                 <input id="facsimileTelephoneNumber" name="facsimileTelephoneNumber"
250                                                                                                         size=15 maxlength=60 value="{$info_facsimileTelephoneNumber}">
251 {/render}
252                                                                                         </td>
253                                                                                 </tr>
254                                                                                 <tr>
255                                                                                         <td>
256                                                                                                 <LABEL for="">
257                                                                                                         {t}Pager{/t}
258                                                                                                 </LABEL>
259                                                                                         </td>
260                                                                                         <td>
261 {render acl=$pagerACL}
262                                                                                                 <input type='text' id="pager" name="pager" size=15 maxlength=60 value="{$info_pager}">
263 {/render}
264                                                                                         </td>
265                                                                                 </tr>
266                                                                         </table>
267                                                                 </td>
268                                                         </tr>
269                                                 </table>
270                                         </td>
271                                 </tr>
272                         </table>
274                         <p align=right>
275                         <button type='submit' name='save'>{msgPool type=saveButton}</button>
277                         <button type='submit' name='cancel'>{msgPool type=cancelButton}</button>
279                         </p>
281                 </td>
282         </tr>
283 </table>
285 <!--
286 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
287 -->