]> git.mxchange.org Git - friendica.git/blob - view/templates/profile_edit.tpl
Site settings: some settings are disabled when the worker is active
[friendica.git] / view / templates / profile_edit.tpl
1
2 {{$default}}
3
4 <h1>{{$banner}}</h1>
5
6 <div id="profile-edit-links">
7 <ul>
8 <li><a href="profile_photo" id="profile-photo_upload-link" title="{{$profpic|escape:'html'}}">{{$profpic}}</a></li>
9 <li><a href="profile/{{$profile_id}}/view?tab=profile" id="profile-edit-view-link" title="{{$viewprof|escape:'html'}}">{{$viewprof}}</a></li>
10 <li><a href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof|escape:'html'}}">{{$cl_prof}}</a></li>
11 <li></li>
12 <li><a href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof|escape:'html'}}" {{$disabled}} >{{$del_prof}}</a></li>
13
14 </ul>
15 </div>
16
17 <div id="profile-edit-links-end"></div>
18
19
20 <div id="profile-edit-wrapper" >
21 <form id="profile-edit-form" name="form1" action="profiles/{{$profile_id}}" method="post" >
22 <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
23
24 {{if $detailled_profile}}
25 {{include file="field_yesno.tpl" field=$details}}
26 <div id="profile-edit-profile-name-wrapper" >
27 <label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >{{$profile_name.1}} </label>
28 <input type="text" size="32" name="profile_name" id="profile-edit-profile-name" value="{{$profile_name.2|escape:'html'}}" /><div class="required">*</div>
29 </div>
30 <div id="profile-edit-profile-name-end"></div>
31
32 <div id="profile-edit-name-wrapper" >
33 <label id="profile-edit-name-label" for="profile-edit-name" >{{$name.1}} </label>
34 <input type="text" size="32" name="name" id="profile-edit-name" value="{{$name.2|escape:'html'}}" />
35 </div>
36 <div id="profile-edit-name-end"></div>
37
38 <div id="profile-edit-pdesc-wrapper" >
39 <label id="profile-edit-pdesc-label" for="profile-edit-pdesc" >{{$pdesc.1}} </label>
40 <input type="text" size="32" name="pdesc" id="profile-edit-pdesc" value="{{$pdesc.1|escape:'html'}}" />
41 </div>
42 <div id="profile-edit-pdesc-end"></div>
43
44
45 <div id="profile-edit-gender-wrapper" >
46 <label id="profile-edit-gender-label" for="gender-select" >{{$lbl_gender}} </label>
47 {{$gender}}
48 </div>
49 <div id="profile-edit-gender-end"></div>
50
51 <div id="profile-edit-dob-wrapper" >
52 {{$dob}}
53 </div>
54 <div id="profile-edit-dob-end"></div>
55
56 {{$hide_friends}}
57
58 <div class="profile-edit-submit-wrapper" >
59 <input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
60 </div>
61 <div class="profile-edit-submit-end"></div>
62
63
64 <div id="profile-edit-address-wrapper" >
65 <label id="profile-edit-address-label" for="profile-edit-address" >{{$address.1}} </label>
66 <input type="text" size="32" name="address" id="profile-edit-address" value="{{$address.2|escape:'html'}}" />
67 </div>
68 <div id="profile-edit-address-end"></div>
69
70 <div id="profile-edit-locality-wrapper" >
71 <label id="profile-edit-locality-label" for="profile-edit-locality" >{{$locality.1}} </label>
72 <input type="text" size="32" name="locality" id="profile-edit-locality" value="{{$locality.2|escape:'html'}}" />
73 </div>
74 <div id="profile-edit-locality-end"></div>
75
76
77 <div id="profile-edit-postal-code-wrapper" >
78 <label id="profile-edit-postal-code-label" for="profile-edit-postal-code" >{{$postal_code.1}} </label>
79 <input type="text" size="32" name="postal_code" id="profile-edit-postal-code" value="{{$postal_code.2|escape:'html'}}" />
80 </div>
81 <div id="profile-edit-postal-code-end"></div>
82
83 <div id="profile-edit-country-name-wrapper" >
84 <label id="profile-edit-country-name-label" for="profile-edit-country-name" >{{$country_name.1}} </label>
85 <select name="country_name" id="profile-edit-country-name" onChange="Fill_States('{{$region.2}}');">
86 <option selected="selected" >{{$country_name.2}}</option>
87 <option>temp</option>
88 </select>
89 </div>
90 <div id="profile-edit-country-name-end"></div>
91
92 <div id="profile-edit-region-wrapper" >
93 <label id="profile-edit-region-label" for="profile-edit-region" >{{$region.1}} </label>
94 <select name="region" id="profile-edit-region" onChange="Update_Globals();" >
95 <option selected="selected" >{{$region.2}}</option>
96 <option>temp</option>
97 </select>
98 </div>
99 <div id="profile-edit-region-end"></div>
100
101 <div id="profile-edit-hometown-wrapper" >
102 <label id="profile-edit-hometown-label" for="profile-edit-hometown" >{{$hometown.1}} </label>
103 <input type="text" size="32" name="hometown" id="profile-edit-hometown" value="{{$hometown.2|escape:'html'}}" />
104 </div>
105 <div id="profile-edit-hometown-end"></div>
106
107 <div class="profile-edit-submit-wrapper" >
108 <input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
109 </div>
110 <div class="profile-edit-submit-end"></div>
111
112 <div id="profile-edit-marital-wrapper" >
113 <label id="profile-edit-marital-label" for="profile-edit-marital" >{{$lbl_marital}} </label>
114 {{$marital}}
115 </div>
116 <label id="profile-edit-with-label" for="profile-edit-with" > {{$with.1}} </label>
117 <input type="text" size="32" name="with" id="profile-edit-with" title="{{$with.3}}" value="{{$with.2}}" />
118 <label id="profile-edit-howlong-label" for="profile-edit-howlong" > {{$howlong.1}} </label>
119 <input type="text" size="32" name="howlong" id="profile-edit-howlong" title="{{$howlong.1}}" value="{{$howlong.1|escape:'html'}}" />
120
121 <div id="profile-edit-marital-end"></div>
122
123 <div id="profile-edit-sexual-wrapper" >
124 <label id="profile-edit-sexual-label" for="sexual-select" >{{$lbl_sexual}} </label>
125 {{$sexual}}
126 </div>
127 <div id="profile-edit-sexual-end"></div>
128
129
130
131 <div id="profile-edit-homepage-wrapper" >
132 <label id="profile-edit-homepage-label" for="profile-edit-homepage" >{{$homepage.1}} </label>
133 <input type="url" size="32" name="homepage" id="profile-edit-homepage" value="{{$homepage.2|escape:'html'}}" />
134 </div>
135 <div id="profile-edit-homepage-end"></div>
136
137 <div id="profile-edit-politic-wrapper" >
138 <label id="profile-edit-politic-label" for="profile-edit-politic" >{{$politic.1}} </label>
139 <input type="text" size="32" name="politic" id="profile-edit-politic" value="{{$politic.2|escape:'html'}}" />
140 </div>
141 <div id="profile-edit-politic-end"></div>
142
143 <div id="profile-edit-religion-wrapper" >
144 <label id="profile-edit-religion-label" for="profile-edit-religion" >{{$religion.1}} </label>
145 <input type="text" size="32" name="religion" id="profile-edit-religion" value="{{$religion.2|escape:'html'}}" />
146 </div>
147 <div id="profile-edit-religion-end"></div>
148
149 <div id="profile-edit-pubkeywords-wrapper" >
150 <label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >{{$pub_keywords.1}} </label>
151 <input type="text" size="32" name="pub_keywords" id="profile-edit-pubkeywords" title="{{$lbl_ex2}}" value="{{$pub_keywords.2|escape:'html'}}" />
152 </div><div id="profile-edit-pubkeywords-desc">{{$pub_keywords.3}}</div>
153 <div id="profile-edit-pubkeywords-end"></div>
154
155 <div id="profile-edit-prvkeywords-wrapper" >
156 <label id="profile-edit-prvkeywords-label" for="profile-edit-prvkeywords" >{{$prv_keywords.1}} </label>
157 <input type="text" size="32" name="prv_keywords" id="profile-edit-prvkeywords" title="{{$lbl_ex2}}" value="{{$prv_keywords.2|escape:'html'}}" />
158 </div><div id="profile-edit-prvkeywords-desc">{{$prv_keywords.3}}</div>
159 <div id="profile-edit-prvkeywords-end"></div>
160
161
162 <div class="profile-edit-submit-wrapper" >
163 <input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
164 </div>
165 <div class="profile-edit-submit-end"></div>
166
167 <div id="about-jot-wrapper" >
168 <p id="about-jot-desc" >
169 {{$about.1}}
170 </p>
171
172 <textarea rows="10" cols="72" id="profile-about-text" name="about" >{{$about.2}}</textarea>
173
174 </div>
175 <div id="about-jot-end"></div>
176
177
178 <div id="interest-jot-wrapper" >
179 <p id="interest-jot-desc" >
180 {{$interest.1}}
181 </p>
182
183 <textarea rows="10" cols="72" id="interest-jot-text" name="interest" >{{$interest.2}}</textarea>
184
185 </div>
186 <div id="interest-jot-end"></div>
187
188
189 <div id="likes-jot-wrapper" >
190 <p id="likes-jot-desc" >
191 {{$likes.1}}
192 </p>
193
194 <textarea rows="10" cols="72" id="likes-jot-text" name="likes" >{{$likes.2}}</textarea>
195
196 </div>
197 <div id="likes-jot-end"></div>
198
199
200 <div id="dislikes-jot-wrapper" >
201 <p id="dislikes-jot-desc" >
202 {{$dislikes.1}}
203 </p>
204
205 <textarea rows="10" cols="72" id="dislikes-jot-text" name="dislikes" >{{$dislikes.2}}</textarea>
206
207 </div>
208 <div id="dislikes-jot-end"></div>
209
210
211 <div id="contact-jot-wrapper" >
212 <p id="contact-jot-desc" >
213 {{$contact.1}}
214 </p>
215
216 <textarea rows="10" cols="72" id="contact-jot-text" name="contact" >{{$contact.2}}</textarea>
217
218 </div>
219 <div id="contact-jot-end"></div>
220
221
222 <div class="profile-edit-submit-wrapper" >
223 <input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
224 </div>
225 <div class="profile-edit-submit-end"></div>
226
227
228 <div id="music-jot-wrapper" >
229 <p id="music-jot-desc" >
230 {{$music.1}}
231 </p>
232
233 <textarea rows="10" cols="72" id="music-jot-text" name="music" >{{$music.2}}</textarea>
234
235 </div>
236 <div id="music-jot-end"></div>
237
238 <div id="book-jot-wrapper" >
239 <p id="book-jot-desc" >
240 {{$book.1}}
241 </p>
242
243 <textarea rows="10" cols="72" id="book-jot-text" name="book" >{{$book.2}}</textarea>
244
245 </div>
246 <div id="book-jot-end"></div>
247
248
249
250 <div id="tv-jot-wrapper" >
251 <p id="tv-jot-desc" >
252 {{$tv.1}} 
253 </p>
254
255 <textarea rows="10" cols="72" id="tv-jot-text" name="tv" >{{$tv.2}}</textarea>
256
257 </div>
258 <div id="tv-jot-end"></div>
259
260
261
262 <div id="film-jot-wrapper" >
263 <p id="film-jot-desc" >
264 {{$film.1}}
265 </p>
266
267 <textarea rows="10" cols="72" id="film-jot-text" name="film" >{{$film.2}}</textarea>
268
269 </div>
270 <div id="film-jot-end"></div>
271
272
273 <div class="profile-edit-submit-wrapper" >
274 <input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
275 </div>
276 <div class="profile-edit-submit-end"></div>
277
278
279 <div id="romance-jot-wrapper" >
280 <p id="romance-jot-desc" >
281 {{$romance.1}}
282 </p>
283
284 <textarea rows="10" cols="72" id="romance-jot-text" name="romance" >{{$romance.2}}</textarea>
285
286 </div>
287 <div id="romance-jot-end"></div>
288
289
290
291 <div id="work-jot-wrapper" >
292 <p id="work-jot-desc" >
293 {{$work.1}}
294 </p>
295
296 <textarea rows="10" cols="72" id="work-jot-text" name="work" >{{$work.2}}</textarea>
297
298 </div>
299 <div id="work-jot-end"></div>
300
301
302
303 <div id="education-jot-wrapper" >
304 <p id="education-jot-desc" >
305 {{$education.1}} 
306 </p>
307
308 <textarea rows="10" cols="72" id="education-jot-text" name="education" >{{$education.2}}</textarea>
309
310 </div>
311 <div id="education-jot-end"></div>
312
313
314
315 <div class="profile-edit-submit-wrapper" >
316 <input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
317 </div>
318 <div class="profile-edit-submit-end"></div>
319
320 {{else}}
321 {{if $personal_account}}
322 {{include file="field_yesno.tpl" field=$details}}
323 {{/if}}
324 <div id="profile-edit-profile-name-wrapper" >
325 <label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >{{$profile_name.1}} </label>
326 <input type="text" size="32" name="profile_name" id="profile-edit-profile-name" value="{{$profile_name.2|escape:'html'}}" /><div class="required">*</div>
327 </div>
328 <div id="profile-edit-profile-name-end"></div>
329
330 <div id="profile-edit-name-wrapper" >
331 <label id="profile-edit-name-label" for="profile-edit-name" >{{$name.1}} </label>
332 <input type="text" size="32" name="name" id="profile-edit-name" value="{{$name.2|escape:'html'}}" />
333 </div>
334 <div id="profile-edit-name-end"></div>
335
336 {{if $personal_account}}
337 <div id="profile-edit-gender-wrapper" >
338 <label id="profile-edit-gender-label" for="gender-select" >{{$lbl_gender}} </label>
339 {{$gender}}
340 </div>
341 <div id="profile-edit-gender-end"></div>
342
343 <div id="profile-edit-dob-wrapper" >
344 {{$dob}}
345 </div>
346 <div id="profile-edit-dob-end"></div>
347 {{/if}}
348
349 <div id="profile-edit-homepage-wrapper" >
350 <label id="profile-edit-homepage-label" for="profile-edit-homepage" >{{$homepage.1}} </label>
351 <input type="url" size="32" name="homepage" id="profile-edit-homepage" value="{{$homepage.2|escape:'html'}}" />
352 </div>
353 <div id="profile-edit-homepage-end"></div>
354
355 {{$hide_friends}}
356
357 <div id="profile-edit-address-wrapper" >
358 <label id="profile-edit-address-label" for="profile-edit-address" >{{$address.1}} </label>
359 <input type="text" size="32" name="address" id="profile-edit-address" value="{{$address.2|escape:'html'}}" />
360 </div>
361 <div id="profile-edit-address-end"></div>
362
363 <div id="profile-edit-locality-wrapper" >
364 <label id="profile-edit-locality-label" for="profile-edit-locality" >{{$locality.1}} </label>
365 <input type="text" size="32" name="locality" id="profile-edit-locality" value="{{$locality.2|escape:'html'}}" />
366 </div>
367 <div id="profile-edit-locality-end"></div>
368
369
370 <div id="profile-edit-postal-code-wrapper" >
371 <label id="profile-edit-postal-code-label" for="profile-edit-postal-code" >{{$postal_code.1}} </label>
372 <input type="text" size="32" name="postal_code" id="profile-edit-postal-code" value="{{$postal_code.2|escape:'html'}}" />
373 </div>
374 <div id="profile-edit-postal-code-end"></div>
375
376 <div id="profile-edit-country-name-wrapper" >
377 <label id="profile-edit-country-name-label" for="profile-edit-country-name" >{{$country_name.1}} </label>
378 <select name="country_name" id="profile-edit-country-name" onChange="Fill_States('{{$region.2}}');">
379 <option selected="selected" >{{$country_name.1}}</option>
380 <option>temp</option>
381 </select>
382 </div>
383 <div id="profile-edit-country-name-end"></div>
384
385 <div id="profile-edit-region-wrapper" >
386 <label id="profile-edit-region-label" for="profile-edit-region" >{{$region.1}} </label>
387 <select name="region" id="profile-edit-region" onChange="Update_Globals();" >
388 <option selected="selected" >{{$region.2}}</option>
389 <option>temp</option>
390 </select>
391 </div>
392 <div id="profile-edit-region-end"></div>
393
394 <div id="profile-edit-pubkeywords-wrapper" >
395 <label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >{{$pub_keywords.1}} </label>
396 <input type="text" size="32" name="pub_keywords" id="profile-edit-pubkeywords" title="{{$lbl_ex2}}" value="{{$pub_keywords.2|escape:'html'}}" />
397 </div><div id="profile-edit-pubkeywords-desc">{{$pub_keywords.3}}</div>
398 <div id="profile-edit-pubkeywords-end"></div>
399
400 <div id="profile-edit-prvkeywords-wrapper" >
401 <label id="profile-edit-prvkeywords-label" for="profile-edit-prvkeywords" >{{$prv_keywords.1}} </label>
402 <input type="text" size="32" name="prv_keywords" id="profile-edit-prvkeywords" title="{{$lbl_ex2}}" value="{{$prv_keywords.2|escape:'html'}}" />
403 </div><div id="profile-edit-prvkeywords-desc">{{$prv_keywords.3}}</div>
404 <div id="profile-edit-prvkeywords-end"></div>
405
406 <div id="about-jot-wrapper" >
407 <p id="about-jot-desc" >
408 {{$about.1}}
409 </p>
410
411 <textarea rows="10" cols="72" id="profile-about-text" name="about" >{{$about.2}}</textarea>
412
413 </div>
414 <div id="about-jot-end"></div>
415
416 <div class="profile-edit-submit-wrapper" >
417 <input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
418 </div>
419 <div class="profile-edit-submit-end"></div>
420
421         <input type="hidden" name="pdesc" id="profile-edit-pdesc" value="{{$pdesc.2}}" />
422         <input type="hidden" id="contact-jot-text" name="contact" value="{{$contact.2}}" />
423         <input type="hidden" name="hometown" id="profile-edit-hometown" value="{{$hometown.2}}" />
424         <input type="hidden" name="politic" id="profile-edit-politic" value="{{$politic.2}}" />
425         <input type="hidden" name="religion" id="profile-edit-religion" value="{{$religion.2}}" />
426         <input type="hidden" id="likes-jot-text" name="likes" value="{{$likes.2}}" />
427         <input type="hidden" id="dislikes-jot-text" name="dislikes" value="{{$dislikes.2}}" />
428         <input type="hidden" name="with" id="profile-edit-with" value="{{$with.2}}" />
429         <input type="hidden" name="howlong" id="profile-edit-howlong" value="{{$howlong.2}}" />
430         <input type="hidden" id="romance-jot-text" name="romance" value="{{$romance.2}}" />
431         <input type="hidden" id="work-jot-text" name="work" value="{{$work.2}}" />
432         <input type="hidden" id="education-jot-text" name="education" value="{{$education.2}}" />
433         <input type="hidden" id="interest-jot-text" name="interest" value="{{$interest.2}}" />
434         <input type="hidden" id="music-jot-text" name="music" value="{{$music.2}}" />
435         <input type="hidden" id="book-jot-text" name="book" value="{{$book.2}}" />
436         <input type="hidden" id="tv-jot-text" name="tv" value="{{$tv.2}}" />
437         <input type="hidden" id="film-jot-text" name="film" value="{{$film.2}}" />
438
439 {{/if}}
440 </form>
441 </div>
442 <script type="text/javascript">Fill_Country('{{$country_name.2}}');Fill_States('{{$region.2}}');</script>