From 2d8deb60826a12b5bbe6ac1a8c123796c201d6fd Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 12 Mar 2016 22:13:46 +0100 Subject: some janitor work on profiles --- view/tpl/profile_edit.tpl | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) (limited to 'view/tpl/profile_edit.tpl') diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl index 26da4ebc9..f3f3efd6f 100755 --- a/view/tpl/profile_edit.tpl +++ b/view/tpl/profile_edit.tpl @@ -21,32 +21,19 @@ {{if $is_default}} -

{{$default}}

+
{{$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}} @@ -62,16 +49,10 @@ {{/if}} {{if $fields.dob}} -
- -
-{{$dob}} {{$age}} -
-
-
+{{$dob}} {{/if}} -{{$hide_friends}} +{{include file="field_checkbox.tpl" field=$hide_friends}}
-- cgit v1.2.3 From 370a007ee215d2889d9bf760b0247678c08d31ac Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 13 Mar 2016 21:19:15 +0100 Subject: more janitor work on profiles --- view/tpl/profile_edit.tpl | 51 +++++++++++++---------------------------------- 1 file changed, 14 insertions(+), 37 deletions(-) (limited to 'view/tpl/profile_edit.tpl') diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl index f3f3efd6f..779e1aca3 100755 --- a/view/tpl/profile_edit.tpl +++ b/view/tpl/profile_edit.tpl @@ -54,63 +54,39 @@ {{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 }}
@@ -121,6 +97,7 @@ {{$marital_min}} {{/if}}
+
{{if $fields.with}} @@ -134,7 +111,7 @@ {{/if}}
{{/if}} -

+ {{if $fields.homepage}}
-- cgit v1.2.3 From 38beabb50861b6e0fa9af033a7ba6e861449638e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 13 Mar 2016 21:27:29 +0100 Subject: fix spacing --- view/tpl/profile_edit.tpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'view/tpl/profile_edit.tpl') diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl index 779e1aca3..1951025f5 100755 --- a/view/tpl/profile_edit.tpl +++ b/view/tpl/profile_edit.tpl @@ -97,17 +97,22 @@ {{$marital_min}} {{/if}}
-
+ {{if $fields.with}} +
+
{{/if}} + {{if $fields.howlong}} +
+
{{/if}}
{{/if}} -- cgit v1.2.3