From 44ee18b810b8671c9b522b06a5d8d0e62a3bef00 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 2 Aug 2014 23:28:51 -0700 Subject: Let site admin choose what profile fields to support. --- view/tpl/profile_edit.tpl | 101 ++++++++++++++++++++++++++++------------------ 1 file changed, 62 insertions(+), 39 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl index d2a2d7252..838415f80 100755 --- a/view/tpl/profile_edit.tpl +++ b/view/tpl/profile_edit.tpl @@ -27,19 +27,23 @@
+{{if $fields.name}}
+{{/if}} +{{if $fields.pdesc}}
+{{/if}} - +{{if $fields.gender}}
{{if $advanced}} @@ -49,7 +53,9 @@ {{/if}}
+{{/if}} +{{if $fields.dob}}
@@ -57,6 +63,7 @@
+{{/if}} {{$hide_friends}} @@ -65,50 +72,60 @@
- +{{if $fields.address}}
+{{/if}} +{{if $fields.locality}}
+{{/if}} - +{{if $fields.postal_code}}
+{{/if}} - +{{if $fields.region}}
+{{/if}} +{{if $fields.country_name}}
+{{/if}} +{{if $fields.hometown}}
+{{/if}}
+{{if $fields.marital }}
{{if $advanced}} @@ -118,53 +135,61 @@ {{/if}}
+{{if $fields.with}}
+{{/if}} +{{if $fields.howlong}} - +
+{{/if}}
+{{/if}} +{{if $fields.homepage}}
+{{/if}} - -{{if $advanced}} +{{if $fields.sexual}}
{{$sexual}}
+{{/if}} +{{if $fields.politic}}
+{{/if}} +{{if $fields.religion}}
- {{/if}} +{{if $fields.keywords}}
{{$lbl_pubdsc}}
+{{/if}} -
- -
-
+{{if $fields.about}}

{{$lbl_about}} @@ -174,9 +199,9 @@

+{{/if}} - - +{{if $fields.contact}}

{{$lbl_social}} @@ -186,9 +211,10 @@

+{{/if}} -{{if $advanced}} +{{if $fields.interest}}

{{$lbl_hobbies}} @@ -198,8 +224,9 @@

+{{/if}} - +{{if $fields.likes}}

{{$lbl_likes}} @@ -209,8 +236,9 @@

+{{/if}} - +{{if $fields.dislikes}}

{{$lbl_dislikes}} @@ -220,8 +248,9 @@

+{{/if}} - +{{if $fields.channels}}

{{$lbl_channels}} @@ -231,13 +260,9 @@

+{{/if}} -
- -
-
- - +{{if $fields.music}}

{{$lbl_music}} @@ -247,7 +272,9 @@

+{{/if}} +{{if $fields.book}}

{{$lbl_book}} @@ -257,9 +284,9 @@

+{{/if}} - - +{{if $fields.tv}}

{{$lbl_tv}} @@ -269,9 +296,9 @@

+{{/if}} - - +{{if $fields.film}}

{{$lbl_film}} @@ -281,14 +308,10 @@

+{{/if}} -
- -
-
- - +{{if $fields.romance}}

{{$lbl_love}} @@ -298,9 +321,9 @@

+{{/if}} - - +{{if $fields.work}}

{{$lbl_work}} @@ -310,9 +333,9 @@

+{{/if}} - - +{{if $fields.education}}

{{$lbl_school}} @@ -322,9 +345,9 @@

- {{/if}} +
-- cgit v1.2.3