]> git.mxchange.org Git - friendica.git/blob - view/templates/profile_edit.tpl
api: fix `friendica/notification/seen` api call
[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-xmpp-wrapper" >
138 <label id="profile-edit-xmpp-label" for="profile-edit-xmpp" >{{$xmpp.1}} </label>
139 <input type="text" size="32" name="xmpp" id="profile-edit-xmpp" title="{{$lbl_ex2}}" value="{{$xmpp.2|escape:'html'}}" />
140 </div><div id="profile-edit-xmpp-desc">{{$xmpp.3}}</div>
141 <div id="profile-edit-xmpp-end"></div>
142
143
144 <div id="profile-edit-politic-wrapper" >
145 <label id="profile-edit-politic-label" for="profile-edit-politic" >{{$politic.1}} </label>
146 <input type="text" size="32" name="politic" id="profile-edit-politic" value="{{$politic.2|escape:'html'}}" />
147 </div>
148 <div id="profile-edit-politic-end"></div>
149
150 <div id="profile-edit-religion-wrapper" >
151 <label id="profile-edit-religion-label" for="profile-edit-religion" >{{$religion.1}} </label>
152 <input type="text" size="32" name="religion" id="profile-edit-religion" value="{{$religion.2|escape:'html'}}" />
153 </div>
154 <div id="profile-edit-religion-end"></div>
155
156 <div id="profile-edit-pubkeywords-wrapper" >
157 <label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >{{$pub_keywords.1}} </label>
158 <input type="text" size="32" name="pub_keywords" id="profile-edit-pubkeywords" title="{{$lbl_ex2}}" value="{{$pub_keywords.2|escape:'html'}}" />
159 </div><div id="profile-edit-pubkeywords-desc">{{$pub_keywords.3}}</div>
160 <div id="profile-edit-pubkeywords-end"></div>
161
162 <div id="profile-edit-prvkeywords-wrapper" >
163 <label id="profile-edit-prvkeywords-label" for="profile-edit-prvkeywords" >{{$prv_keywords.1}} </label>
164 <input type="text" size="32" name="prv_keywords" id="profile-edit-prvkeywords" title="{{$lbl_ex2}}" value="{{$prv_keywords.2|escape:'html'}}" />
165 </div><div id="profile-edit-prvkeywords-desc">{{$prv_keywords.3}}</div>
166 <div id="profile-edit-prvkeywords-end"></div>
167
168
169 <div class="profile-edit-submit-wrapper" >
170 <input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
171 </div>
172 <div class="profile-edit-submit-end"></div>
173
174 <div id="about-jot-wrapper" >
175 <p id="about-jot-desc" >
176 {{$about.1}}
177 </p>
178
179 <textarea rows="10" cols="72" id="profile-about-text" name="about" >{{$about.2}}</textarea>
180
181 </div>
182 <div id="about-jot-end"></div>
183
184
185 <div id="interest-jot-wrapper" >
186 <p id="interest-jot-desc" >
187 {{$interest.1}}
188 </p>
189
190 <textarea rows="10" cols="72" id="interest-jot-text" name="interest" >{{$interest.2}}</textarea>
191
192 </div>
193 <div id="interest-jot-end"></div>
194
195
196 <div id="likes-jot-wrapper" >
197 <p id="likes-jot-desc" >
198 {{$likes.1}}
199 </p>
200
201 <textarea rows="10" cols="72" id="likes-jot-text" name="likes" >{{$likes.2}}</textarea>
202
203 </div>
204 <div id="likes-jot-end"></div>
205
206
207 <div id="dislikes-jot-wrapper" >
208 <p id="dislikes-jot-desc" >
209 {{$dislikes.1}}
210 </p>
211
212 <textarea rows="10" cols="72" id="dislikes-jot-text" name="dislikes" >{{$dislikes.2}}</textarea>
213
214 </div>
215 <div id="dislikes-jot-end"></div>
216
217
218 <div id="contact-jot-wrapper" >
219 <p id="contact-jot-desc" >
220 {{$contact.1}}
221 </p>
222
223 <textarea rows="10" cols="72" id="contact-jot-text" name="contact" >{{$contact.2}}</textarea>
224
225 </div>
226 <div id="contact-jot-end"></div>
227
228
229 <div class="profile-edit-submit-wrapper" >
230 <input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
231 </div>
232 <div class="profile-edit-submit-end"></div>
233
234
235 <div id="music-jot-wrapper" >
236 <p id="music-jot-desc" >
237 {{$music.1}}
238 </p>
239
240 <textarea rows="10" cols="72" id="music-jot-text" name="music" >{{$music.2}}</textarea>
241
242 </div>
243 <div id="music-jot-end"></div>
244
245 <div id="book-jot-wrapper" >
246 <p id="book-jot-desc" >
247 {{$book.1}}
248 </p>
249
250 <textarea rows="10" cols="72" id="book-jot-text" name="book" >{{$book.2}}</textarea>
251
252 </div>
253 <div id="book-jot-end"></div>
254
255
256
257 <div id="tv-jot-wrapper" >
258 <p id="tv-jot-desc" >
259 {{$tv.1}} 
260 </p>
261
262 <textarea rows="10" cols="72" id="tv-jot-text" name="tv" >{{$tv.2}}</textarea>
263
264 </div>
265 <div id="tv-jot-end"></div>
266
267
268
269 <div id="film-jot-wrapper" >
270 <p id="film-jot-desc" >
271 {{$film.1}}
272 </p>
273
274 <textarea rows="10" cols="72" id="film-jot-text" name="film" >{{$film.2}}</textarea>
275
276 </div>
277 <div id="film-jot-end"></div>
278
279
280 <div class="profile-edit-submit-wrapper" >
281 <input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
282 </div>
283 <div class="profile-edit-submit-end"></div>
284
285
286 <div id="romance-jot-wrapper" >
287 <p id="romance-jot-desc" >
288 {{$romance.1}}
289 </p>
290
291 <textarea rows="10" cols="72" id="romance-jot-text" name="romance" >{{$romance.2}}</textarea>
292
293 </div>
294 <div id="romance-jot-end"></div>
295
296
297
298 <div id="work-jot-wrapper" >
299 <p id="work-jot-desc" >
300 {{$work.1}}
301 </p>
302
303 <textarea rows="10" cols="72" id="work-jot-text" name="work" >{{$work.2}}</textarea>
304
305 </div>
306 <div id="work-jot-end"></div>
307
308
309
310 <div id="education-jot-wrapper" >
311 <p id="education-jot-desc" >
312 {{$education.1}} 
313 </p>
314
315 <textarea rows="10" cols="72" id="education-jot-text" name="education" >{{$education.2}}</textarea>
316
317 </div>
318 <div id="education-jot-end"></div>
319
320
321
322 <div class="profile-edit-submit-wrapper" >
323 <input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
324 </div>
325 <div class="profile-edit-submit-end"></div>
326
327 {{else}}
328 {{if $personal_account}}
329 {{include file="field_yesno.tpl" field=$details}}
330 {{/if}}
331 <div id="profile-edit-profile-name-wrapper" >
332 <label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >{{$profile_name.1}} </label>
333 <input type="text" size="32" name="profile_name" id="profile-edit-profile-name" value="{{$profile_name.2|escape:'html'}}" /><div class="required">*</div>
334 </div>
335 <div id="profile-edit-profile-name-end"></div>
336
337 <div id="profile-edit-name-wrapper" >
338 <label id="profile-edit-name-label" for="profile-edit-name" >{{$name.1}} </label>
339 <input type="text" size="32" name="name" id="profile-edit-name" value="{{$name.2|escape:'html'}}" />
340 </div>
341 <div id="profile-edit-name-end"></div>
342
343 {{if $personal_account}}
344 <div id="profile-edit-gender-wrapper" >
345 <label id="profile-edit-gender-label" for="gender-select" >{{$lbl_gender}} </label>
346 {{$gender}}
347 </div>
348 <div id="profile-edit-gender-end"></div>
349
350 <div id="profile-edit-dob-wrapper" >
351 {{$dob}}
352 </div>
353 <div id="profile-edit-dob-end"></div>
354 {{/if}}
355
356 <div id="profile-edit-homepage-wrapper" >
357 <label id="profile-edit-homepage-label" for="profile-edit-homepage" >{{$homepage.1}} </label>
358 <input type="url" size="32" name="homepage" id="profile-edit-homepage" value="{{$homepage.2|escape:'html'}}" />
359 </div>
360 <div id="profile-edit-homepage-end"></div>
361
362 <div id="profile-edit-xmpp-wrapper" >
363 <label id="profile-edit-xmpp-label" for="profile-edit-xmpp" >{{$xmpp.1}} </label>
364 <input type="text" size="32" name="xmpp" id="profile-edit-xmpp" title="{{$lbl_ex2}}" value="{{$xmpp.2|escape:'html'}}" />
365 </div><div id="profile-edit-xmpp-desc">{{$xmpp.3}}</div>
366 <div id="profile-edit-xmpp-end"></div>
367
368
369 {{$hide_friends}}
370
371 <div id="profile-edit-address-wrapper" >
372 <label id="profile-edit-address-label" for="profile-edit-address" >{{$address.1}} </label>
373 <input type="text" size="32" name="address" id="profile-edit-address" value="{{$address.2|escape:'html'}}" />
374 </div>
375 <div id="profile-edit-address-end"></div>
376
377 <div id="profile-edit-locality-wrapper" >
378 <label id="profile-edit-locality-label" for="profile-edit-locality" >{{$locality.1}} </label>
379 <input type="text" size="32" name="locality" id="profile-edit-locality" value="{{$locality.2|escape:'html'}}" />
380 </div>
381 <div id="profile-edit-locality-end"></div>
382
383
384 <div id="profile-edit-postal-code-wrapper" >
385 <label id="profile-edit-postal-code-label" for="profile-edit-postal-code" >{{$postal_code.1}} </label>
386 <input type="text" size="32" name="postal_code" id="profile-edit-postal-code" value="{{$postal_code.2|escape:'html'}}" />
387 </div>
388 <div id="profile-edit-postal-code-end"></div>
389
390 <div id="profile-edit-country-name-wrapper" >
391 <label id="profile-edit-country-name-label" for="profile-edit-country-name" >{{$country_name.1}} </label>
392 <select name="country_name" id="profile-edit-country-name" onChange="Fill_States('{{$region.2}}');">
393 <option selected="selected" >{{$country_name.1}}</option>
394 <option>temp</option>
395 </select>
396 </div>
397 <div id="profile-edit-country-name-end"></div>
398
399 <div id="profile-edit-region-wrapper" >
400 <label id="profile-edit-region-label" for="profile-edit-region" >{{$region.1}} </label>
401 <select name="region" id="profile-edit-region" onChange="Update_Globals();" >
402 <option selected="selected" >{{$region.2}}</option>
403 <option>temp</option>
404 </select>
405 </div>
406 <div id="profile-edit-region-end"></div>
407
408 <div id="profile-edit-pubkeywords-wrapper" >
409 <label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >{{$pub_keywords.1}} </label>
410 <input type="text" size="32" name="pub_keywords" id="profile-edit-pubkeywords" title="{{$lbl_ex2}}" value="{{$pub_keywords.2|escape:'html'}}" />
411 </div><div id="profile-edit-pubkeywords-desc">{{$pub_keywords.3}}</div>
412 <div id="profile-edit-pubkeywords-end"></div>
413
414 <div id="profile-edit-prvkeywords-wrapper" >
415 <label id="profile-edit-prvkeywords-label" for="profile-edit-prvkeywords" >{{$prv_keywords.1}} </label>
416 <input type="text" size="32" name="prv_keywords" id="profile-edit-prvkeywords" title="{{$lbl_ex2}}" value="{{$prv_keywords.2|escape:'html'}}" />
417 </div><div id="profile-edit-prvkeywords-desc">{{$prv_keywords.3}}</div>
418 <div id="profile-edit-prvkeywords-end"></div>
419
420 <div id="about-jot-wrapper" >
421 <p id="about-jot-desc" >
422 {{$about.1}}
423 </p>
424
425 <textarea rows="10" cols="72" id="profile-about-text" name="about" >{{$about.2}}</textarea>
426
427 </div>
428 <div id="about-jot-end"></div>
429
430 <div class="profile-edit-submit-wrapper" >
431 <input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
432 </div>
433 <div class="profile-edit-submit-end"></div>
434
435         <input type="hidden" name="pdesc" id="profile-edit-pdesc" value="{{$pdesc.2}}" />
436         <input type="hidden" id="contact-jot-text" name="contact" value="{{$contact.2}}" />
437         <input type="hidden" name="hometown" id="profile-edit-hometown" value="{{$hometown.2}}" />
438         <input type="hidden" name="politic" id="profile-edit-politic" value="{{$politic.2}}" />
439         <input type="hidden" name="religion" id="profile-edit-religion" value="{{$religion.2}}" />
440         <input type="hidden" id="likes-jot-text" name="likes" value="{{$likes.2}}" />
441         <input type="hidden" id="dislikes-jot-text" name="dislikes" value="{{$dislikes.2}}" />
442         <input type="hidden" name="with" id="profile-edit-with" value="{{$with.2}}" />
443         <input type="hidden" name="howlong" id="profile-edit-howlong" value="{{$howlong.2}}" />
444         <input type="hidden" id="romance-jot-text" name="romance" value="{{$romance.2}}" />
445         <input type="hidden" id="work-jot-text" name="work" value="{{$work.2}}" />
446         <input type="hidden" id="education-jot-text" name="education" value="{{$education.2}}" />
447         <input type="hidden" id="interest-jot-text" name="interest" value="{{$interest.2}}" />
448         <input type="hidden" id="music-jot-text" name="music" value="{{$music.2}}" />
449         <input type="hidden" id="book-jot-text" name="book" value="{{$book.2}}" />
450         <input type="hidden" id="tv-jot-text" name="tv" value="{{$tv.2}}" />
451         <input type="hidden" id="film-jot-text" name="film" value="{{$film.2}}" />
452
453 {{/if}}
454 </form>
455 </div>
456 <script type="text/javascript">Fill_Country('{{$country_name.2}}');Fill_States('{{$region.2}}');</script>