From d22b21c56f978d6b1ed42c9edde2a0214a16aef7 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 16 Mar 2016 13:45:24 +0100 Subject: still more janitor work on profiles --- view/tpl/profile_edit.tpl | 174 +++++++--------------------------------------- 1 file changed, 25 insertions(+), 149 deletions(-) (limited to 'view') diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl index 1929820cb..f7da969a2 100755 --- a/view/tpl/profile_edit.tpl +++ b/view/tpl/profile_edit.tpl @@ -18,7 +18,7 @@ - +
{{if $is_default}}
{{$default}}
@@ -38,14 +38,14 @@ {{if $fields.gender}}
- + {{if $advanced}} {{$gender}} {{else}} {{$gender_min}} {{/if}}
-
+
{{/if}} {{if $fields.dob}} @@ -111,204 +111,81 @@ {{/if}} {{if $fields.homepage}} -
- - -
-
+{{include file="field_input.tpl" field=$homepage}} {{/if}} {{if $fields.sexual}}
- + {{$sexual}}
-
+
{{/if}} {{if $fields.politic}} -
- - -
-
+{{include file="field_input.tpl" field=$politic}} {{/if}} {{if $fields.religion}} -
- - -
-
+{{include file="field_input.tpl" field=$religion}} {{/if}} {{if $fields.keywords}} -
- - -
-{{$lbl_pubdsc}} -
+{{include file="field_input.tpl" field=$keywords}} {{/if}} -

- {{if $fields.about}} -
-

-{{$lbl_about}} -

- - - -
-
+{{include file="field_textarea.tpl" field=$about}} {{/if}} {{if $fields.contact}} -
-

-{{$lbl_social}} -

- - - -
-
+{{include file="field_textarea.tpl" field=$contact}} {{/if}} {{if $fields.interest}} -
-

-{{$lbl_hobbies}} -

- - - -
-
+{{include file="field_textarea.tpl" field=$interest}} {{/if}} {{if $fields.likes}} -
-

-{{$lbl_likes}} -

- - - -
-
+{{include file="field_textarea.tpl" field=$likes}} {{/if}} {{if $fields.dislikes}} -
-

-{{$lbl_dislikes}} -

- - - -
-
+{{include file="field_textarea.tpl" field=$dislikes}} {{/if}} {{if $fields.channels}} -
-

-{{$lbl_channels}} -

- - - -
-
+{{include file="field_textarea.tpl" field=$channels}} {{/if}} {{if $fields.music}} -
-

-{{$lbl_music}} -

- - - -
-
+{{include file="field_textarea.tpl" field=$music}} {{/if}} {{if $fields.book}} -
-

-{{$lbl_book}} -

- - - -
-
+{{include file="field_textarea.tpl" field=$book}} {{/if}} {{if $fields.tv}} -
-

-{{$lbl_tv}} -

- - - -
-
+{{include file="field_textarea.tpl" field=$tv}} {{/if}} {{if $fields.film}} -
-

-{{$lbl_film}} -

- - - -
-
+{{include file="field_textarea.tpl" field=$film}} {{/if}} {{if $fields.romance}} -
-

-{{$lbl_love}} -

- - - -
-
+{{include file="field_textarea.tpl" field=$romance}} {{/if}} {{if $fields.work}} -
-

-{{$lbl_work}} -

- - - -
-
+{{include file="field_textarea.tpl" field=$work}} {{/if}} {{if $fields.education}} -
-

-{{$lbl_school}} -

- - - -
-
+{{include file="field_textarea.tpl" field=$education}} {{/if}} {{if $extra_fields}} @@ -317,11 +194,10 @@ {{/foreach}} {{/if}} -
- +
+
-
- +
-- cgit v1.2.3