Changeset 2143317
- Timestamp:
- 08/21/2019 06:21:04 PM (7 years ago)
- Location:
- locatoraid/trunk
- Files:
-
- 7 edited
-
config/_common.php (modified) (1 diff)
-
locatoraid.php (modified) (2 diffs)
-
modules/front/_config_settings.php (modified) (1 diff)
-
modules/front/form.php (modified) (1 diff)
-
modules/front/view_form.php (modified) (2 diffs)
-
modules/front/view_list.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
locatoraid/trunk/config/_common.php
r2127805 r2143317 1 1 <?php if (! defined('ABSPATH')) exit; // Exit if accessed directly 2 $config['app_version'] = '3.6. 6';2 $config['app_version'] = '3.6.7'; 3 3 // $config['dbprefix_version'] = 'v1'; 4 4 -
locatoraid/trunk/locatoraid.php
r2127805 r2143317 4 4 Plugin URI: https://www.locatoraid.com/ 5 5 Description: Store locator plugin 6 Version: 3.6. 66 Version: 3.6.7 7 7 Author: hitcode.com 8 8 Author URI: https://www.locatoraid.com/ … … 12 12 13 13 if( ! defined('LC3_VERSION') ){ 14 define( 'LC3_VERSION', 36 6);14 define( 'LC3_VERSION', 367 ); 15 15 } 16 16 -
locatoraid/trunk/modules/front/_config_settings.php
r2124830 r2143317 41 41 $config['settings']['front_list:phone:w_label'] = 1; 42 42 43 $config['settings']['front_text:submit_button'] = HCM::__('Search');44 $config['settings']['front_text:search_field'] = HCM::__('Address or Zip Code');45 $config['settings']['front_text:more_results'] = HCM::__('More Results');46 $config['settings']['front_text:no_results'] = HCM::__('No Results');43 $config['settings']['front_text:submit_button'] = 'Search'; 44 $config['settings']['front_text:search_field'] = 'Address or Zip Code'; 45 $config['settings']['front_text:more_results'] = 'More Results'; 46 $config['settings']['front_text:no_results'] = 'No Results'; 47 47 -
locatoraid/trunk/modules/front/form.php
r1726376 r2143317 9 9 $label = $app_settings->get('front_text:search_field'); 10 10 if( $label === NULL ){ 11 $label = HCM::__('Address or Zip Code');11 $label = 'Address or Zip Code'; 12 12 } 13 $label = HCM::__($label); 13 14 14 15 $return['search'] = $this->app->make('/form/text') -
locatoraid/trunk/modules/front/view_form.php
r2124830 r2143317 166 166 $btn_label = $app_settings->get('front_text:submit_button'); 167 167 if( $btn_label === NULL ){ 168 $btn_label = HCM::__('Search'); 169 } 168 $btn_label = 'Search'; 169 } 170 $btn_label = HCM::__($btn_label); 170 171 171 172 $out_buttons = $this->app->make('/html/element')->tag('input') … … 189 190 $more_results_label = $app_settings->get('front_text:more_results'); 190 191 if( $more_results_label === NULL ){ 191 $more_results_label = HCM::__('More Results'); 192 } 193 192 $more_results_label = 'More Results'; 193 } 194 $more_results_label = HCM::__($more_results_label); 195 194 196 $more_results_link = $this->app->make('/html/element')->tag('a') 195 197 ->add_attr('class', 'hcj2-more-results') -
locatoraid/trunk/modules/front/view_list.php
r2124830 r2143317 31 31 32 32 $no_results_label = $app_settings->get('front_text:no_results'); 33 $no_results_label = HCM::__($no_results_label); 34 33 35 $no_results_template = array(); 34 36 $no_results_template[] = '<div class="hc-p2 hc-border hc-rounded">'; -
locatoraid/trunk/readme.txt
r2127805 r2143317 85 85 == Changelog == 86 86 87 = 3.6.7 = 88 * Useful for multi language websites: front end text configuration is now translation ready. For example, enter "Search" in the settings form, then translate it in the language file. 89 87 90 = 3.6.6 = 88 91 * BUG: not yet geocoded entries may have appeared in search results.
Note: See TracChangeset
for help on using the changeset viewer.