Fix bad call to apply_filters
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 20 Mar 2018 15:23:57 +0000 (11:23 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 20 Mar 2018 15:23:57 +0000 (11:23 -0400)
Needs second parameter.

glm-member-db-contacts/views/front/contacts/list.html

index d94fbf4..3b82e11 100644 (file)
@@ -26,7 +26,7 @@ and open the template in the editor.
                 <div id="glmContactsCompanySearchContainer" class="">
                     <b>Company Search: </b><input  id="glmContactsCompanySearch" name="filterOrganization" type="text" id="autoTest" value="{$filterOrganization}">
                 </div>
-                {$cityList = apply_filters("glm-member-contact-cities")}
+                {$cityList = apply_filters("glm-member-contact-cities", '')}
                     <div id="glmContactsCitySearchContainer" class="small-12 large-5">
                         <b>City Search: </b>
                         <select  id="glmContactsCitySearch" name="citySearch">
@@ -36,7 +36,7 @@ and open the template in the editor.
                             {/foreach}
                         </select>
                     </div>
+
                 <div class="small-12 large-2" id="glmContactsSearchSubmit">
                     <input type="submit" value="Submit" class="glm-button button">
                 </div>
@@ -67,14 +67,14 @@ and open the template in the editor.
             showing {$start} through {$lastDisplayed} of {$filteredContactsFound}
         {/if}
 
-        
+
         {$contacts_with_subs = apply_filters("get_contacts_with_subs", $contacts)}
-        
+
 
         {if $haveContacts}
-            
+
             {foreach $contacts as $contact}
-                
+
                 {if $contact.active.value == 1}
 
                     <div class="glm-member-list-container glm-member-container small-12 columns">
@@ -90,8 +90,8 @@ and open the template in the editor.
                                 </h4>
                                 <div class="row glm-contact-info">
                                     <div class="small-12 medium-6 columns">
-                                        {if $contact.primary_contact.value == true} 
-                                            
+                                        {if $contact.primary_contact.value == true}
+
                                             {if $contact.title}<div class="glm-contact-info-title">{$contact.title}</div>{/if}
                                             {if $contacts_with_subs !== false}
                                                 {foreach $contacts_with_subs as $contact_with_subs}
@@ -107,7 +107,7 @@ and open the template in the editor.
                                         {/if}
                                         {if $contact.ref_type.name}
                                         <div class="glm-contact-info-member">
-                                            {if $contact.primary_contact.value == false} 
+                                            {if $contact.primary_contact.value == false}
                                                 {if $contact.ref_dest_name}
                                                     Associated Member: {$contact.ref_dest_name}
                                                 {/if}
@@ -123,7 +123,7 @@ and open the template in the editor.
                                             {if $contact.zip}<span class="glm-contact-info-zip">{$contact.zip}</span>{/if}
                                         </div>{/if}
                                         {if $contact.county}<div class="glm-contact-info-county">{$contact.county} County</div>{/if}
-                                        
+
                                     </div>
                                     <div class="small-12 medium-6 columns">
                                         {if $contact.office_phone}<div class="glm-contact-info-work-phone"><span class="field-title">Work: </span>{$contact.office_phone}</div>{/if}
@@ -134,7 +134,7 @@ and open the template in the editor.
                                         {if $contact.email}<div class="glm-contact-info-email">Email: <a href="mailto:{$contact.email}" target="_top">{$contact.email}</a></div>{/if}
                                         {if $contact.alt_email}<div class="glm-contact-info-alt-email"><span class="field-title">Alt Email: </span><a href="mailto:{$contact.alt_email}" target="_top">{$contact.alt_email}</a></div>{/if}
                                         {if $contact.url}<div class="glm-contact-info-url"><span class="field-title">Website: </span></span><a href="{$contact.url}" target="_top">{$contact.url}</a></div>{/if}
-                                    </div>                 
+                                    </div>
                                     <div class="small-12 columns">
                                         {if $contact.org}<div class="glm-contact-info-org"><span class="field-title">Organization: </span>{$contact.org}</div>{/if}
                                         {if $contact.descr}<div class="glm-contact-info-descr"><span class="field-title">Position & Responsibilities: </span>{$contact.descr}</div>{/if}
@@ -166,4 +166,4 @@ and open the template in the editor.
 {include file='front/footer.html'}
 
     </body>
-</html>
\ No newline at end of file
+</html>