WordPress.org

Plugin Directory

Changeset 587040


Ignore:
Timestamp:
08/18/12 02:59:42 (5 years ago)
Author:
cybersprocket
Message:

v3.1.5

Location:
store-locator-le
Files:
46 edited
1 copied

Legend:

Unmodified
Added
Removed
  • store-locator-le/tags/3.1.5/WPCSL-generic/classes/CSL-cache_class.php

    r575152 r587040  
    77 
    88    function __construct($params) { 
    9         foreach ($params as $name => $sl_value) { 
    10             $this->$name = $sl_value; 
     9        foreach ($params as $name => $value) { 
     10            $this->$name = $value; 
    1111        } 
    1212        $this->crt_name = $this->prefix . '-cache_retain_time'; 
  • store-locator-le/tags/3.1.5/WPCSL-generic/classes/CSL-license_class.php

    r575152 r587040  
    2222        // Set by incoming parameters 
    2323        // 
    24         foreach ($params as $name => $sl_value) { 
    25             $this->$name = $sl_value; 
     24        foreach ($params as $name => $value) { 
     25            $this->$name = $value; 
    2626        } 
    2727         
     
    283283     **/ 
    284284    function __construct($params) { 
    285         foreach ($params as $name => $sl_value) { 
    286             $this->$name = $sl_value; 
     285        foreach ($params as $name => $value) { 
     286            $this->$name = $value; 
    287287        } 
    288288         
  • store-locator-le/tags/3.1.5/WPCSL-generic/classes/CSL-notifications_class.php

    r575152 r587040  
    44 
    55    function __construct($params) { 
    6         foreach ($params as $name => $sl_value) { 
    7             $this->$name = $sl_value; 
     6        foreach ($params as $name => $value) { 
     7            $this->$name = $value; 
    88        } 
    99    } 
     
    3535 
    3636        $notice_output = ''; 
    37         foreach ($levels as $key => $sl_value) { 
     37        foreach ($levels as $key => $value) { 
    3838            if (!$simple) { 
    3939                $color = round($difference); 
     
    9191                $notice_output .= "<ul>\n"; 
    9292            } 
    93             foreach ($sl_value as $notice) { 
     93            foreach ($value as $notice) { 
    9494                if (!$simple) { $notice_output .= '<li>'; } 
    9595                $notice_output .= $notice->display(); 
     
    110110 
    111111    function __construct($params) { 
    112         foreach($params as $name => $sl_value) { 
    113             $this->$name = $sl_value; 
     112        foreach($params as $name => $value) { 
     113            $this->$name = $value; 
    114114        } 
    115115    } 
  • store-locator-le/tags/3.1.5/WPCSL-generic/classes/CSL-plugin.php

    r575152 r587040  
    106106        // Do the setting override or initial settings. 
    107107        // 
    108         foreach ($params as $name => $sl_value) { 
    109             $this->$name = $sl_value; 
     108        foreach ($params as $name => $value) { 
     109            $this->$name = $value; 
    110110        } 
    111111 
     
    292292     ** So we can hopefully stay with php5.1 compatability 
    293293     **/ 
    294     function csl_array_fill_keys($target,$sl_value='') { 
     294    function csl_array_fill_keys($target,$value='') { 
    295295        if(is_array($target)) { 
    296296            foreach($target as $key => $val) { 
    297                 $filledArray[$val] = is_array($sl_value) ? $sl_value[$key] : $sl_value; 
     297                $filledArray[$val] = is_array($value) ? $value[$key] : $value; 
    298298            } 
    299299        } 
     
    980980                if (is_array($atts)) { 
    981981                    print __('DEBUG: Shortcode called with attributes:',WPCSL__slplus__VERSION) . "<br/>\n"; 
    982                     foreach ($atts as $name=>$sl_value) { 
    983                         print $name.':'.$sl_value."<br/>\n"; 
     982                    foreach ($atts as $name=>$value) { 
     983                        print $name.':'.$value."<br/>\n"; 
    984984                    } 
    985985                } else { 
     
    11461146    function apply_driver_defaults(&$defaults) { 
    11471147        $results = array(); 
    1148         foreach ($defaults as $key => $sl_value) { 
    1149             if (is_array($sl_value)) { 
    1150                 $results[$key] = $this->apply_driver_defaults($sl_value); 
     1148        foreach ($defaults as $key => $value) { 
     1149            if (is_array($value)) { 
     1150                $results[$key] = $this->apply_driver_defaults($value); 
    11511151            } 
    11521152            else { 
    1153                 if (get_option($this->prefix .'-'.$sl_value)) { 
    1154                     $results[$sl_value] = get_option($this->prefix .'-'.$sl_value); 
     1153                if (get_option($this->prefix .'-'.$value)) { 
     1154                    $results[$value] = get_option($this->prefix .'-'.$value); 
    11551155                } 
    11561156            } 
  • store-locator-le/tags/3.1.5/WPCSL-generic/classes/CSL-products_class.php

    r575152 r587040  
    2626        $this->columns = 1;                 // How many columns/row in our display output. 
    2727         
    28         foreach ($params as $name => $sl_value) { 
    29             $this->$name = $sl_value; 
     28        foreach ($params as $name => $value) { 
     29            $this->$name = $value; 
    3030        } 
    3131    } 
  • store-locator-le/tags/3.1.5/WPCSL-generic/classes/CSL-settings_class.php

    r575152 r587040  
    3636        // Passed Params 
    3737        //         
    38         foreach ($params as $name => $sl_value) { 
    39             $this->$name = $sl_value; 
     38        foreach ($params as $name => $value) { 
     39            $this->$name = $value; 
    4040        } 
    4141 
     
    291291    function add_item($section, $display_name, $name, $type = 'text', 
    292292            $required = false, $description = null, $custom = null, 
    293             $sl_value = null, $disabled = false 
     293            $value = null, $disabled = false 
    294294            ) { 
    295295 
     
    319319                'description' => $description, 
    320320                'custom' => $custom, 
    321                 'value' => $sl_value, 
     321                'value' => $value, 
    322322                'disabled' => $disabled 
    323323            ) 
     
    744744    function __construct($params) { 
    745745        $this->headerbar = true;         
    746         foreach ($params as $name => $sl_value) { 
    747             $this->$name = $sl_value; 
     746        foreach ($params as $name => $value) { 
     747            $this->$name = $value; 
    748748        } 
    749749         
     
    832832     **/ 
    833833    function __construct($params) { 
    834         foreach ($params as $name => $sl_value) { 
    835             $this->$name = $sl_value; 
     834        foreach ($params as $name => $value) { 
     835            $this->$name = $value; 
    836836        } 
    837837    } 
     
    923923        $output_list = array("<select class='csl_select' name=\"{$this->name}\">\n"); 
    924924 
    925         foreach ($this->custom as $key => $sl_value) { 
    926             if (get_option($this->name) === $sl_value) { 
    927                 $output_list[] = "<option class='csl_option' value=\"$sl_value\" " . 
     925        foreach ($this->custom as $key => $value) { 
     926            if (get_option($this->name) === $value) { 
     927                $output_list[] = "<option class='csl_option' value=\"$value\" " . 
    928928                    "selected=\"selected\">$key</option>\n"; 
    929929            } 
    930930            else { 
    931                 $output_list[] = "<option class='csl_option'  value=\"$sl_value\">$key</option>\n"; 
     931                $output_list[] = "<option class='csl_option'  value=\"$value\">$key</option>\n"; 
    932932            } 
    933933        } 
  • store-locator-le/tags/3.1.5/WPCSL-generic/classes/CSL-themes_class.php

    r575152 r587040  
    2525        $this->css_dir = 'css/'; 
    2626         
    27         foreach ($params as $name => $sl_value) {             
    28             $this->$name = $sl_value; 
     27        foreach ($params as $name => $value) {             
     28            $this->$name = $value; 
    2929        } 
    3030 
     
    6969        // No themes? Force the default at least 
    7070        // 
    71         $sl_themeArray = get_option($this->prefix.'-theme_array'); 
    72         if (count($sl_themeArray, COUNT_RECURSIVE) < 2) { 
    73             $sl_themeArray = array('Default' => 'default'); 
     71        $themeArray = get_option($this->prefix.'-theme_array'); 
     72        if (count($themeArray, COUNT_RECURSIVE) < 2) { 
     73            $themeArray = array('Default' => 'default'); 
    7474        }  
    7575     
     
    9090                    if ($thisFileModTime > $lastNewThemeDate) { 
    9191                        $newEntry = $this->GetThemeInfo($this->css_dir.$file); 
    92                         $sl_themeArray = array_merge($sl_themeArray, array($newEntry['label'] => $newEntry['file']));                                         
     92                        $themeArray = array_merge($themeArray, array($newEntry['label'] => $newEntry['file']));                                         
    9393                        update_option($this->prefix.'-theme_lastupdated', $thisFileModTime); 
    9494                    } 
     
    102102        $resetDefault = false; 
    103103         
    104         if ((count($sl_themeArray, COUNT_RECURSIVE) > 1) && isset($sl_themeArray['Default'])){         
    105             unset($sl_themeArray['Default']); 
     104        if ((count($themeArray, COUNT_RECURSIVE) > 1) && isset($themeArray['Default'])){         
     105            unset($themeArray['Default']); 
    106106            $resetDefault = true; 
    107107        } 
     
    111111        // 
    112112        if ((count($newEntry, COUNT_RECURSIVE) > 1) || $resetDefault) { 
    113             update_option($this->prefix.'-theme_array',$sl_themeArray); 
     113            update_option($this->prefix.'-theme_array',$themeArray); 
    114114        }   
    115115                             
     
    124124                '" target="Cyber Sprocket">documentation</a> for more info.', 
    125125                WPCSL__slplus__VERSION), 
    126             $sl_themeArray 
     126            $themeArray 
    127127        );         
    128128    }     
     
    157157     ** 
    158158     **/ 
    159      function configure_theme($sl_themeFile) { 
    160         $newEntry = $this->GetThemeInfo($this->css_dir.$sl_themeFile); 
     159     function configure_theme($themeFile) { 
     160        $newEntry = $this->GetThemeInfo($this->css_dir.$themeFile); 
    161161        $this->products->columns = $newEntry['columns']; 
    162162     } 
     
    174174     ** 
    175175     **/ 
    176     function assign_user_stylesheet($sl_themeFile = '') { 
     176    function assign_user_stylesheet($themeFile = '') { 
    177177         
    178178        // If themefile not passed, fetch from db 
    179179        // 
    180         if ($sl_themeFile == '') { 
    181             $sl_themeFile = get_option($this->prefix.'-theme','default') . '.css'; 
     180        if ($themeFile == '') { 
     181            $themeFile = get_option($this->prefix.'-theme','default') . '.css'; 
    182182             
    183183        } else { 
    184184            // append .css if left off 
    185             if ((strlen($sl_themeFile) < 4) || substr_compare($sl_themeFile, '.css', -strlen('.css'), strlen('.css')) != 0) {          
    186                 $sl_themeFile .= '.css'; 
     185            if ((strlen($themeFile) < 4) || substr_compare($themeFile, '.css', -strlen('.css'), strlen('.css')) != 0) {          
     186                $themeFile .= '.css'; 
    187187            } 
    188188        } 
     
    191191        // go to default if theme file is missing 
    192192        // 
    193         if ( !file_exists($this->css_dir.$sl_themeFile)) { 
    194             $sl_themeFile = 'default.css'; 
     193        if ( !file_exists($this->css_dir.$themeFile)) { 
     194            $themeFile = 'default.css'; 
    195195        } 
    196196 
     
    198198        // queue it up 
    199199        //         
    200         if ( file_exists($this->css_dir.$sl_themeFile)) { 
     200        if ( file_exists($this->css_dir.$themeFile)) { 
    201201            wp_deregister_style($this->prefix.'_user_header_css');              
    202202            wp_dequeue_style($this->prefix.'_user_header_css');                 
    203203            if ($this->parent->shortcode_was_rendered) {             
    204                 wp_enqueue_style($this->prefix.'_user_header_css', $this->css_url .$sl_themeFile); 
     204                wp_enqueue_style($this->prefix.'_user_header_css', $this->css_url .$themeFile); 
    205205            }             
    206             $this->configure_theme($sl_themeFile); 
     206            $this->configure_theme($themeFile); 
    207207        } 
    208208    }      
  • store-locator-le/tags/3.1.5/core/add-locations.php

    r575152 r587040  
    9393                            $fldNames = array('sl_store','sl_address','sl_address2','sl_city','sl_state', 
    9494                                            'sl_zip','sl_country','sl_tags','sl_description','sl_url', 
    95                                             'sl_hours','sl_phone','sl_email','sl_image'); 
     95                                            'sl_hours','sl_phone','sl_email','sl_image','sl_fax'); 
    9696                            $maxcols = count($fldNames); 
    9797                            while (($data = fgetcsv($handle)) !== FALSE) { 
  • store-locator-le/tags/3.1.5/core/csl-ajax-search.php

    r576096 r587040  
    9797            'hours' => esc_attr($row['sl_hours']), 
    9898            'phone' => esc_attr($row['sl_phone']), 
     99            'fax'   => esc_attr($row['sl_fax']), 
    99100            'image' => esc_attr($row['sl_image']), 
    100101            'distance' => $row['sl_distance'], 
     
    235236                'hours' => esc_attr($row['sl_hours']), 
    236237                'phone' => esc_attr($row['sl_phone']), 
     238                'fax' => esc_attr($row['sl_fax']), 
    237239                'image' => esc_attr($row['sl_image']), 
    238240                'distance' => $row['sl_distance'], 
  • store-locator-le/tags/3.1.5/core/data-xml.php

    r544991 r587040  
    8383  echo 'hours="' . esc_attr($row['sl_hours']) . '" '; 
    8484  echo 'phone="' . esc_attr($row['sl_phone']) . '" '; 
     85  echo 'fax="' . esc_attr($row['sl_fax']) . '" '; 
    8586  echo 'image="' . esc_attr($row['sl_image']) . '" '; 
    8687  if ($slplus_show_tags) {   
  • store-locator-le/tags/3.1.5/core/functions.sl.php

    r575152 r587040  
    320320    // 
    321321    global $sl_db_version, $sl_installed_ver; 
    322     $sl_db_version='2.7';     //***** CHANGE THIS ON EVERY STRUCT CHANGE 
     322    $sl_db_version='3.1';     //***** CHANGE THIS ON EVERY STRUCT CHANGE 
    323323    $sl_installed_ver = get_option( SLPLUS_PREFIX."-db_version" ); 
    324324 
     
    381381            sl_hours varchar(255) NULL, 
    382382            sl_phone varchar(255) NULL, 
     383            sl_fax varchar(255) NULL, 
    383384            sl_image varchar(255) NULL, 
    384385            sl_private varchar(1) NULL, 
  • store-locator-le/tags/3.1.5/core/generate-xml.php

    r544991 r587040  
    119119  echo 'hours="' . esc_attr($row['sl_hours']) . '" '; 
    120120  echo 'phone="' . esc_attr($row['sl_phone']) . '" '; 
     121  echo 'fax="'   . esc_attr($row['sl_fax']) . '" '; 
    121122  echo 'image="' . esc_attr($row['sl_image']) . '" '; 
    122123  if ($slplus_show_tags) {   
  • store-locator-le/tags/3.1.5/core/js/csl.js

    r577682 r587040  
    323323         * function: escapeExtended() 
    324324         * 
    325          * Escape any extended characters, such as ü in für. 
     325         * Escape any extended characters, such as � in f�r. 
    326326         * Standard US ASCII characters (< char #128) are unchanged 
    327327         * 
     
    906906                html+="<br/><span class='location_detail_label'>Phone:</span> "+aMarker.phone; 
    907907            } 
     908            if (aMarker.fax != '') { 
     909                html+="<br/><span class='location_detail_label'>Fax:</span> "+aMarker.fax; 
     910            } 
    908911 
    909912            var address = this.__createAddress(aMarker); 
     
    11181121                city_state_zip += '<br/>'; 
    11191122            } 
     1123            if (jQuery.trim(aMarker.phone) != '') { 
     1124                thePhone = '<br/>phone: ' + aMarker.phone; 
     1125            } else { 
     1126                thePhone = '' 
     1127            } 
     1128            if (jQuery.trim(aMarker.fax) != '') { 
     1129                theFax = '<br/>fax: ' + aMarker.fax; 
     1130            } else { 
     1131                theFax = '' 
     1132            } 
    11201133 
    11211134            var address = this.__createAddress(aMarker); 
     
    11301143                        street2 +  
    11311144                        city_state_zip + 
    1132                         aMarker.phone + 
     1145                        thePhone + 
     1146                        theFax + 
    11331147                    '</td>' + 
    11341148                    '<td class="results_row_right_column">' +  
  • store-locator-le/tags/3.1.5/core/js/store-locator-map.js

    r544991 r587040  
    129129                var hours = markers[i].getAttribute('hours'); 
    130130                var phone = markers[i].getAttribute('phone'); 
     131                var fax = markers[i].getAttribute('fax'); 
    131132                var image = markers[i].getAttribute('image'); 
    132133                var maplat = markers[i].getAttribute('lat'); 
     
    137138                    ); 
    138139                var tags = markers[i].getAttribute('tags'); 
    139                 var marker = createMarker(point, name, address, "", description, url, email, hours, phone, image,tags); 
     140                var marker = createMarker(point, name, address, "", description, url, email, hours, phone, fax, image,tags); 
    140141                                     
    141142                map.addOverlay(marker); 
    142143     
    143144                if (!slplus.disable_dir) { 
    144                     var sidebarEntry = createSidebarEntry(marker, name, address, distance, '', url, email, phone,tags); 
     145                    var sidebarEntry = createSidebarEntry(marker, name, address, distance, '', url, email, phone, fax, tags); 
    145146                    sidebar.appendChild(sidebarEntry); 
    146147                } 
     
    321322                var hours = markers[i].getAttribute('hours'); 
    322323                var phone = markers[i].getAttribute('phone'); 
     324                var fax = markers[i].getAttribute('fax'); 
    323325                var image = markers[i].getAttribute('image');                 
    324326                var point = new GLatLng( 
     
    328330                var tags = markers[i].getAttribute('tags');                 
    329331 
    330                 var marker = createMarker(point, name, address, homeAddress, description, url, email, hours, phone, image,tags);  
    331                 var sidebarEntry = createSidebarEntry(marker, name, address, distance, homeAddress, url, email, phone,tags); 
     332                var marker = createMarker(point, name, address, homeAddress, description, url, email, hours, phone, fax, image,tags);  
     333                var sidebarEntry = createSidebarEntry(marker, name, address, distance, homeAddress, url, email, phone, fax, tags); 
    332334                 
    333335                map.addOverlay(marker); 
     
    347349/************************************** 
    348350 */ 
    349 function createMarker(point, name, address, homeAddress, description, url, email, hours, phone, image,tags) {  
     351function createMarker(point, name, address, homeAddress, description, url, email, hours, phone, fax, image,tags) {  
    350352  markerOpts = { icon:theIcon }; 
    351353  var marker = new GMarker(point, markerOpts); 
     
    374376  if (hours!="") {more_html+="<br/><span class='location_detail_label'>Hours:</span> "+hours;} else {hours=""} 
    375377  if (phone!="") {more_html+="<br/><span class='location_detail_label'>Phone:</span> "+phone;} else {phone=""} 
     378  if (fax!="") {more_html+="<br/><span class='location_detail_label'>Fax:</span> "+phone;} else {fax=""} 
    376379   
    377380    var street    = address.split(',')[0];  
     
    419422/************************************** 
    420423 */ 
    421 function createSidebarEntry(marker, name, address, distance, homeAddress, url, email, phone,tags) {  
     424function createSidebarEntry(marker, name, address, distance, homeAddress, url, email, phone, fax, tags) {  
    422425    document.getElementById('map_sidebar_td').style.display='block'; 
    423426      var div = document.createElement('div'); 
     
    471474                        city + state_zip + 
    472475                        phone + 
     476                        fax + 
    473477                    '</td>' + 
    474478                    '<td class="results_row_right_column">' +  
  • store-locator-le/tags/3.1.5/core/templates/add_location_address.php

    r544991 r587040  
    5151            <label for='sl_phone'><?php _e("Phone", $text_domain);?></label> 
    5252            <input name='sl_phone'><br/> 
     53 
     54            <label for='sl_fax'><?php _e("Fax", $text_domain);?></label> 
     55            <input name='sl_fax'><br/> 
    5356             
    5457            <label for='sl_image'><?php _e("Image URL (shown with location)", $text_domain);?></label> 
  • store-locator-le/tags/3.1.5/core/view-locations.php

    r575152 r587040  
    338338        slpCreateColumnHeader($slpCleanURL,'sl_hours'       ,__('Hours'        ,SLPLUS_PREFIX),$opt,$dir) . 
    339339        slpCreateColumnHeader($slpCleanURL,'sl_phone'       ,__('Phone'        ,SLPLUS_PREFIX),$opt,$dir) . 
     340        slpCreateColumnHeader($slpCleanURL,'sl_fax'         ,__('Fax'          ,SLPLUS_PREFIX),$opt,$dir) . 
    340341        slpCreateColumnHeader($slpCleanURL,'sl_image'       ,__('Image'        ,SLPLUS_PREFIX),$opt,$dir) 
    341342        ;     
     
    385386                        <b>".__("Additional Information", SLPLUS_PREFIX)."</b><br> 
    386387                        <textarea name='description-$locID' rows='5' cols='17'>$sl_value[sl_description]</textarea>&nbsp;<small>".__("Description", SLPLUS_PREFIX)."</small><br> 
    387                         <input name='tags-$locID' value='$sl_value[sl_tags]'>&nbsp;<small>".__("Tags (seperate with commas)", SLPLUS_PREFIX)."</small><br>       
    388                         <input name='url-$locID' value='$sl_value[sl_url]'>&nbsp;<small>".__("URL", SLPLUS_PREFIX)."</small><br> 
     388                        <input name='tags-$locID' value='$sl_value[sl_tags]'>&nbsp;<small>"  .__("Tags (seperate with commas)", SLPLUS_PREFIX)."</small><br>         
     389                        <input name='url-$locID'  value='$sl_value[sl_url]'>&nbsp;<small>"   .__("URL", SLPLUS_PREFIX)."</small><br> 
    389390                        <input name='email-$locID' value='$sl_value[sl_email]'>&nbsp;<small>".__("Email", SLPLUS_PREFIX)."</small><br> 
    390391                        <input name='hours-$locID' value='$sl_value[sl_hours]'>&nbsp;<small>".__("Hours", SLPLUS_PREFIX)."</small><br> 
    391392                        <input name='phone-$locID' value='$sl_value[sl_phone]'>&nbsp;<small>".__("Phone", SLPLUS_PREFIX)."</small><br> 
     393                        <input name='fax-$locID'   value='$sl_value[sl_fax]'>&nbsp;<small>"  .__("Fax", SLPLUS_PREFIX)."</small><br> 
    392394                        <input name='image-$locID' value='$sl_value[sl_image]'>&nbsp;<small>".__("Image URL (shown with location)", SLPLUS_PREFIX)."</small><br><br> 
    393395                    </td> 
     
    458460                            <td>$sl_value[sl_hours]</td> 
    459461                            <td>$sl_value[sl_phone]</td> 
     462                            <td>$sl_value[sl_fax]</td> 
    460463                            <td>$sl_value[sl_image]</td>"; 
    461464                }                 
  • store-locator-le/tags/3.1.5/include/config.php

    r577682 r587040  
    4040            'sku'                   => 'SLPLUS', 
    4141 
    42             'on_update' => array(SLPlus_Activate, update), 
    43             'version' => '3.1.4', 
     42            'on_update' => array('SLPlus_Activate', 'update'), 
     43            'version' => '3.1.5', 
    4444 
    4545            'url'                   => 'http://www.storelocatorplus.com/',             
  • store-locator-le/tags/3.1.5/include/mobile-listener.php

    r576096 r587040  
    244244                            'hours' => esc_attr($row['sl_hours']), 
    245245                            'phone' => esc_attr($row['sl_phone']), 
     246                            'fax' => esc_attr($row['sl_fax']), 
    246247                            'units' => get_option('sl_distance_unit'), 
    247248                            'image' => esc_attr($row['sl_image']), 
  • store-locator-le/tags/3.1.5/include/service-class.php

    r575152 r587040  
    172172                \'hours\' => ($row[\'sl_hours\']), 
    173173                \'phone\' => ($row[\'sl_phone\']), 
     174                \'fax\' => ($row[\'sl_fax\']), 
    174175                \'image\' => ($row[\'sl_image\']), 
    175176                \'distance\' => $row[\'sl_distance\'], 
  • store-locator-le/tags/3.1.5/include/storelocatorplus-activation_class.php

    r575152 r587040  
    7373                    sl_hours varchar(255) NULL, 
    7474                    sl_phone varchar(255) NULL, 
     75                    sl_fax varchar(255) NULL, 
    7576                    sl_image varchar(255) NULL, 
    7677                    sl_private varchar(1) NULL, 
     
    9192            // 
    9293            if ($this->dbupdater($sql,$table_name) === 'updated') { 
     94                global $sl_installed_ver; 
    9395                 
    9496                // We are upgrading from something less than 2.0 
  • store-locator-le/tags/3.1.5/include/storelocatorplus-adminui_class.php

    r576096 r587040  
    125125             $slpContactInfo = ''; 
    126126             if ($store['sl_phone'] !='') { $slpContactInfo .= __('Phone: ',SLPLUS_PREFIX).$store['sl_phone'] . "\n"; } 
     127             if ($store['sl_fax'] !='') { $slpContactInfo .= __('Fax: ',SLPLUS_PREFIX).$store['sl_fax'] . "\n"; } 
    127128             if ($store['sl_email'] !='') { $slpContactInfo .= '<a href="mailto:'.$store['sl_email'].'">'.$store['sl_email']."</a>\n"; } 
    128129             if ($store['sl_url']   !='') { $slpContactInfo .= '<a href="'.$store['sl_url'].'">'.$store['sl_url']."</a>\n"; } 
  • store-locator-le/tags/3.1.5/readme.txt

    r577682 r587040  
    11=== Google Maps via Store Locator Plus === 
    22Plugin Name: Google Maps via Store Locator Plus 
    3 Contributors: cybersprocket 
    4 Donate link: http://www.storelocatorplus.com/ 
     3Contributors: cybersprocket, charlestonsw 
     4Donate link: http://www.cybersprocket.com/products/store-locator-plus/ 
    55Tags: google maps, store finder, store locator, store locater, google, dealer locator, dealer locater, zip code search, shop locator, shop finder, zipcode, location finder, places, stores, maps, mapping, mapper, plugin, posts, post, page, coordinates, latitude, longitude, geo, geocoding, shops, ecommerce, e-commerce, business locations, store locator plus, store locater plus, bing map, bing, yahoo maps, yahoo, mapping, retail 
    66Requires at least: 3.3 
    77Tested up to: 3.4.1 
    8 Stable tag: 3.1.4 
     8Stable tag: 3.1.5 
    99 
    1010Store Locator Plus works with Google Maps v3 to put a store location search on your site. 
     
    218218== Changelog == 
    219219 
     220We update about once per month or more frequently as needed. 
     221 
     222See our [Version Roadmap](http://redmine.cybersprocket.com/projects/mc-closeststore/roadmap?utf8=%E2%9C%93&tracker_ids%5B%5D=2&tracker_ids%5B%5D=3&tracker_ids%5B%5D=6&completed=1) on our support site. 
     223 
     224Here are the most recent releases... 
     225 
     226= 3.1.5 (August 8th, 2012 = 
     227 
     228* Add fax field to location data.  
     229 
    220230= 3.1.4 (July 26th, 2012) = 
    221231 
     
    244254* Added a comma even if there isn't a state in the address 
    245255 
    246 = 3.0.91 (June 28th, 2012) = 
    247  
    248 * Fixed where the 3 day display wasn't updating properly 
    249 * The 3 day display will now disappear after 3 days 
    250  
    251 = 3.0.9 (June 22nd, 2012) = 
    252  
    253 * Fixed a namespace issue and store locator should be much more compatible with other plugins 
    254  
    255 = 3.0.8 (June 19th 2012) = 
    256  
    257 * [Store Pages] Able to turn on and off the links to store pages 
    258 * Fixed an issue where the map wouldn't be compatible with ie7 and ie8 
    259 * Fixed an issue where on some installs jQuery wouldn't parse json 
    260 * Added a countdown to the "please rate us" 
    261 * Fixed the random "> at the end of checkboxes 
    262 * Searching with extended character set works 
    263 * Removed extraneous line breaks causing certain filters to break inline javascript 
    264  
    265 = 3.0.7 (June 12th 2012) = 
    266  
    267 * Activation issues resolved 
    268 * Mobile Listener Available 
    269  
    270 = 3.0.5 (June 11th 2012) = 
    271  
    272 * [security] Fixed an issue where the installation path could be viewed 
    273 * [security] Fixed an SQL injection vulnerability 
    274  
    275 = 3.0.4 (June 9th 2012) = 
    276  
    277 * Fixed activation 
    278  
    279 = 3.0.3 (June 6th 2012) = 
    280  
    281 * Fixed an issue that causes store pages not to activate 
    282 * Added a please rate us feature 
    283  
    284 = 3.0.2 (June 5th 2012) = 
    285  
    286 * Fixed an issue where directions link wasn't working 
    287 * Fixed an issue where just showing a tag based map using shortcode attributes wasn't working 
    288 * Fixed a css issue 
    289 * Fixed where clicking the select all checkmark wasn't working 
    290  
    291 = 3.0.1 (May 31st, 2012) = 
    292  
    293 * Included function to check for auto-updates 
    294  
    295 = 3.0 (May 29th, 2012) = 
    296  
    297 * [Pro Pack 3.0] You can now enable search by store name. 
    298 * [Pro Pack 3.0] Fixes to tag search. 
    299 * [Store Pages] Links now display on localhost. 
    300 * Updated to Google Maps V3. 
    301 * Custom icons now support custom shadows. 
    302 * Removed symlinked directories for servers that do not support them. 
    303 * Significant Javascript rewrite to support Google Maps API V3. 
    304 * API Key no longer required. 
    305 * Removed symlinks 
    306 * Fixed icons for gmaps V3 support 
    307 * Server side geocodes updated to V3 
    308 * *Dramatically* increased the time to load a map page for users experiencing an extreme lag. 
    309  
    310 = 2.7.1 (May 17th, 2012 = 
    311  
    312 * Fixed readme file 
    313  
    314 = 2.7 (May 14th, 2012) = 
    315  
    316 [Version 2.7 Release Notes](http://redmine.cybersprocket.com/projects/mc-closeststore/versions/490) 
    317  
    318 * [Store Pages] New premium add-on is available for purchase. 
    319 * [Pro Pack 2.7+] You can now override the latitude/longitude of geocoded locations. 
    320 * [Pro Pack 2.7+] You can override the default theme for the plugin via shortcode attributes. 
    321 * [Pro Pack] Speed up reporting system for heavy traffic sites. 
    322 * Add locations form tweaks. 
    323 * More code performance and structure improvements. 
    324 * Updated admin interface icons for manage listings, etc. 
    325 * Navigation bar header UI cleanup. 
    326 * The SLPlus themes only load/render on pages with the shortcode. 
    327 * Blank addresses are now allowed, the search will default to the center of the map. 
    328 * bug fix: do not re-run geocoding if address does not change during edit 
    329 * bug fix: Selecting map type was not changing the UI. 
    330 * NOTE: If you use the legacy ./custom-css you will need to upgrade to the Pro Pack and use themes. 
    331  
    332 = 2.6 (April 12th, 2012) = 
    333  
    334 * [Pro Pack] Dark Theme, add hand over submit, restyle submit button. 
    335 * [Pro Pack] Simple Boxed Theme, side-by-side listing entries. 
    336 * [Pro Pack] Simple Boxed Fastfood Theme, larger side-by-side listing entries for the WP Fastfood Theme. 
    337 * [Pro Pack] Hidden Results Theme, hide the text results under the map. 
    338 * [Pro Pack] Hidden Map Theme, hide the map. 
    339 * Stop map "double-zoom" when "show initial locations" is set. 
    340 * Half-dozen new icons added to the built-in icon set. 
    341 * Icon selector now finds all jpg,png,gif images in the ./core/images/icons folder. 
    342 * Fix initial missing shadow icons. 
    343 * Fix automatic icon image sizing. 
    344 * Page load speed has been increased for SLPlus pages. 
    345 * Added some new CSS div/table IDs to make it easier to customize the output styling. 
    346 * CSS loading has been simplified and updated to use modern WP3.X methodologies. 
    347 * PHP-based JavaScript file has been eliminated, elminating security errors on some servers. 
    348 * JavaScript and CSS now only loads on pages with SLPlus shortcodes. 
    349 * JavaScript loading has been simplified and updated to use modern WP3.X methodologies. 
    350  
    351 = 2.5 (March 9th, 2012) = 
    352  
    353 * [Pro Pack v2.4+] Limit to N results. 
    354 * [Pro Pack] Starting image can now be stored off-site simply use http as the prefix. 
    355 * Map height/width over 100% would cause erratic behavior.  Auto-set max to 100% if over 100. 
    356  
    357 = 2.4 (February 8th, 2012) = 
    358  
    359 * Force height on icon sizes. 
    360 * Fixed problem with menu/button links on admin panel for subdirectory installs. 
    361 * Fixed problem with certain international characters stopping the initial map zoom/search. 
    362 * Pro Pack v2.4 : Integrated custom themes system. (paid upgrade) 
    363 * Pro Pack v2.4 : You can now set your center location for the map. (paid upgrade) 
    364  
    365 = 2.3.1 (January 25th, 2012) = 
    366  
    367 * Fix missing CSS files. 
    368  
    369 = 2.3 (January 19th, 2012) = 
    370  
    371 * Pro Pack Feature #7165: Manage Locations : Filter To Uncoded Only 
    372 * Pro Pack Feature #7166: Recode locations that failed to geocode. 
    373 * Pro Pack Feature #7231: Add label to State Pulldown. 
    374 * Fix missing map marker. 
    375 * Feature #7230: Change default radius selection. 
    376 * Feature #7229: Fix typo in zoom level instruction. 
    377 * Manage Locations Updates 
    378 ** Feature #7233: Clean up action bar header. 
    379 ** Feature #7235: Update expand/normal view interface. 
    380 ** Feature #7236: Manage locations: Stylize the page length setting. 
    381 ** Feature #7237: Manage locations: use icon sprites v. text for edit/delete. 
    382  
    383  
    384 = 2.2.5 (December 26th, 2011) = 
    385  
    386 * Fix address lookup for address search with comma or space. 
    387 * Retain ability to search for addresses with UTF8 characters like ü in für. 
    388 * Added extended debugging messages to address search. 
    389  
    390 = 2.2.4 (December 2011) = 
    391  
    392 * Store Locator Plus and LE are now merged, allowing for direct-from-WordPress upgrades. 
    393 * General performance improvements via reduced memory usage while running searches. 
    394 * Address search now can process special characters like: ü 
    395 * Better lookup and testing for loading wp_config, the source of "unable to load JavaScript errors" 
    396 * Description field can now hold > 255 characters. 
    397 * If only 1 location is returned the map no longer auto-zooms onto that location, is uses the zoom level setting. 
    398 * Added zoom level adjustment for how tight to zoom in on results. 
    399 * Increase performance & reduce disk I/O when building map settings page. 
    400 * Language file updated (/core/languages/store-locator-plus.pot) 
    401 * Pro Pack: state pulldown now available 
    402 * Pro Pack: tags with spaces can be filtered and searched 
    403 * Pro Pack: allow tags in table and bubble 
    404 * Pro Pack: tags in table and bubble now wrapped with div and spans with unique classes to allow for icon displays 
    405 * patch 2.2.4 - update language maps for better language support 
    406  
    407 = 2.1 (October 2011) = 
    408  
    409 * Fix error when debug mode is enabled. 
    410 * Updated administrative pages header with new menu button bar. 
    411  
    412 = 2.0.3 (September 9th 2011) = 
    413  
    414 * Fix syntax error in view locations. 
    415  
    416  
    417 = 2.0.2 (September 2011) = 
    418  
    419 * Minor edits. 
    420  
    421 = 2.0.1 (August 2011) = 
    422  
    423 * Elminate errors on servers with exec() disabled on php. 
    424  
    425 = 2.0 (June 2011) = 
    426  
    427 * Feature: Added tracking and reporting system. 
    428 * Feature: Multiple retries available for better geocoding() on bulk or single-item uploads. 
    429 * Feature: Improved failed goecode reporting. 
    430 * Feature: Scroll wheel zoom can be disabled via a map settings checkbox. 
    431 * Feature: Search form address, radius, and search buttons can be hidden. 
    432 * Feature: Google maps scale, 3d controls, type of map overlays can be hidden. 
    433 * Update: If the search-by-tags box is shown it takes precedence over the only_with attribute. 
    434 * Update: Re-factored the code to share components with the light edition (LE) version. 
    435 * Update: Icon paths have changed - make sure you reset your icons via the map designer. 
    436 * Update: Added Republic of Ireland to the countries list. 
    437 * Fix: conflict with copyr() with other plugins. 
    438 * Fix: language file loading. 
    439 * Fix: Custom icons are back for Internet Explorer. 
    440  
    441 = 1.9 (May 11th 2011) = 
    442  
    443 * Add email contact via forms option. 
    444 * Better reporting of failed PHP connector loading. 
    445 * More checking & user reporting on failed map interface loading. 
    446 * Fix problem with multisite installs where plugin was only installed in parent. 
    447 * Updated language file. 
    448  
    449 = 1.8.2 (April 22 2011) = 
    450  
    451 * Fix broken paths in the config loader. 
    452  
    453 = 1.8.1 (Easter Weekend 2011) = 
    454  
    455 * Short open tag fix. 
    456 * Look for wp-config in secure location (one level up) for secured installs 
    457  
    458 = 1.8 (April 2011) = 
    459  
    460 * Can now override the search form tag list pulldown via the shortcode (tags_for_pulldown). 
    461 * Can now specify a search form only produce results for a single tag via the shortcode (only_with_tag). 
    462 * Set search form input font to black, the background is currently forced white in the CSS. 
    463 * Added new email field to store locator data. 
    464 * Fix errors on javascript processing on some systems with no subdomain support. 
    465 * [Shortcode documentation](http://redmine.cybersprocket.com/projects/mc-closeststore/wiki/How_To_Implement) 
    466  
    467  
    468 = 1.7.6 (March 26th 2011) = 
    469  
    470 * Better path processing in javascript files to find wp-config.php (fixes missing maps on some installs) 
    471 * Added author name to main plugin source. 
    472  
    473  
    474 = 1.7.5 (March 21st 2011) = 
    475  
    476 * Rename base php file to prevent "not a valid header" messages. 
    477 * Update various links to prevent double-slash and possible URL issues on WAMP systems. 
    478 * Strip extra whitespace around tags to improve search 
    479 * Updated CSV loader to detect and process Mac based line endings. 
    480 * CSV loader checks number of columns and reports error message if too many are found. 
    481 * Debugging mode turns on debugging in store-locator-js.php for JavaScript issues. 
    482  
    483 = 1.7.4 (March 14th 2011) = 
    484  
    485 * Force CSL-helper class into distribution kit. 
    486  
    487 = 1.7.3 (March 12th 2011) = 
    488  
    489 * Better checking if admin user logged in / Admin demo mode works on more sites now. 
    490 * Extended debugging output. 
    491 * Change menu to read "Add Locations" v. "SLP Locations" 
    492  
    493 = 1.7.2 (March 3rd 2011) = 
    494  
    495 * Add pulldown selection for tag searches. 
    496  
    497 = 1.7.1 (March 2nd 2011) = 
    498  
    499 * Fix search when tag searches are not enabled. 
    500  
    501 = 1.7 (March 2011) = 
    502  
    503 * Can now search locations by tags. 
    504 * Cleaned up map settings page. 
    505 * Fixed bulk upload record count. 
    506 * Added CSV mime type for some WP installs that blocked it on bulk uploads. 
    507  
    508 = 1.6.5 (February 15th 2011) = 
    509  
    510 * Allows purchased license key to be saved after the DB key holding the purchase flag has been mangled. 
    511  
    512 = 1.6.4 (February 11th 2011) = 
    513  
    514 * Set the SLPLUS CSS for images to have visibility & display to !important. 
    515 * Some themes & plugins force javascript images to be hidden, causing the map not to display. 
    516  
    517  
    518 = 1.6.3 (February 10th 2011) = 
    519  
    520 * Fix conflict errors when replacing Store Locator with SLPLUS. 
    521 * The conflict errors would cause the Google Map to not display on some installs. 
    522  
    523  
    524 = 1.6.2 (February 8th 2011) = 
    525  
    526 * Re-distribute 1.6.1 patch, full kit did not make it to the WordPress system. 
    527  
    528 = 1.6.1 (February 7th 2011) = 
    529  
    530 * Fix problem with Map API key not saving. 
    531  
    532 = 1.6 (February 5th 2011) = 
    533  
    534 * Fix problem with subdomain installs not finding store locations. 
    535  
    536 = 1.5 (February 2011) = 
    537  
    538 * Added bulk upload feature via CSV files. 
    539 * Fixed problem with map display on subdomain installs. 
    540 * Fixed a problem with map not showing up in v1.4 release. 
    541 * Fixed paging problem on view locations. 
    542 * Various performance tweaks for page loads: 
    543 * ... built-in shortcode processor v. custom regex processor 
    544 * ... removed customization backups on each page load 
    545 * ... admin panel helper info setup only on settings page call 
    546  
    547 = 1.4  (January 2011) = 
    548  
    549 * City/County pulldown only shown if checked of on admin panel. 
    550 * Updated layout of search form, using more CSS for easier layout changes 
    551 * Add locations form cleaned up 
    552 * Manage/view locations form cleaned up 
    553 * Make search work with address 2 field 
    554 * Make map and search results output show address 2 field 
    555 * Revamp manage locations header 
    556 * More warnings in the main codebase have been fixed 
    557 * Removed Store Locator Plugin addons support, addons support causing problems. 
    558  
    559 = 1.3  (December 2010) = 
    560  
    561 * Add country field to address data. 
    562 * Clean up various coding errors since WordPress 3.0 release 
    563 * Initial release based on Google Maps Store Locator for WordPress v1.2.39.3 
    564  
     256 
  • store-locator-le/tags/3.1.5/store-locator-le.php

    r577682 r587040  
    22/* 
    33Plugin Name: Google Maps via Store Locator Plus 
    4 Plugin URI: http://www.storelocatorplus.com/ 
     4Plugin URI: http://www.cybersprocket.com/products/store-locator-plus/ 
    55Description: Manage multiple locations with ease. Map stores or other points of interest with ease via Gooogle Maps.  This is a highly customizable, easily expandable, enterprise-class location management system. 
    6 Version: 3.1.4 
     6Version: 3.1.5 
    77Author: Cyber Sprocket Labs 
    88Author URI: http://www.cybersprocket.com 
  • store-locator-le/trunk/WPCSL-generic/classes/CSL-cache_class.php

    r575152 r587040  
    77 
    88    function __construct($params) { 
    9         foreach ($params as $name => $sl_value) { 
    10             $this->$name = $sl_value; 
     9        foreach ($params as $name => $value) { 
     10            $this->$name = $value; 
    1111        } 
    1212        $this->crt_name = $this->prefix . '-cache_retain_time'; 
  • store-locator-le/trunk/WPCSL-generic/classes/CSL-license_class.php

    r575152 r587040  
    2222        // Set by incoming parameters 
    2323        // 
    24         foreach ($params as $name => $sl_value) { 
    25             $this->$name = $sl_value; 
     24        foreach ($params as $name => $value) { 
     25            $this->$name = $value; 
    2626        } 
    2727         
     
    283283     **/ 
    284284    function __construct($params) { 
    285         foreach ($params as $name => $sl_value) { 
    286             $this->$name = $sl_value; 
     285        foreach ($params as $name => $value) { 
     286            $this->$name = $value; 
    287287        } 
    288288         
  • store-locator-le/trunk/WPCSL-generic/classes/CSL-notifications_class.php

    r575152 r587040  
    44 
    55    function __construct($params) { 
    6         foreach ($params as $name => $sl_value) { 
    7             $this->$name = $sl_value; 
     6        foreach ($params as $name => $value) { 
     7            $this->$name = $value; 
    88        } 
    99    } 
     
    3535 
    3636        $notice_output = ''; 
    37         foreach ($levels as $key => $sl_value) { 
     37        foreach ($levels as $key => $value) { 
    3838            if (!$simple) { 
    3939                $color = round($difference); 
     
    9191                $notice_output .= "<ul>\n"; 
    9292            } 
    93             foreach ($sl_value as $notice) { 
     93            foreach ($value as $notice) { 
    9494                if (!$simple) { $notice_output .= '<li>'; } 
    9595                $notice_output .= $notice->display(); 
     
    110110 
    111111    function __construct($params) { 
    112         foreach($params as $name => $sl_value) { 
    113             $this->$name = $sl_value; 
     112        foreach($params as $name => $value) { 
     113            $this->$name = $value; 
    114114        } 
    115115    } 
  • store-locator-le/trunk/WPCSL-generic/classes/CSL-plugin.php

    r575152 r587040  
    106106        // Do the setting override or initial settings. 
    107107        // 
    108         foreach ($params as $name => $sl_value) { 
    109             $this->$name = $sl_value; 
     108        foreach ($params as $name => $value) { 
     109            $this->$name = $value; 
    110110        } 
    111111 
     
    292292     ** So we can hopefully stay with php5.1 compatability 
    293293     **/ 
    294     function csl_array_fill_keys($target,$sl_value='') { 
     294    function csl_array_fill_keys($target,$value='') { 
    295295        if(is_array($target)) { 
    296296            foreach($target as $key => $val) { 
    297                 $filledArray[$val] = is_array($sl_value) ? $sl_value[$key] : $sl_value; 
     297                $filledArray[$val] = is_array($value) ? $value[$key] : $value; 
    298298            } 
    299299        } 
     
    980980                if (is_array($atts)) { 
    981981                    print __('DEBUG: Shortcode called with attributes:',WPCSL__slplus__VERSION) . "<br/>\n"; 
    982                     foreach ($atts as $name=>$sl_value) { 
    983                         print $name.':'.$sl_value."<br/>\n"; 
     982                    foreach ($atts as $name=>$value) { 
     983                        print $name.':'.$value."<br/>\n"; 
    984984                    } 
    985985                } else { 
     
    11461146    function apply_driver_defaults(&$defaults) { 
    11471147        $results = array(); 
    1148         foreach ($defaults as $key => $sl_value) { 
    1149             if (is_array($sl_value)) { 
    1150                 $results[$key] = $this->apply_driver_defaults($sl_value); 
     1148        foreach ($defaults as $key => $value) { 
     1149            if (is_array($value)) { 
     1150                $results[$key] = $this->apply_driver_defaults($value); 
    11511151            } 
    11521152            else { 
    1153                 if (get_option($this->prefix .'-'.$sl_value)) { 
    1154                     $results[$sl_value] = get_option($this->prefix .'-'.$sl_value); 
     1153                if (get_option($this->prefix .'-'.$value)) { 
     1154                    $results[$value] = get_option($this->prefix .'-'.$value); 
    11551155                } 
    11561156            } 
  • store-locator-le/trunk/WPCSL-generic/classes/CSL-products_class.php

    r575152 r587040  
    2626        $this->columns = 1;                 // How many columns/row in our display output. 
    2727         
    28         foreach ($params as $name => $sl_value) { 
    29             $this->$name = $sl_value; 
     28        foreach ($params as $name => $value) { 
     29            $this->$name = $value; 
    3030        } 
    3131    } 
  • store-locator-le/trunk/WPCSL-generic/classes/CSL-settings_class.php

    r575152 r587040  
    3636        // Passed Params 
    3737        //         
    38         foreach ($params as $name => $sl_value) { 
    39             $this->$name = $sl_value; 
     38        foreach ($params as $name => $value) { 
     39            $this->$name = $value; 
    4040        } 
    4141 
     
    291291    function add_item($section, $display_name, $name, $type = 'text', 
    292292            $required = false, $description = null, $custom = null, 
    293             $sl_value = null, $disabled = false 
     293            $value = null, $disabled = false 
    294294            ) { 
    295295 
     
    319319                'description' => $description, 
    320320                'custom' => $custom, 
    321                 'value' => $sl_value, 
     321                'value' => $value, 
    322322                'disabled' => $disabled 
    323323            ) 
     
    744744    function __construct($params) { 
    745745        $this->headerbar = true;         
    746         foreach ($params as $name => $sl_value) { 
    747             $this->$name = $sl_value; 
     746        foreach ($params as $name => $value) { 
     747            $this->$name = $value; 
    748748        } 
    749749         
     
    832832     **/ 
    833833    function __construct($params) { 
    834         foreach ($params as $name => $sl_value) { 
    835             $this->$name = $sl_value; 
     834        foreach ($params as $name => $value) { 
     835            $this->$name = $value; 
    836836        } 
    837837    } 
     
    923923        $output_list = array("<select class='csl_select' name=\"{$this->name}\">\n"); 
    924924 
    925         foreach ($this->custom as $key => $sl_value) { 
    926             if (get_option($this->name) === $sl_value) { 
    927                 $output_list[] = "<option class='csl_option' value=\"$sl_value\" " . 
     925        foreach ($this->custom as $key => $value) { 
     926            if (get_option($this->name) === $value) { 
     927                $output_list[] = "<option class='csl_option' value=\"$value\" " . 
    928928                    "selected=\"selected\">$key</option>\n"; 
    929929            } 
    930930            else { 
    931                 $output_list[] = "<option class='csl_option'  value=\"$sl_value\">$key</option>\n"; 
     931                $output_list[] = "<option class='csl_option'  value=\"$value\">$key</option>\n"; 
    932932            } 
    933933        } 
  • store-locator-le/trunk/WPCSL-generic/classes/CSL-themes_class.php

    r575152 r587040  
    2525        $this->css_dir = 'css/'; 
    2626         
    27         foreach ($params as $name => $sl_value) {             
    28             $this->$name = $sl_value; 
     27        foreach ($params as $name => $value) {             
     28            $this->$name = $value; 
    2929        } 
    3030 
     
    6969        // No themes? Force the default at least 
    7070        // 
    71         $sl_themeArray = get_option($this->prefix.'-theme_array'); 
    72         if (count($sl_themeArray, COUNT_RECURSIVE) < 2) { 
    73             $sl_themeArray = array('Default' => 'default'); 
     71        $themeArray = get_option($this->prefix.'-theme_array'); 
     72        if (count($themeArray, COUNT_RECURSIVE) < 2) { 
     73            $themeArray = array('Default' => 'default'); 
    7474        }  
    7575     
     
    9090                    if ($thisFileModTime > $lastNewThemeDate) { 
    9191                        $newEntry = $this->GetThemeInfo($this->css_dir.$file); 
    92                         $sl_themeArray = array_merge($sl_themeArray, array($newEntry['label'] => $newEntry['file']));                                         
     92                        $themeArray = array_merge($themeArray, array($newEntry['label'] => $newEntry['file']));                                         
    9393                        update_option($this->prefix.'-theme_lastupdated', $thisFileModTime); 
    9494                    } 
     
    102102        $resetDefault = false; 
    103103         
    104         if ((count($sl_themeArray, COUNT_RECURSIVE) > 1) && isset($sl_themeArray['Default'])){         
    105             unset($sl_themeArray['Default']); 
     104        if ((count($themeArray, COUNT_RECURSIVE) > 1) && isset($themeArray['Default'])){         
     105            unset($themeArray['Default']); 
    106106            $resetDefault = true; 
    107107        } 
     
    111111        // 
    112112        if ((count($newEntry, COUNT_RECURSIVE) > 1) || $resetDefault) { 
    113             update_option($this->prefix.'-theme_array',$sl_themeArray); 
     113            update_option($this->prefix.'-theme_array',$themeArray); 
    114114        }   
    115115                             
     
    124124                '" target="Cyber Sprocket">documentation</a> for more info.', 
    125125                WPCSL__slplus__VERSION), 
    126             $sl_themeArray 
     126            $themeArray 
    127127        );         
    128128    }     
     
    157157     ** 
    158158     **/ 
    159      function configure_theme($sl_themeFile) { 
    160         $newEntry = $this->GetThemeInfo($this->css_dir.$sl_themeFile); 
     159     function configure_theme($themeFile) { 
     160        $newEntry = $this->GetThemeInfo($this->css_dir.$themeFile); 
    161161        $this->products->columns = $newEntry['columns']; 
    162162     } 
     
    174174     ** 
    175175     **/ 
    176     function assign_user_stylesheet($sl_themeFile = '') { 
     176    function assign_user_stylesheet($themeFile = '') { 
    177177         
    178178        // If themefile not passed, fetch from db 
    179179        // 
    180         if ($sl_themeFile == '') { 
    181             $sl_themeFile = get_option($this->prefix.'-theme','default') . '.css'; 
     180        if ($themeFile == '') { 
     181            $themeFile = get_option($this->prefix.'-theme','default') . '.css'; 
    182182             
    183183        } else { 
    184184            // append .css if left off 
    185             if ((strlen($sl_themeFile) < 4) || substr_compare($sl_themeFile, '.css', -strlen('.css'), strlen('.css')) != 0) {          
    186                 $sl_themeFile .= '.css'; 
     185            if ((strlen($themeFile) < 4) || substr_compare($themeFile, '.css', -strlen('.css'), strlen('.css')) != 0) {          
     186                $themeFile .= '.css'; 
    187187            } 
    188188        } 
     
    191191        // go to default if theme file is missing 
    192192        // 
    193         if ( !file_exists($this->css_dir.$sl_themeFile)) { 
    194             $sl_themeFile = 'default.css'; 
     193        if ( !file_exists($this->css_dir.$themeFile)) { 
     194            $themeFile = 'default.css'; 
    195195        } 
    196196 
     
    198198        // queue it up 
    199199        //         
    200         if ( file_exists($this->css_dir.$sl_themeFile)) { 
     200        if ( file_exists($this->css_dir.$themeFile)) { 
    201201            wp_deregister_style($this->prefix.'_user_header_css');              
    202202            wp_dequeue_style($this->prefix.'_user_header_css');                 
    203203            if ($this->parent->shortcode_was_rendered) {             
    204                 wp_enqueue_style($this->prefix.'_user_header_css', $this->css_url .$sl_themeFile); 
     204                wp_enqueue_style($this->prefix.'_user_header_css', $this->css_url .$themeFile); 
    205205            }             
    206             $this->configure_theme($sl_themeFile); 
     206            $this->configure_theme($themeFile); 
    207207        } 
    208208    }      
  • store-locator-le/trunk/core/add-locations.php

    r575152 r587040  
    9393                            $fldNames = array('sl_store','sl_address','sl_address2','sl_city','sl_state', 
    9494                                            'sl_zip','sl_country','sl_tags','sl_description','sl_url', 
    95                                             'sl_hours','sl_phone','sl_email','sl_image'); 
     95                                            'sl_hours','sl_phone','sl_email','sl_image','sl_fax'); 
    9696                            $maxcols = count($fldNames); 
    9797                            while (($data = fgetcsv($handle)) !== FALSE) { 
  • store-locator-le/trunk/core/csl-ajax-search.php

    r576096 r587040  
    9797            'hours' => esc_attr($row['sl_hours']), 
    9898            'phone' => esc_attr($row['sl_phone']), 
     99            'fax'   => esc_attr($row['sl_fax']), 
    99100            'image' => esc_attr($row['sl_image']), 
    100101            'distance' => $row['sl_distance'], 
     
    235236                'hours' => esc_attr($row['sl_hours']), 
    236237                'phone' => esc_attr($row['sl_phone']), 
     238                'fax' => esc_attr($row['sl_fax']), 
    237239                'image' => esc_attr($row['sl_image']), 
    238240                'distance' => $row['sl_distance'], 
  • store-locator-le/trunk/core/data-xml.php

    r544991 r587040  
    8383  echo 'hours="' . esc_attr($row['sl_hours']) . '" '; 
    8484  echo 'phone="' . esc_attr($row['sl_phone']) . '" '; 
     85  echo 'fax="' . esc_attr($row['sl_fax']) . '" '; 
    8586  echo 'image="' . esc_attr($row['sl_image']) . '" '; 
    8687  if ($slplus_show_tags) {   
  • store-locator-le/trunk/core/functions.sl.php

    r575152 r587040  
    320320    // 
    321321    global $sl_db_version, $sl_installed_ver; 
    322     $sl_db_version='2.7';     //***** CHANGE THIS ON EVERY STRUCT CHANGE 
     322    $sl_db_version='3.1';     //***** CHANGE THIS ON EVERY STRUCT CHANGE 
    323323    $sl_installed_ver = get_option( SLPLUS_PREFIX."-db_version" ); 
    324324 
     
    381381            sl_hours varchar(255) NULL, 
    382382            sl_phone varchar(255) NULL, 
     383            sl_fax varchar(255) NULL, 
    383384            sl_image varchar(255) NULL, 
    384385            sl_private varchar(1) NULL, 
  • store-locator-le/trunk/core/generate-xml.php

    r544991 r587040  
    119119  echo 'hours="' . esc_attr($row['sl_hours']) . '" '; 
    120120  echo 'phone="' . esc_attr($row['sl_phone']) . '" '; 
     121  echo 'fax="'   . esc_attr($row['sl_fax']) . '" '; 
    121122  echo 'image="' . esc_attr($row['sl_image']) . '" '; 
    122123  if ($slplus_show_tags) {   
  • store-locator-le/trunk/core/js/csl.js

    r577682 r587040  
    323323         * function: escapeExtended() 
    324324         * 
    325          * Escape any extended characters, such as ü in für. 
     325         * Escape any extended characters, such as � in f�r. 
    326326         * Standard US ASCII characters (< char #128) are unchanged 
    327327         * 
     
    906906                html+="<br/><span class='location_detail_label'>Phone:</span> "+aMarker.phone; 
    907907            } 
     908            if (aMarker.fax != '') { 
     909                html+="<br/><span class='location_detail_label'>Fax:</span> "+aMarker.fax; 
     910            } 
    908911 
    909912            var address = this.__createAddress(aMarker); 
     
    11181121                city_state_zip += '<br/>'; 
    11191122            } 
     1123            if (jQuery.trim(aMarker.phone) != '') { 
     1124                thePhone = '<br/>phone: ' + aMarker.phone; 
     1125            } else { 
     1126                thePhone = '' 
     1127            } 
     1128            if (jQuery.trim(aMarker.fax) != '') { 
     1129                theFax = '<br/>fax: ' + aMarker.fax; 
     1130            } else { 
     1131                theFax = '' 
     1132            } 
    11201133 
    11211134            var address = this.__createAddress(aMarker); 
     
    11301143                        street2 +  
    11311144                        city_state_zip + 
    1132                         aMarker.phone + 
     1145                        thePhone + 
     1146                        theFax + 
    11331147                    '</td>' + 
    11341148                    '<td class="results_row_right_column">' +  
  • store-locator-le/trunk/core/js/store-locator-map.js

    r544991 r587040  
    129129                var hours = markers[i].getAttribute('hours'); 
    130130                var phone = markers[i].getAttribute('phone'); 
     131                var fax = markers[i].getAttribute('fax'); 
    131132                var image = markers[i].getAttribute('image'); 
    132133                var maplat = markers[i].getAttribute('lat'); 
     
    137138                    ); 
    138139                var tags = markers[i].getAttribute('tags'); 
    139                 var marker = createMarker(point, name, address, "", description, url, email, hours, phone, image,tags); 
     140                var marker = createMarker(point, name, address, "", description, url, email, hours, phone, fax, image,tags); 
    140141                                     
    141142                map.addOverlay(marker); 
    142143     
    143144                if (!slplus.disable_dir) { 
    144                     var sidebarEntry = createSidebarEntry(marker, name, address, distance, '', url, email, phone,tags); 
     145                    var sidebarEntry = createSidebarEntry(marker, name, address, distance, '', url, email, phone, fax, tags); 
    145146                    sidebar.appendChild(sidebarEntry); 
    146147                } 
     
    321322                var hours = markers[i].getAttribute('hours'); 
    322323                var phone = markers[i].getAttribute('phone'); 
     324                var fax = markers[i].getAttribute('fax'); 
    323325                var image = markers[i].getAttribute('image');                 
    324326                var point = new GLatLng( 
     
    328330                var tags = markers[i].getAttribute('tags');                 
    329331 
    330                 var marker = createMarker(point, name, address, homeAddress, description, url, email, hours, phone, image,tags);  
    331                 var sidebarEntry = createSidebarEntry(marker, name, address, distance, homeAddress, url, email, phone,tags); 
     332                var marker = createMarker(point, name, address, homeAddress, description, url, email, hours, phone, fax, image,tags);  
     333                var sidebarEntry = createSidebarEntry(marker, name, address, distance, homeAddress, url, email, phone, fax, tags); 
    332334                 
    333335                map.addOverlay(marker); 
     
    347349/************************************** 
    348350 */ 
    349 function createMarker(point, name, address, homeAddress, description, url, email, hours, phone, image,tags) {  
     351function createMarker(point, name, address, homeAddress, description, url, email, hours, phone, fax, image,tags) {  
    350352  markerOpts = { icon:theIcon }; 
    351353  var marker = new GMarker(point, markerOpts); 
     
    374376  if (hours!="") {more_html+="<br/><span class='location_detail_label'>Hours:</span> "+hours;} else {hours=""} 
    375377  if (phone!="") {more_html+="<br/><span class='location_detail_label'>Phone:</span> "+phone;} else {phone=""} 
     378  if (fax!="") {more_html+="<br/><span class='location_detail_label'>Fax:</span> "+phone;} else {fax=""} 
    376379   
    377380    var street    = address.split(',')[0];  
     
    419422/************************************** 
    420423 */ 
    421 function createSidebarEntry(marker, name, address, distance, homeAddress, url, email, phone,tags) {  
     424function createSidebarEntry(marker, name, address, distance, homeAddress, url, email, phone, fax, tags) {  
    422425    document.getElementById('map_sidebar_td').style.display='block'; 
    423426      var div = document.createElement('div'); 
     
    471474                        city + state_zip + 
    472475                        phone + 
     476                        fax + 
    473477                    '</td>' + 
    474478                    '<td class="results_row_right_column">' +  
  • store-locator-le/trunk/core/templates/add_location_address.php

    r544991 r587040  
    5151            <label for='sl_phone'><?php _e("Phone", $text_domain);?></label> 
    5252            <input name='sl_phone'><br/> 
     53 
     54            <label for='sl_fax'><?php _e("Fax", $text_domain);?></label> 
     55            <input name='sl_fax'><br/> 
    5356             
    5457            <label for='sl_image'><?php _e("Image URL (shown with location)", $text_domain);?></label> 
  • store-locator-le/trunk/core/view-locations.php

    r575152 r587040  
    338338        slpCreateColumnHeader($slpCleanURL,'sl_hours'       ,__('Hours'        ,SLPLUS_PREFIX),$opt,$dir) . 
    339339        slpCreateColumnHeader($slpCleanURL,'sl_phone'       ,__('Phone'        ,SLPLUS_PREFIX),$opt,$dir) . 
     340        slpCreateColumnHeader($slpCleanURL,'sl_fax'         ,__('Fax'          ,SLPLUS_PREFIX),$opt,$dir) . 
    340341        slpCreateColumnHeader($slpCleanURL,'sl_image'       ,__('Image'        ,SLPLUS_PREFIX),$opt,$dir) 
    341342        ;     
     
    385386                        <b>".__("Additional Information", SLPLUS_PREFIX)."</b><br> 
    386387                        <textarea name='description-$locID' rows='5' cols='17'>$sl_value[sl_description]</textarea>&nbsp;<small>".__("Description", SLPLUS_PREFIX)."</small><br> 
    387                         <input name='tags-$locID' value='$sl_value[sl_tags]'>&nbsp;<small>".__("Tags (seperate with commas)", SLPLUS_PREFIX)."</small><br>       
    388                         <input name='url-$locID' value='$sl_value[sl_url]'>&nbsp;<small>".__("URL", SLPLUS_PREFIX)."</small><br> 
     388                        <input name='tags-$locID' value='$sl_value[sl_tags]'>&nbsp;<small>"  .__("Tags (seperate with commas)", SLPLUS_PREFIX)."</small><br>         
     389                        <input name='url-$locID'  value='$sl_value[sl_url]'>&nbsp;<small>"   .__("URL", SLPLUS_PREFIX)."</small><br> 
    389390                        <input name='email-$locID' value='$sl_value[sl_email]'>&nbsp;<small>".__("Email", SLPLUS_PREFIX)."</small><br> 
    390391                        <input name='hours-$locID' value='$sl_value[sl_hours]'>&nbsp;<small>".__("Hours", SLPLUS_PREFIX)."</small><br> 
    391392                        <input name='phone-$locID' value='$sl_value[sl_phone]'>&nbsp;<small>".__("Phone", SLPLUS_PREFIX)."</small><br> 
     393                        <input name='fax-$locID'   value='$sl_value[sl_fax]'>&nbsp;<small>"  .__("Fax", SLPLUS_PREFIX)."</small><br> 
    392394                        <input name='image-$locID' value='$sl_value[sl_image]'>&nbsp;<small>".__("Image URL (shown with location)", SLPLUS_PREFIX)."</small><br><br> 
    393395                    </td> 
     
    458460                            <td>$sl_value[sl_hours]</td> 
    459461                            <td>$sl_value[sl_phone]</td> 
     462                            <td>$sl_value[sl_fax]</td> 
    460463                            <td>$sl_value[sl_image]</td>"; 
    461464                }                 
  • store-locator-le/trunk/include/config.php

    r577682 r587040  
    4040            'sku'                   => 'SLPLUS', 
    4141 
    42             'on_update' => array(SLPlus_Activate, update), 
    43             'version' => '3.1.4', 
     42            'on_update' => array('SLPlus_Activate', 'update'), 
     43            'version' => '3.1.5', 
    4444 
    4545            'url'                   => 'http://www.storelocatorplus.com/',             
  • store-locator-le/trunk/include/mobile-listener.php

    r576096 r587040  
    244244                            'hours' => esc_attr($row['sl_hours']), 
    245245                            'phone' => esc_attr($row['sl_phone']), 
     246                            'fax' => esc_attr($row['sl_fax']), 
    246247                            'units' => get_option('sl_distance_unit'), 
    247248                            'image' => esc_attr($row['sl_image']), 
  • store-locator-le/trunk/include/service-class.php

    r575152 r587040  
    172172                \'hours\' => ($row[\'sl_hours\']), 
    173173                \'phone\' => ($row[\'sl_phone\']), 
     174                \'fax\' => ($row[\'sl_fax\']), 
    174175                \'image\' => ($row[\'sl_image\']), 
    175176                \'distance\' => $row[\'sl_distance\'], 
  • store-locator-le/trunk/include/storelocatorplus-activation_class.php

    r575152 r587040  
    7373                    sl_hours varchar(255) NULL, 
    7474                    sl_phone varchar(255) NULL, 
     75                    sl_fax varchar(255) NULL, 
    7576                    sl_image varchar(255) NULL, 
    7677                    sl_private varchar(1) NULL, 
     
    9192            // 
    9293            if ($this->dbupdater($sql,$table_name) === 'updated') { 
     94                global $sl_installed_ver; 
    9395                 
    9496                // We are upgrading from something less than 2.0 
  • store-locator-le/trunk/include/storelocatorplus-adminui_class.php

    r576096 r587040  
    125125             $slpContactInfo = ''; 
    126126             if ($store['sl_phone'] !='') { $slpContactInfo .= __('Phone: ',SLPLUS_PREFIX).$store['sl_phone'] . "\n"; } 
     127             if ($store['sl_fax'] !='') { $slpContactInfo .= __('Fax: ',SLPLUS_PREFIX).$store['sl_fax'] . "\n"; } 
    127128             if ($store['sl_email'] !='') { $slpContactInfo .= '<a href="mailto:'.$store['sl_email'].'">'.$store['sl_email']."</a>\n"; } 
    128129             if ($store['sl_url']   !='') { $slpContactInfo .= '<a href="'.$store['sl_url'].'">'.$store['sl_url']."</a>\n"; } 
  • store-locator-le/trunk/readme.txt

    r577682 r587040  
    11=== Google Maps via Store Locator Plus === 
    22Plugin Name: Google Maps via Store Locator Plus 
    3 Contributors: cybersprocket 
    4 Donate link: http://www.storelocatorplus.com/ 
     3Contributors: cybersprocket, charlestonsw 
     4Donate link: http://www.cybersprocket.com/products/store-locator-plus/ 
    55Tags: google maps, store finder, store locator, store locater, google, dealer locator, dealer locater, zip code search, shop locator, shop finder, zipcode, location finder, places, stores, maps, mapping, mapper, plugin, posts, post, page, coordinates, latitude, longitude, geo, geocoding, shops, ecommerce, e-commerce, business locations, store locator plus, store locater plus, bing map, bing, yahoo maps, yahoo, mapping, retail 
    66Requires at least: 3.3 
    77Tested up to: 3.4.1 
    8 Stable tag: 3.1.4 
     8Stable tag: 3.1.5 
    99 
    1010Store Locator Plus works with Google Maps v3 to put a store location search on your site. 
     
    218218== Changelog == 
    219219 
     220We update about once per month or more frequently as needed. 
     221 
     222See our [Version Roadmap](http://redmine.cybersprocket.com/projects/mc-closeststore/roadmap?utf8=%E2%9C%93&tracker_ids%5B%5D=2&tracker_ids%5B%5D=3&tracker_ids%5B%5D=6&completed=1) on our support site. 
     223 
     224Here are the most recent releases... 
     225 
     226= 3.1.5 (August 8th, 2012 = 
     227 
     228* Add fax field to location data.  
     229 
    220230= 3.1.4 (July 26th, 2012) = 
    221231 
     
    244254* Added a comma even if there isn't a state in the address 
    245255 
    246 = 3.0.91 (June 28th, 2012) = 
    247  
    248 * Fixed where the 3 day display wasn't updating properly 
    249 * The 3 day display will now disappear after 3 days 
    250  
    251 = 3.0.9 (June 22nd, 2012) = 
    252  
    253 * Fixed a namespace issue and store locator should be much more compatible with other plugins 
    254  
    255 = 3.0.8 (June 19th 2012) = 
    256  
    257 * [Store Pages] Able to turn on and off the links to store pages 
    258 * Fixed an issue where the map wouldn't be compatible with ie7 and ie8 
    259 * Fixed an issue where on some installs jQuery wouldn't parse json 
    260 * Added a countdown to the "please rate us" 
    261 * Fixed the random "> at the end of checkboxes 
    262 * Searching with extended character set works 
    263 * Removed extraneous line breaks causing certain filters to break inline javascript 
    264  
    265 = 3.0.7 (June 12th 2012) = 
    266  
    267 * Activation issues resolved 
    268 * Mobile Listener Available 
    269  
    270 = 3.0.5 (June 11th 2012) = 
    271  
    272 * [security] Fixed an issue where the installation path could be viewed 
    273 * [security] Fixed an SQL injection vulnerability 
    274  
    275 = 3.0.4 (June 9th 2012) = 
    276  
    277 * Fixed activation 
    278  
    279 = 3.0.3 (June 6th 2012) = 
    280  
    281 * Fixed an issue that causes store pages not to activate 
    282 * Added a please rate us feature 
    283  
    284 = 3.0.2 (June 5th 2012) = 
    285  
    286 * Fixed an issue where directions link wasn't working 
    287 * Fixed an issue where just showing a tag based map using shortcode attributes wasn't working 
    288 * Fixed a css issue 
    289 * Fixed where clicking the select all checkmark wasn't working 
    290  
    291 = 3.0.1 (May 31st, 2012) = 
    292  
    293 * Included function to check for auto-updates 
    294  
    295 = 3.0 (May 29th, 2012) = 
    296  
    297 * [Pro Pack 3.0] You can now enable search by store name. 
    298 * [Pro Pack 3.0] Fixes to tag search. 
    299 * [Store Pages] Links now display on localhost. 
    300 * Updated to Google Maps V3. 
    301 * Custom icons now support custom shadows. 
    302 * Removed symlinked directories for servers that do not support them. 
    303 * Significant Javascript rewrite to support Google Maps API V3. 
    304 * API Key no longer required. 
    305 * Removed symlinks 
    306 * Fixed icons for gmaps V3 support 
    307 * Server side geocodes updated to V3 
    308 * *Dramatically* increased the time to load a map page for users experiencing an extreme lag. 
    309  
    310 = 2.7.1 (May 17th, 2012 = 
    311  
    312 * Fixed readme file 
    313  
    314 = 2.7 (May 14th, 2012) = 
    315  
    316 [Version 2.7 Release Notes](http://redmine.cybersprocket.com/projects/mc-closeststore/versions/490) 
    317  
    318 * [Store Pages] New premium add-on is available for purchase. 
    319 * [Pro Pack 2.7+] You can now override the latitude/longitude of geocoded locations. 
    320 * [Pro Pack 2.7+] You can override the default theme for the plugin via shortcode attributes. 
    321 * [Pro Pack] Speed up reporting system for heavy traffic sites. 
    322 * Add locations form tweaks. 
    323 * More code performance and structure improvements. 
    324 * Updated admin interface icons for manage listings, etc. 
    325 * Navigation bar header UI cleanup. 
    326 * The SLPlus themes only load/render on pages with the shortcode. 
    327 * Blank addresses are now allowed, the search will default to the center of the map. 
    328 * bug fix: do not re-run geocoding if address does not change during edit 
    329 * bug fix: Selecting map type was not changing the UI. 
    330 * NOTE: If you use the legacy ./custom-css you will need to upgrade to the Pro Pack and use themes. 
    331  
    332 = 2.6 (April 12th, 2012) = 
    333  
    334 * [Pro Pack] Dark Theme, add hand over submit, restyle submit button. 
    335 * [Pro Pack] Simple Boxed Theme, side-by-side listing entries. 
    336 * [Pro Pack] Simple Boxed Fastfood Theme, larger side-by-side listing entries for the WP Fastfood Theme. 
    337 * [Pro Pack] Hidden Results Theme, hide the text results under the map. 
    338 * [Pro Pack] Hidden Map Theme, hide the map. 
    339 * Stop map "double-zoom" when "show initial locations" is set. 
    340 * Half-dozen new icons added to the built-in icon set. 
    341 * Icon selector now finds all jpg,png,gif images in the ./core/images/icons folder. 
    342 * Fix initial missing shadow icons. 
    343 * Fix automatic icon image sizing. 
    344 * Page load speed has been increased for SLPlus pages. 
    345 * Added some new CSS div/table IDs to make it easier to customize the output styling. 
    346 * CSS loading has been simplified and updated to use modern WP3.X methodologies. 
    347 * PHP-based JavaScript file has been eliminated, elminating security errors on some servers. 
    348 * JavaScript and CSS now only loads on pages with SLPlus shortcodes. 
    349 * JavaScript loading has been simplified and updated to use modern WP3.X methodologies. 
    350  
    351 = 2.5 (March 9th, 2012) = 
    352  
    353 * [Pro Pack v2.4+] Limit to N results. 
    354 * [Pro Pack] Starting image can now be stored off-site simply use http as the prefix. 
    355 * Map height/width over 100% would cause erratic behavior.  Auto-set max to 100% if over 100. 
    356  
    357 = 2.4 (February 8th, 2012) = 
    358  
    359 * Force height on icon sizes. 
    360 * Fixed problem with menu/button links on admin panel for subdirectory installs. 
    361 * Fixed problem with certain international characters stopping the initial map zoom/search. 
    362 * Pro Pack v2.4 : Integrated custom themes system. (paid upgrade) 
    363 * Pro Pack v2.4 : You can now set your center location for the map. (paid upgrade) 
    364  
    365 = 2.3.1 (January 25th, 2012) = 
    366  
    367 * Fix missing CSS files. 
    368  
    369 = 2.3 (January 19th, 2012) = 
    370  
    371 * Pro Pack Feature #7165: Manage Locations : Filter To Uncoded Only 
    372 * Pro Pack Feature #7166: Recode locations that failed to geocode. 
    373 * Pro Pack Feature #7231: Add label to State Pulldown. 
    374 * Fix missing map marker. 
    375 * Feature #7230: Change default radius selection. 
    376 * Feature #7229: Fix typo in zoom level instruction. 
    377 * Manage Locations Updates 
    378 ** Feature #7233: Clean up action bar header. 
    379 ** Feature #7235: Update expand/normal view interface. 
    380 ** Feature #7236: Manage locations: Stylize the page length setting. 
    381 ** Feature #7237: Manage locations: use icon sprites v. text for edit/delete. 
    382  
    383  
    384 = 2.2.5 (December 26th, 2011) = 
    385  
    386 * Fix address lookup for address search with comma or space. 
    387 * Retain ability to search for addresses with UTF8 characters like ü in für. 
    388 * Added extended debugging messages to address search. 
    389  
    390 = 2.2.4 (December 2011) = 
    391  
    392 * Store Locator Plus and LE are now merged, allowing for direct-from-WordPress upgrades. 
    393 * General performance improvements via reduced memory usage while running searches. 
    394 * Address search now can process special characters like: ü 
    395 * Better lookup and testing for loading wp_config, the source of "unable to load JavaScript errors" 
    396 * Description field can now hold > 255 characters. 
    397 * If only 1 location is returned the map no longer auto-zooms onto that location, is uses the zoom level setting. 
    398 * Added zoom level adjustment for how tight to zoom in on results. 
    399 * Increase performance & reduce disk I/O when building map settings page. 
    400 * Language file updated (/core/languages/store-locator-plus.pot) 
    401 * Pro Pack: state pulldown now available 
    402 * Pro Pack: tags with spaces can be filtered and searched 
    403 * Pro Pack: allow tags in table and bubble 
    404 * Pro Pack: tags in table and bubble now wrapped with div and spans with unique classes to allow for icon displays 
    405 * patch 2.2.4 - update language maps for better language support 
    406  
    407 = 2.1 (October 2011) = 
    408  
    409 * Fix error when debug mode is enabled. 
    410 * Updated administrative pages header with new menu button bar. 
    411  
    412 = 2.0.3 (September 9th 2011) = 
    413  
    414 * Fix syntax error in view locations. 
    415  
    416  
    417 = 2.0.2 (September 2011) = 
    418  
    419 * Minor edits. 
    420  
    421 = 2.0.1 (August 2011) = 
    422  
    423 * Elminate errors on servers with exec() disabled on php. 
    424  
    425 = 2.0 (June 2011) = 
    426  
    427 * Feature: Added tracking and reporting system. 
    428 * Feature: Multiple retries available for better geocoding() on bulk or single-item uploads. 
    429 * Feature: Improved failed goecode reporting. 
    430 * Feature: Scroll wheel zoom can be disabled via a map settings checkbox. 
    431 * Feature: Search form address, radius, and search buttons can be hidden. 
    432 * Feature: Google maps scale, 3d controls, type of map overlays can be hidden. 
    433 * Update: If the search-by-tags box is shown it takes precedence over the only_with attribute. 
    434 * Update: Re-factored the code to share components with the light edition (LE) version. 
    435 * Update: Icon paths have changed - make sure you reset your icons via the map designer. 
    436 * Update: Added Republic of Ireland to the countries list. 
    437 * Fix: conflict with copyr() with other plugins. 
    438 * Fix: language file loading. 
    439 * Fix: Custom icons are back for Internet Explorer. 
    440  
    441 = 1.9 (May 11th 2011) = 
    442  
    443 * Add email contact via forms option. 
    444 * Better reporting of failed PHP connector loading. 
    445 * More checking & user reporting on failed map interface loading. 
    446 * Fix problem with multisite installs where plugin was only installed in parent. 
    447 * Updated language file. 
    448  
    449 = 1.8.2 (April 22 2011) = 
    450  
    451 * Fix broken paths in the config loader. 
    452  
    453 = 1.8.1 (Easter Weekend 2011) = 
    454  
    455 * Short open tag fix. 
    456 * Look for wp-config in secure location (one level up) for secured installs 
    457  
    458 = 1.8 (April 2011) = 
    459  
    460 * Can now override the search form tag list pulldown via the shortcode (tags_for_pulldown). 
    461 * Can now specify a search form only produce results for a single tag via the shortcode (only_with_tag). 
    462 * Set search form input font to black, the background is currently forced white in the CSS. 
    463 * Added new email field to store locator data. 
    464 * Fix errors on javascript processing on some systems with no subdomain support. 
    465 * [Shortcode documentation](http://redmine.cybersprocket.com/projects/mc-closeststore/wiki/How_To_Implement) 
    466  
    467  
    468 = 1.7.6 (March 26th 2011) = 
    469  
    470 * Better path processing in javascript files to find wp-config.php (fixes missing maps on some installs) 
    471 * Added author name to main plugin source. 
    472  
    473  
    474 = 1.7.5 (March 21st 2011) = 
    475  
    476 * Rename base php file to prevent "not a valid header" messages. 
    477 * Update various links to prevent double-slash and possible URL issues on WAMP systems. 
    478 * Strip extra whitespace around tags to improve search 
    479 * Updated CSV loader to detect and process Mac based line endings. 
    480 * CSV loader checks number of columns and reports error message if too many are found. 
    481 * Debugging mode turns on debugging in store-locator-js.php for JavaScript issues. 
    482  
    483 = 1.7.4 (March 14th 2011) = 
    484  
    485 * Force CSL-helper class into distribution kit. 
    486  
    487 = 1.7.3 (March 12th 2011) = 
    488  
    489 * Better checking if admin user logged in / Admin demo mode works on more sites now. 
    490 * Extended debugging output. 
    491 * Change menu to read "Add Locations" v. "SLP Locations" 
    492  
    493 = 1.7.2 (March 3rd 2011) = 
    494  
    495 * Add pulldown selection for tag searches. 
    496  
    497 = 1.7.1 (March 2nd 2011) = 
    498  
    499 * Fix search when tag searches are not enabled. 
    500  
    501 = 1.7 (March 2011) = 
    502  
    503 * Can now search locations by tags. 
    504 * Cleaned up map settings page. 
    505 * Fixed bulk upload record count. 
    506 * Added CSV mime type for some WP installs that blocked it on bulk uploads. 
    507  
    508 = 1.6.5 (February 15th 2011) = 
    509  
    510 * Allows purchased license key to be saved after the DB key holding the purchase flag has been mangled. 
    511  
    512 = 1.6.4 (February 11th 2011) = 
    513  
    514 * Set the SLPLUS CSS for images to have visibility & display to !important. 
    515 * Some themes & plugins force javascript images to be hidden, causing the map not to display. 
    516  
    517  
    518 = 1.6.3 (February 10th 2011) = 
    519  
    520 * Fix conflict errors when replacing Store Locator with SLPLUS. 
    521 * The conflict errors would cause the Google Map to not display on some installs. 
    522  
    523  
    524 = 1.6.2 (February 8th 2011) = 
    525  
    526 * Re-distribute 1.6.1 patch, full kit did not make it to the WordPress system. 
    527  
    528 = 1.6.1 (February 7th 2011) = 
    529  
    530 * Fix problem with Map API key not saving. 
    531  
    532 = 1.6 (February 5th 2011) = 
    533  
    534 * Fix problem with subdomain installs not finding store locations. 
    535  
    536 = 1.5 (February 2011) = 
    537  
    538 * Added bulk upload feature via CSV files. 
    539 * Fixed problem with map display on subdomain installs. 
    540 * Fixed a problem with map not showing up in v1.4 release. 
    541 * Fixed paging problem on view locations. 
    542 * Various performance tweaks for page loads: 
    543 * ... built-in shortcode processor v. custom regex processor 
    544 * ... removed customization backups on each page load 
    545 * ... admin panel helper info setup only on settings page call 
    546  
    547 = 1.4  (January 2011) = 
    548  
    549 * City/County pulldown only shown if checked of on admin panel. 
    550 * Updated layout of search form, using more CSS for easier layout changes 
    551 * Add locations form cleaned up 
    552 * Manage/view locations form cleaned up 
    553 * Make search work with address 2 field 
    554 * Make map and search results output show address 2 field 
    555 * Revamp manage locations header 
    556 * More warnings in the main codebase have been fixed 
    557 * Removed Store Locator Plugin addons support, addons support causing problems. 
    558  
    559 = 1.3  (December 2010) = 
    560  
    561 * Add country field to address data. 
    562 * Clean up various coding errors since WordPress 3.0 release 
    563 * Initial release based on Google Maps Store Locator for WordPress v1.2.39.3 
    564  
     256 
  • store-locator-le/trunk/store-locator-le.php

    r577682 r587040  
    22/* 
    33Plugin Name: Google Maps via Store Locator Plus 
    4 Plugin URI: http://www.storelocatorplus.com/ 
     4Plugin URI: http://www.cybersprocket.com/products/store-locator-plus/ 
    55Description: Manage multiple locations with ease. Map stores or other points of interest with ease via Gooogle Maps.  This is a highly customizable, easily expandable, enterprise-class location management system. 
    6 Version: 3.1.4 
     6Version: 3.1.5 
    77Author: Cyber Sprocket Labs 
    88Author URI: http://www.cybersprocket.com 
Note: See TracChangeset for help on using the changeset viewer.