Changeset 1533060
- Timestamp:
- 11/12/2016 07:55:04 PM (9 years ago)
- Location:
- bmlt-tabbed-ui/tags/6.0.13
- Files:
-
- 5 copied
-
. (copied) (copied from bmlt-tabbed-ui/trunk)
-
bmlt-tabbed-ui.php (copied) (copied from bmlt-tabbed-ui/trunk/bmlt-tabbed-ui.php) (6 diffs)
-
css/bmlt_tabs.css (copied) (copied from bmlt-tabbed-ui/trunk/css/bmlt_tabs.css)
-
js/bmlt_tabs.js (copied) (copied from bmlt-tabbed-ui/trunk/js/bmlt_tabs.js)
-
readme.txt (copied) (copied from bmlt-tabbed-ui/trunk/readme.txt) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bmlt-tabbed-ui/tags/6.0.13/bmlt-tabbed-ui.php
r1481976 r1533060 5 5 Description: Adds a jQuery Tabbed UI for BMLT. 6 6 Author: Jack S Florida Region 7 Version: 6.0.1 27 Version: 6.0.13 8 8 */ 9 9 /* Disallow direct access to the plugin file */ … … 234 234 "exclude_zip_codes" => Null 235 235 ), $atts)); 236 236 237 $root_server = ($root_server != '' ? $root_server : $this->options['root_server']); 237 238 $root_server = ($_GET['root_server'] == Null ? $root_server : $_GET['root_server']); … … 248 249 $time_format = ($time_format == '' ? 'g:i a' : $time_format); 249 250 251 if ($root_server == '') { 252 Return '<p><strong>BMLT Tabs Error: Root Server missing.<br/><br/>Please go to Settings -> BMLT_Tabs and verify Root Server</strong></p>'; 253 } 254 250 255 // $has_tabs = ($view_by == 'city' ? '0' : $has_tabs); 251 256 if ($view_by != 'city' && $view_by != 'weekday') { … … 268 273 $service_body = $service_body_id; 269 274 } 270 }271 if ($root_server == '') {272 Return '<p><strong>BMLT Tabs Error: Root Server missing.<br/><br/>Please go to Settings -> BMLT_Tabs and verify Root Server</strong></p>';273 275 } 274 276 $services = ''; … … 1419 1421 } 1420 1422 $this->options = $theOptions; 1423 $path_parts = pathinfo($this->options['root_server']); 1424 $this->options['root_server'] = $path_parts['dirname']; 1421 1425 } 1422 1426 /** … … 1424 1428 */ 1425 1429 function save_admin_options() { 1430 $path_parts = pathinfo($this->options['root_server']); 1431 $this->options['root_server'] = $path_parts['dirname']; 1426 1432 update_option($this->optionsName, $this->options); 1427 1433 return; -
bmlt-tabbed-ui/tags/6.0.13/readme.txt
r1481976 r1533060 7 7 Requires at least: 3.6 8 8 9 Tested up to: 4.6 10 11 Stable tag: 6.0.1 29 Tested up to: 4.6.1 10 11 Stable tag: 6.0.13 12 12 13 13 BMLT Tabbed UI implements a Tabbed UI for BMLT. … … 39 39 == Changelog == 40 40 41 = 6.0.13 = 42 43 * Fix - Use only root server path when user inadvertantly includes a filename. 44 41 45 = 6.0.12 = 42 46
Note: See TracChangeset
for help on using the changeset viewer.