From 723a49cceecf92a87eb34243e824b8deb900f184 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 1 Feb 2016 17:42:53 -0800 Subject: add photos to the profile "likes this" dropdowns --- view/tpl/profile_advanced.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/tpl/profile_advanced.tpl') diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl index a4413e536..a027a7c2e 100755 --- a/view/tpl/profile_advanced.tpl +++ b/view/tpl/profile_advanced.tpl @@ -4,7 +4,7 @@ {{if $profile.like_count}} {{if $profile.likers}} - + {{/if}} {{/if}} {{if $profile.canlike}} @@ -215,7 +215,7 @@
{{if $item.likes}} - + {{/if}}
{{/if}} -- cgit v1.2.3 From b2474334a7b7f009442883a08d544280231b29fc Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 25 Feb 2016 22:50:16 +0100 Subject: provide an edit button for the profile page --- view/tpl/profile_advanced.tpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'view/tpl/profile_advanced.tpl') diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl index a027a7c2e..780626cf9 100755 --- a/view/tpl/profile_advanced.tpl +++ b/view/tpl/profile_advanced.tpl @@ -12,6 +12,9 @@ {{/if}} + {{if $edit}} +  {{$edit.label}} + {{/if}}

{{$title}}

-- cgit v1.2.3 From d27a627c4f65ca67bcc0f46fb830368c713043cd Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 29 Feb 2016 22:01:13 +0100 Subject: simplify profile edit button(s) and make it useful for multiple profiles --- view/tpl/profile_advanced.tpl | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'view/tpl/profile_advanced.tpl') diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl index 780626cf9..3d09b762d 100755 --- a/view/tpl/profile_advanced.tpl +++ b/view/tpl/profile_advanced.tpl @@ -12,8 +12,19 @@ {{/if}} - {{if $edit}} -  {{$edit.label}} + {{if $editmenu.multi}} +  {{$editmenu.edit.3}} + + {{else}} +  {{$editmenu.edit.3}} {{/if}}

{{$title}}

-- cgit v1.2.3 From 492609d20bd04ff76efb3406766d714d7384c6d0 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 1 Mar 2016 14:41:14 +0100 Subject: do not show empty buttons if not logged in --- view/tpl/profile_advanced.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl/profile_advanced.tpl') diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl index 3d09b762d..0f968a53f 100755 --- a/view/tpl/profile_advanced.tpl +++ b/view/tpl/profile_advanced.tpl @@ -23,7 +23,7 @@
  • {{$editmenu.menu.chg_photo}}
  • {{if $editmenu.menu.cr_new}}
  • {{$editmenu.menu.cr_new}}
  • {{/if}} - {{else}} + {{elseif $editmenu}}  {{$editmenu.edit.3}} {{/if}} -- cgit v1.2.3 From 765dd5569b9ce2f18ac9974123d96452d0d19926 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 1 Mar 2016 14:55:04 -0800 Subject: Allow configuration of the display order of profile fields. This is an important piece of a more general profile configuration framework which will eventually be accessible via the admin page. --- view/tpl/profile_advanced.tpl | 73 +++++++++++++++++++++++++++++++++++++------ 1 file changed, 64 insertions(+), 9 deletions(-) (limited to 'view/tpl/profile_advanced.tpl') diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl index 3d09b762d..b7c527c31 100755 --- a/view/tpl/profile_advanced.tpl +++ b/view/tpl/profile_advanced.tpl @@ -31,186 +31,241 @@
    -
    -
    {{$profile.fullname.0}}
    -
    {{$profile.fullname.1}}
    -
    + {{foreach $fields as $f}} + {{if $f == 'name'}} +
    +
    {{$profile.fullname.0}}
    +
    {{$profile.fullname.1}}
    +
    + {{/if}} + + {{if $f == 'gender'}} {{if $profile.gender}}
    {{$profile.gender.0}}
    {{$profile.gender.1}}
    {{/if}} + {{/if}} + {{if $f == 'birthday'}} {{if $profile.birthday}}
    {{$profile.birthday.0}}
    {{$profile.birthday.1}}
    {{/if}} + {{/if}} + {{if $f == 'age'}} {{if $profile.age}}
    {{$profile.age.0}}
    {{$profile.age.1}}
    {{/if}} + {{/if}} + + {{if $f == 'marital'}} {{if $profile.marital}}
    {{$profile.marital.0}}
    {{$profile.marital.1}}{{if $profile.marital.with}} ({{$profile.marital.with}}){{/if}}{{if $profile.howlong}} {{$profile.howlong}}{{/if}}
    {{/if}} + {{/if}} + {{if $f == 'sexual'}} {{if $profile.sexual}}
    {{$profile.sexual.0}}
    {{$profile.sexual.1}}
    {{/if}} + {{/if}} + {{if $f == 'keywords'}} {{if $profile.keywords}}
    {{$profile.keywords.0}}
    {{$profile.keywords.1}}
    {{/if}} + {{/if}} + {{if $f == 'homepage'}} {{if $profile.homepage}}
    {{$profile.homepage.0}}
    {{$profile.homepage.1}}
    {{/if}} + {{/if}} + {{if $f == 'hometown'}} {{if $profile.hometown}}
    {{$profile.hometown.0}}
    {{$profile.hometown.1}}
    {{/if}} + {{/if}} + + {{if $f == 'politic'}} {{if $profile.politic}}
    {{$profile.politic.0}}
    {{$profile.politic.1}}
    {{/if}} + {{/if}} + {{if $f == 'religion'}} {{if $profile.religion}}
    {{$profile.religion.0}}
    {{$profile.religion.1}}
    {{/if}} + {{/if}} + {{if $f == 'about'}} {{if $profile.about}}
    {{$profile.about.0}}
    {{$profile.about.1}}
    {{/if}} + {{/if}} + {{if $f == 'interest'}} {{if $profile.interest}}
    {{$profile.interest.0}}
    {{$profile.interest.1}}
    {{/if}} + {{/if}} + {{if $f == 'likes'}} {{if $profile.likes}}
    {{$profile.likes.0}}
    {{$profile.likes.1}}
    {{/if}} + {{/if}} + {{if $f == 'dislikes'}} {{if $profile.dislikes}}
    {{$profile.dislikes.0}}
    {{$profile.dislikes.1}}
    {{/if}} + {{/if}} + {{if $f == 'contact'}} {{if $profile.contact}}
    {{$profile.contact.0}}
    {{$profile.contact.1}}
    {{/if}} + {{/if}} + {{if $f == 'channels'}} {{if $profile.channels}}
    {{$profile.channels.0}}
    {{$profile.channels.1}}
    {{/if}} + {{/if}} + {{if $f == 'music'}} {{if $profile.music}}
    {{$profile.music.0}}
    {{$profile.music.1}}
    {{/if}} + {{/if}} + {{if $f == 'book'}} {{if $profile.book}}
    {{$profile.book.0}}
    {{$profile.book.1}}
    {{/if}} + {{/if}} + {{if $f == 'tv'}} {{if $profile.tv}}
    {{$profile.tv.0}}
    {{$profile.tv.1}}
    {{/if}} + {{/if}} + {{if $f == 'film'}} {{if $profile.film}}
    {{$profile.film.0}}
    {{$profile.film.1}}
    {{/if}} + {{/if}} + {{if $f == 'romance'}} {{if $profile.romance}}
    {{$profile.romance.0}}
    {{$profile.romance.1}}
    {{/if}} + {{/if}} + {{if $f == 'work'}} {{if $profile.work}}
    {{$profile.work.0}}
    {{$profile.work.1}}
    {{/if}} + {{/if}} + {{if $f == 'education'}} {{if $profile.education}}
    {{$profile.education.0}}
    {{$profile.education.1}}
    {{/if}} + {{/if}} - {{foreach $profile.extra_fields as $f}} - {{if $profile.$f}} -
    -
    {{$profile.$f.0}}
    -
    {{$profile.$f.1}}
    + {{foreach $profile.extra_fields as $fld}} + {{if $f == $fld}} + {{if $profile.$fld}} +
    +
    {{$profile.$fld.0}}
    +
    {{$profile.$fld.1}}
    {{/if}} + {{/if}} {{/foreach}} + {{/foreach}} {{if $things}} -- cgit v1.2.3 From 428b4dbad63d429c3b0d47b49ff5918dbda3c596 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 1 Mar 2016 22:47:07 -0800 Subject: sort out the with and howlong dependencies --- view/tpl/profile_advanced.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl/profile_advanced.tpl') diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl index 034a6d43d..a724c41bb 100755 --- a/view/tpl/profile_advanced.tpl +++ b/view/tpl/profile_advanced.tpl @@ -72,7 +72,7 @@ {{if $profile.marital}}
    {{$profile.marital.0}}
    -
    {{$profile.marital.1}}{{if $profile.marital.with}} ({{$profile.marital.with}}){{/if}}{{if $profile.howlong}} {{$profile.howlong}}{{/if}}
    +
    {{$profile.marital.1}}{{if in_array('with',$fields)}}{{if $profile.marital.with}} ({{$profile.marital.with}}){{/if}}{{/if}}{{if in_array('howlong',$fields)}}{{if $profile.howlong}} {{$profile.howlong}}{{/if}}{{/if}}
    {{/if}} {{/if}} -- cgit v1.2.3 From f364343b554507e7ae309d48e7dbd2875d95c75d Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 8 Mar 2016 11:43:21 +0100 Subject: add generic-content-wrapper and setction-content-wrapper to profile_edit.tpl --- view/tpl/profile_advanced.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl/profile_advanced.tpl') diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl index a724c41bb..273778ae8 100755 --- a/view/tpl/profile_advanced.tpl +++ b/view/tpl/profile_advanced.tpl @@ -1,4 +1,4 @@ -
    +