Changeset 1240602
- Timestamp:
- 09/08/2015 12:58:32 PM (10 years ago)
- Location:
- svs-pricing-tables/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
svs-pricing-tables/trunk/app/controller/svs_pt_controller_main.php
r1233972 r1240602 35 35 $_data['templates'] = $this->svs_pt_model_main->getTemplates(); 36 36 $_data['pricingTable'] = $this->svs_pt_model_main->getPricingTable(); 37 wp_enqueue_script('js_svs_admin', plugins_url('js/svs_pt_js_admin.min.js', $svs_pt_root_dir), array(), '1.0. 1', true);37 wp_enqueue_script('js_svs_admin', plugins_url('js/svs_pt_js_admin.min.js', $svs_pt_root_dir), array(), '1.0.2', true); 38 38 wp_localize_script('js_svs_admin', 'SVSPricingTables', array( 'plugin_url' => plugins_url('/', $svs_pt_root_dir) )); 39 39 $this->loadView('pt_edit', $_data); … … 47 47 $_data['templates'] = $this->svs_pt_model_main->getTemplates(); 48 48 $_data['pricingTable'] = $this->svs_pt_model_main->getPricingTable(@$_GET['ID']); 49 wp_enqueue_script('js_svs_admin', plugins_url('js/svs_pt_js_admin.min.js', $svs_pt_root_dir), array(), '1.0. 1', true);49 wp_enqueue_script('js_svs_admin', plugins_url('js/svs_pt_js_admin.min.js', $svs_pt_root_dir), array(), '1.0.2', true); 50 50 wp_localize_script('js_svs_admin', 'SVSPricingTables', array( 'plugin_url' => plugins_url('/', $svs_pt_root_dir), 'name' => @$_data['pricingTable']['name'], 'ID' => @$_data['pricingTable']['id'] )); 51 51 $this->loadView('pt_edit', $_data); … … 96 96 public static function adminEnqueueScripts($hook) 97 97 { 98 $svs_pt_root_dir = str_replace('controller','', __DIR__); 99 wp_enqueue_style('css_svs_admin_min', plugins_url('css/svs_pt_admin.min.css', $svs_pt_root_dir), false, '1.0.1'); 100 wp_enqueue_style('css_svs_pt_general', plugins_url('css/svs_pt_general.css', $svs_pt_root_dir), false, '1.0.1'); 98 if (self::endsWith($hook, "svs_pricing_tables")){ 99 $svs_pt_root_dir = str_replace('controller','', __DIR__); 100 wp_enqueue_style('css_svs_admin_min', plugins_url('css/svs_pt_admin.min.css', $svs_pt_root_dir), false, '1.0.2'); 101 wp_enqueue_style('css_svs_pt_general', plugins_url('css/svs_pt_general.css', $svs_pt_root_dir), false, '1.0.2'); 102 } 101 103 } 102 104 … … 109 111 return base64_decode($_data['css']) . base64_decode($_data['html']); 110 112 } 113 114 /** 115 * Check if string $heystack ends with $needle 116 * @param $haystack 117 * @param $needle 118 * @return bool 119 */ 120 121 private static function endsWith($haystack, $needle) { 122 return $needle === "" || (($temp = strlen($haystack) - strlen($needle)) >= 0 && strpos($haystack, $needle, $temp) !== FALSE); 123 } 111 124 } -
svs-pricing-tables/trunk/readme.txt
r1236956 r1240602 18 18 Plugin URI: http://pricingtables.svs-websoft.com/ 19 19 20 <strong>Features:</strong> 21 - Easily create pricing plan using a wizard 22 - Drag and drop pricing table component 23 - Drag and drop feature(row) re-ordering 24 - Featured Column highlights best price package 25 - Inline text edit 26 - Responsive Tables 27 - 5 different table templates in Lite version28 - Shortcode support 29 - Clone a price column 30 - Customize your pricing tables (colors) 31 - Intuitive User Interface (visual builder) 32 - Create Unlimited Pricing Table Rows 33 - Edit the content right on the pricing table 34 - Real Time preview 20 <strong>Features:</strong><br/> 21 - Easily create pricing plan using a wizard <br/> 22 - Drag and drop pricing table component <br/> 23 - Drag and drop feature(row) re-ordering <br/> 24 - Featured Column highlights best price package <br/> 25 - Inline text edit <br/> 26 - Responsive Tables <br/> 27 - 7 different table templates in Lite version <br/> 28 - Shortcode support <br/> 29 - Clone a price column <br/> 30 - Customize your pricing tables (colors) <br/> 31 - Intuitive User Interface (visual builder) <br/> 32 - Create Unlimited Pricing Table Rows <br/> 33 - Edit the content right on the pricing table <br/> 34 - Real Time preview <br/> 35 35 36 36 … … 94 94 95 95 = What about the PRO version? = 96 Currently we are still working on the PRO version. 96 The PRO version has 15 designs, advanced control on the elements, no disabled elements and premium support for 1 month 97 97 98 98
Note: See TracChangeset
for help on using the changeset viewer.