From: Laury GvR Date: Fri, 28 Jul 2017 17:43:07 +0000 (-0400) Subject: Adjusting the comma spaces in the search term listing post-search X-Git-Tag: v1.0.0^2~28 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=da76d259b93c6341ec6523a6d231e960ff3bd9c7;p=WP-Themes%2Fmichigantrailmaps.git Adjusting the comma spaces in the search term listing post-search --- diff --git a/glm-member-db/views/front/members/list.html b/glm-member-db/views/front/members/list.html index 6cdd15d..812d3ea 100644 --- a/glm-member-db/views/front/members/list.html +++ b/glm-member-db/views/front/members/list.html @@ -21,14 +21,11 @@ Search Terms: {elseif $key === 'categories'} {foreach $value as $index=>$id} {if $index == 0 && $id} - {$searchParams->destinations->{$id}->name}{if $termCounter > 0}, {/if} - {$termCounter = $termCounter + 1} + {if $termCounter > 0}, {/if}{$searchParams->destinations->{$id}->name}{$termCounter = $termCounter + 1} {else if $index == 1 && $id} - {$searchParams->activities->{$id}->name}{if $termCounter > 0}, {/if} - {$termCounter = $termCounter + 1} + {if $termCounter > 0}, {/if}{$searchParams->activities->{$id}->name}{$termCounter = $termCounter + 1} {else if $index == 2 && $id} - {$searchParams->parks->{$id}->name}{if $termCounter > 0}, {/if} - {$termCounter = $termCounter + 1} + {if $termCounter > 0}, {/if}{$searchParams->parks->{$id}->name}{$termCounter = $termCounter + 1} {/if} {/foreach} {/if}