From: Laury GvR Date: Fri, 25 Sep 2015 18:02:31 +0000 (-0400) Subject: Fixing some more markup issues.. maybe. X-Git-Tag: v1.0.14^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=dd0d74672cf3f07cf0543c7e4ca831e4b3e1e272;p=WP-Plugins%2Fglm-member-db.git Fixing some more markup issues.. maybe. --- diff --git a/config/plugin.ini b/config/plugin.ini index 356aa5d1..215cd50e 100644 --- a/config/plugin.ini +++ b/config/plugin.ini @@ -134,6 +134,8 @@ front-config['detail_show_categories'] = false front-config['detail_show_creditcards'] = true front-config['detail_show_amenities'] = true front-config['detail_show_imagegallery'] = true +front-config['detail_show_coupons'] = false +front-config['detail_show_packages'] = false ; ; End of site configuration options diff --git a/views/front/members/detail.html b/views/front/members/detail.html index fdc562ec..7fed1ea5 100644 --- a/views/front/members/detail.html +++ b/views/front/members/detail.html @@ -50,14 +50,16 @@
- {if $detail_show_logo} + {if $member.logo && $detail_show_logo}
+
+ {else} +
{/if} -

{if $list_show_detaillink} @@ -84,8 +86,8 @@ {if $member.url && $list_show_url}Website{/if} {if $member.email && $list_show_email}Email{/if} {if $detail_show_imagegallery}Photo Gallery{/if} - {if $detail_show_imagegallery}Coupons{/if} - {if $detail_show_imagegallery}Packages{/if} + {if $detail_show_coupons}Coupons{/if} + {if $detail_show_packages}Packages{/if}

@@ -95,7 +97,7 @@
{if $member.amenities && $detail_show_amenities} - {$term_member_cap} Amenities & Services + Amenities & Services
    {foreach $member.amenities as $a}
  • @@ -140,7 +142,11 @@ {if $detail_show_imagegallery} -
    Photo Gallery
    +
    +
    + Photo Gallery +
    +
    @@ -151,6 +157,12 @@
+ {/if} + {if $detail_show_coupons} + + {/if} + {if $detail_show_packages} + {/if}
diff --git a/views/front/members/list.html b/views/front/members/list.html index c5142334..d9d13696 100644 --- a/views/front/members/list.html +++ b/views/front/members/list.html @@ -77,23 +77,18 @@
- + {if $m.logo && $list_show_logo} -
- -
- {/if} - - - {if $m.logo && $list_show_logo} -
-
- +
+
+ + +
- -
- {/if}
+ {else} +
+ {/if}

{if $list_show_detaillink} @@ -171,8 +166,6 @@ {/if}

- -
@@ -204,7 +197,7 @@ {if $m.toll_free && $list_map_show_tollfree}Toll Free: {$m.toll_free}
{/if} {if $m.url && $list_map_show_url}Web site: {$m.url}
{/if} {if $m.email && $list_map_show_email}E-Mail Address: {$m.email}
{/if} - {if $m.region.value && $list_map_show_region}

Region: {$m.region.name}

{/if} + {if $m.region.value && $list_map_show_region}Region: {$m.region.name}{/if}

{if $m.descr && $list_map_show_description}{$m.descr}
{/if} {if $m.short_descr && $list_map_show_short_descr}{$m.short_descr}
{/if}