Changeset 1182615
- Timestamp:
- 06/17/2015 02:48:46 PM (11 years ago)
- Location:
- easy-bootstrap-shortcodes
- Files:
-
- 1 added
- 6 edited
-
tags/4.4/README.txt (modified) (1 diff)
-
tags/4.4/ebs_settings.php (modified) (1 diff)
-
tags/4.4/osc_bootstrap_shortcode.php (modified) (9 diffs)
-
tags/4.4/styles/bootstrap.min1.css (added)
-
trunk/README.txt (modified) (1 diff)
-
trunk/ebs_settings.php (modified) (1 diff)
-
trunk/osc_bootstrap_shortcode.php (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-bootstrap-shortcodes/tags/4.4/README.txt
r1168208 r1182615 151 151 152 152 153 = 4.4.3 = 154 155 * [Update] Implemented the EBS Session setting to set either you want to use the EBS Session management functionality 156 or not. It will help you in case EBS Session create any issue as few users facing this issue. 157 158 153 159 = 4.4.2 = 154 160 -
easy-bootstrap-shortcodes/tags/4.4/ebs_settings.php
r1168208 r1182615 50 50 <p><input type="checkbox" name="fa_icon" id="fa_icon" value="1" <?php echo ($fa_icon == 1) ? 'checked=checked' : '' ?>> 51 51 <label for="fa_icon" >Include Font Awesome Icons</label> 52 53 </p> 54 </div> 55 <div class="ebs_details"> 56 57 <label class="ebs_setting_label">Use EBS Session functionality</label> 58 <p><input type="checkbox" name="use_ebs_session_close" id="use_ebs_session_close" value="1" <?php echo ($use_ebs_session_close == 1) ? 'checked=checked' : '' ?>> 59 <label for="fa_icon" >Use EBS Session Close Functionality</label> 52 60 53 61 </p> -
easy-bootstrap-shortcodes/tags/4.4/osc_bootstrap_shortcode.php
r1168208 r1182615 5 5 Plugin URI: http://www.oscitasthemes.com 6 6 Description: Add bootstrap 3.0.3 styles to your theme by wordpress editor shortcode buttons. 7 Version: 4.4. 27 Version: 4.4.3 8 8 Author: oscitas 9 9 Author URI: http://www.oscitasthemes.com … … 101 101 } 102 102 update_option( 'EBS_INCLUDE_FA',1); 103 update_option( 'EBS_SESSION_CLOSE',0); 103 104 if(get_option('EBS_CUSTOM_CSS')==''){ 104 105 update_option( 'EBS_CUSTOM_CSS',''); … … 121 122 delete_option('EBS_EDITOR_OPT'); 122 123 delete_option('EBS_INCLUDE_FA'); 124 delete_option('EBS_SESSION_CLOSE'); 123 125 } 124 126 } … … 175 177 update_option( 'EBS_CUSTOM_CSS', isset($_POST['ebs_custom_css'])?$_POST['ebs_custom_css']:'' ); 176 178 update_option( 'EBS_INCLUDE_FA', isset($_POST['fa_icon'])?$_POST['fa_icon']:'' ); 179 update_option( 'EBS_SESSION_CLOSE', isset($_POST['use_ebs_session_close']) 180 ?$_POST['use_ebs_session_close']:'0' ); 177 181 ebs_session_start(); 178 182 $_SESSION['ebs_dynamic_css'] =$_POST['ebs_custom_css']; … … 199 203 $shortcode_prefix=get_option('EBS_SHORTCODE_PREFIX',''); 200 204 $fa_icon=get_option('EBS_INCLUDE_FA',1); 205 $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0); 201 206 } 202 207 include 'ebs_settings.php'; … … 228 233 global $pagenow; 229 234 $fa_icon=get_option('EBS_INCLUDE_FA',1); 235 $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0); 230 236 $screen = get_current_screen(); 231 237 if ($screen->id == 'toplevel_page_ebs/ebs-settings') { … … 260 266 function osc_editor_enable_mce($plugin_array){ 261 267 $fa_icon=get_option('EBS_INCLUDE_FA',1); 268 $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0); 262 269 wp_enqueue_script('jquery'); 263 270 wp_enqueue_style('thickbox'); … … 309 316 $css = get_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 1 ); 310 317 $fa_icon=get_option('EBS_INCLUDE_FA',1); 318 $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0); 311 319 // http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js 312 320 … … 386 394 function ebs_session_end() { 387 395 global $_EBS_SESSION_STARTED; 388 if ($_EBS_SESSION_STARTED ) {396 if ($_EBS_SESSION_STARTED && get_option('EBS_SESSION_CLOSE',0)) { 389 397 @session_write_close(); 390 398 $_EBS_SESSION_STARTED = false; -
easy-bootstrap-shortcodes/trunk/README.txt
r1168208 r1182615 151 151 152 152 153 = 4.4.3 = 154 155 * [Update] Implemented the EBS Session setting to set either you want to use the EBS Session management functionality 156 or not. It will help you in case EBS Session create any issue as few users facing this issue. 157 158 153 159 = 4.4.2 = 154 160 -
easy-bootstrap-shortcodes/trunk/ebs_settings.php
r994547 r1182615 50 50 <p><input type="checkbox" name="fa_icon" id="fa_icon" value="1" <?php echo ($fa_icon == 1) ? 'checked=checked' : '' ?>> 51 51 <label for="fa_icon" >Include Font Awesome Icons</label> 52 53 </p> 54 </div> 55 <div class="ebs_details"> 56 57 <label class="ebs_setting_label">Use EBS Session functionality</label> 58 <p><input type="checkbox" name="use_ebs_session_close" id="use_ebs_session_close" value="1" <?php echo ($use_ebs_session_close == 1) ? 'checked=checked' : '' ?>> 59 <label for="fa_icon" >Use EBS Session Close Functionality</label> 52 60 53 61 </p> -
easy-bootstrap-shortcodes/trunk/osc_bootstrap_shortcode.php
r1168208 r1182615 5 5 Plugin URI: http://www.oscitasthemes.com 6 6 Description: Add bootstrap 3.0.3 styles to your theme by wordpress editor shortcode buttons. 7 Version: 4.4. 27 Version: 4.4.3 8 8 Author: oscitas 9 9 Author URI: http://www.oscitasthemes.com … … 101 101 } 102 102 update_option( 'EBS_INCLUDE_FA',1); 103 update_option( 'EBS_SESSION_CLOSE',0); 103 104 if(get_option('EBS_CUSTOM_CSS')==''){ 104 105 update_option( 'EBS_CUSTOM_CSS',''); … … 121 122 delete_option('EBS_EDITOR_OPT'); 122 123 delete_option('EBS_INCLUDE_FA'); 124 delete_option('EBS_SESSION_CLOSE'); 123 125 } 124 126 } … … 175 177 update_option( 'EBS_CUSTOM_CSS', isset($_POST['ebs_custom_css'])?$_POST['ebs_custom_css']:'' ); 176 178 update_option( 'EBS_INCLUDE_FA', isset($_POST['fa_icon'])?$_POST['fa_icon']:'' ); 179 update_option( 'EBS_SESSION_CLOSE', isset($_POST['use_ebs_session_close']) 180 ?$_POST['use_ebs_session_close']:'0' ); 177 181 ebs_session_start(); 178 182 $_SESSION['ebs_dynamic_css'] =$_POST['ebs_custom_css']; … … 199 203 $shortcode_prefix=get_option('EBS_SHORTCODE_PREFIX',''); 200 204 $fa_icon=get_option('EBS_INCLUDE_FA',1); 205 $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0); 201 206 } 202 207 include 'ebs_settings.php'; … … 228 233 global $pagenow; 229 234 $fa_icon=get_option('EBS_INCLUDE_FA',1); 235 $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0); 230 236 $screen = get_current_screen(); 231 237 if ($screen->id == 'toplevel_page_ebs/ebs-settings') { … … 260 266 function osc_editor_enable_mce($plugin_array){ 261 267 $fa_icon=get_option('EBS_INCLUDE_FA',1); 268 $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0); 262 269 wp_enqueue_script('jquery'); 263 270 wp_enqueue_style('thickbox'); … … 309 316 $css = get_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 1 ); 310 317 $fa_icon=get_option('EBS_INCLUDE_FA',1); 318 $use_ebs_session_close=get_option('EBS_SESSION_CLOSE',0); 311 319 // http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js 312 320 … … 386 394 function ebs_session_end() { 387 395 global $_EBS_SESSION_STARTED; 388 if ($_EBS_SESSION_STARTED ) {396 if ($_EBS_SESSION_STARTED && get_option('EBS_SESSION_CLOSE',0)) { 389 397 @session_write_close(); 390 398 $_EBS_SESSION_STARTED = false;
Note: See TracChangeset
for help on using the changeset viewer.