From 2165733ddce0bcae386d8b4b25ef7fec83266db7 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 16 Mar 2016 23:07:29 +0100 Subject: move buttons to dropdown menu and some cleanup --- view/tpl/profile_edit.tpl | 435 ++++++++++++++++++++++++---------------------- 1 file changed, 232 insertions(+), 203 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl index f7da969a2..daa56e15c 100755 --- a/view/tpl/profile_edit.tpl +++ b/view/tpl/profile_edit.tpl @@ -1,206 +1,235 @@
- -

{{$banner}}

- -
-
- - - - -
- -{{if $is_default}} - -{{/if}} - - -
- - -{{include file="field_input.tpl" field=$profile_name}} - -{{include file="field_input.tpl" field=$name}} - -{{if $fields.pdesc}} -{{include file="field_input.tpl" field=$pdesc}} -{{/if}} - -{{if $fields.gender}} -
- -{{if $advanced}} -{{$gender}} -{{else}} -{{$gender_min}} -{{/if}} -
-
-{{/if}} - -{{if $fields.dob}} -{{$dob}} -{{/if}} - -{{include file="field_checkbox.tpl" field=$hide_friends}} - -
- -
-
- -{{if $fields.address}} -{{include file="field_input.tpl" field=$address}} -{{/if}} - -{{if $fields.locality}} -{{include file="field_input.tpl" field=$locality}} -{{/if}} - -{{if $fields.postal_code}} -{{include file="field_input.tpl" field=$postal_code}} -{{/if}} - -{{if $fields.region}} -{{include file="field_input.tpl" field=$region}} -{{/if}} - -{{if $fields.country_name}} -{{include file="field_input.tpl" field=$country_name}} -{{/if}} - -{{if $fields.hometown}} -{{include file="field_input.tpl" field=$hometown}} -{{/if}} - -
- -
-
- -{{if $fields.marital }} -
- -{{if $advanced}} -{{$marital}} -{{else}} -{{$marital_min}} -{{/if}} -
-
- -{{if $fields.with}} -{{include file="field_input.tpl" field=$with}} -{{/if}} - -{{if $fields.howlong}} -{{include file="field_input.tpl" field=$howlong}} -{{/if}} - -
-{{/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}} -{{include file="field_input.tpl" field=$keywords}} -{{/if}} - -{{if $fields.about}} -{{include file="field_textarea.tpl" field=$about}} -{{/if}} - -{{if $fields.contact}} -{{include file="field_textarea.tpl" field=$contact}} -{{/if}} - - -{{if $fields.interest}} -{{include file="field_textarea.tpl" field=$interest}} -{{/if}} - -{{if $fields.likes}} -{{include file="field_textarea.tpl" field=$likes}} -{{/if}} - -{{if $fields.dislikes}} -{{include file="field_textarea.tpl" field=$dislikes}} -{{/if}} - -{{if $fields.channels}} -{{include file="field_textarea.tpl" field=$channels}} -{{/if}} - -{{if $fields.music}} -{{include file="field_textarea.tpl" field=$music}} -{{/if}} - -{{if $fields.book}} -{{include file="field_textarea.tpl" field=$book}} -{{/if}} - -{{if $fields.tv}} -{{include file="field_textarea.tpl" field=$tv}} -{{/if}} - -{{if $fields.film}} -{{include file="field_textarea.tpl" field=$film}} -{{/if}} - - -{{if $fields.romance}} -{{include file="field_textarea.tpl" field=$romance}} -{{/if}} - -{{if $fields.work}} -{{include file="field_textarea.tpl" field=$work}} -{{/if}} - -{{if $fields.education}} -{{include file="field_textarea.tpl" field=$education}} -{{/if}} - -{{if $extra_fields}} -{{foreach $extra_fields as $field }} -{{include file="field_input.tpl" field=$field}} -{{/foreach}} -{{/if}} - -
- -
-
- - -
-
+
+ +

{{$banner}}

+
+
+
+ + +
+
+
+ {{if $is_default}} + + {{/if}} +
+ + + {{include file="field_input.tpl" field=$profile_name}} + + {{include file="field_input.tpl" field=$name}} + + {{if $fields.pdesc}} + {{include file="field_input.tpl" field=$pdesc}} + {{/if}} + + {{if $fields.gender}} +
+ + {{if $advanced}} + {{$gender}} + {{else}} + {{$gender_min}} + {{/if}} +
+
+ {{/if}} + + {{if $fields.dob}} + {{$dob}} + {{/if}} + + {{include file="field_checkbox.tpl" field=$hide_friends}} + +
+ +
+
+ + {{if $fields.address}} + {{include file="field_input.tpl" field=$address}} + {{/if}} + + {{if $fields.locality}} + {{include file="field_input.tpl" field=$locality}} + {{/if}} + + {{if $fields.postal_code}} + {{include file="field_input.tpl" field=$postal_code}} + {{/if}} + + {{if $fields.region}} + {{include file="field_input.tpl" field=$region}} + {{/if}} + + {{if $fields.country_name}} + {{include file="field_input.tpl" field=$country_name}} + {{/if}} + + {{if $fields.hometown}} + {{include file="field_input.tpl" field=$hometown}} + {{/if}} + +
+ +
+
+ + {{if $fields.marital }} +
+ + {{if $advanced}} + {{$marital}} + {{else}} + {{$marital_min}} + {{/if}} +
+
+ + {{if $fields.with}} + {{include file="field_input.tpl" field=$with}} + {{/if}} + + {{if $fields.howlong}} + {{include file="field_input.tpl" field=$howlong}} + {{/if}} +
+ {{/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}} + {{include file="field_input.tpl" field=$keywords}} + {{/if}} + + {{if $fields.about}} + {{include file="field_textarea.tpl" field=$about}} + {{/if}} + + {{if $fields.contact}} + {{include file="field_textarea.tpl" field=$contact}} + {{/if}} + + + {{if $fields.interest}} + {{include file="field_textarea.tpl" field=$interest}} + {{/if}} + + {{if $fields.likes}} + {{include file="field_textarea.tpl" field=$likes}} + {{/if}} + + {{if $fields.dislikes}} + {{include file="field_textarea.tpl" field=$dislikes}} + {{/if}} + + {{if $fields.channels}} + {{include file="field_textarea.tpl" field=$channels}} + {{/if}} + + {{if $fields.music}} + {{include file="field_textarea.tpl" field=$music}} + {{/if}} + + {{if $fields.book}} + {{include file="field_textarea.tpl" field=$book}} + {{/if}} + + {{if $fields.tv}} + {{include file="field_textarea.tpl" field=$tv}} + {{/if}} + + {{if $fields.film}} + {{include file="field_textarea.tpl" field=$film}} + {{/if}} + + + {{if $fields.romance}} + {{include file="field_textarea.tpl" field=$romance}} + {{/if}} + + {{if $fields.work}} + {{include file="field_textarea.tpl" field=$work}} + {{/if}} + + {{if $fields.education}} + {{include file="field_textarea.tpl" field=$education}} + {{/if}} + + {{if $extra_fields}} + {{foreach $extra_fields as $field }} + {{include file="field_input.tpl" field=$field}} + {{/foreach}} + {{/if}} + +
+ +
+
+
+
+
-- cgit v1.2.3