Changeset 1656146
- Timestamp:
- 05/12/2017 07:55:48 PM (9 years ago)
- Location:
- olark-live-chat/trunk
- Files:
-
- 2 edited
-
admin/partials/olark-wp-admin-display.php (modified) (2 diffs)
-
public/js/olark-wp-public.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
olark-live-chat/trunk/admin/partials/olark-wp-admin-display.php
r1653768 r1656146 19 19 <h2><?php echo esc_html(get_admin_page_title()); ?></h2> 20 20 </br> 21 22 21 <form method="post" name="olark_options" action="options.php"> 23 22 … … 49 48 <p><input type="text" id="<?php echo $this->plugin_name; ?>-olark_site_ID" name="<?php echo $this->plugin_name; ?>[olark_site_ID]" value="<?php if(!empty($olark_site_ID)) echo $olark_site_ID; ?>"/></p> 50 49 </label></fieldset> 51 52 50 <h4><input type="checkbox" id="<?php echo $this->plugin_name; ?>-enable_olark" name="<?php echo $this->plugin_name; ?>[enable_olark]" value="1" <?php checked($enable_olark, 1); ?>/><?php esc_attr_e('Enable Olark on my site', $this->plugin_name); ?></h4> 53 51 52 <h2><strong>NOTE:</strong> Changing the below settings will override your settings within the Olark website.</h2> 54 53 55 54 <h4><input type="checkbox" id="<?php echo $this->plugin_name; ?>-olark_mobile" name="<?php echo $this->plugin_name; ?>[olark_mobile]" value="1" <?php checked($olark_mobile, 1); ?>/><?php esc_attr_e('Show Olark on mobile devices', $this->plugin_name); ?></h4> -
olark-live-chat/trunk/public/js/olark-wp-public.js
r1653768 r1656146 12 12 /* Add configuration calls below this comment */ 13 13 /* Enable Olark on mobile settings*/ 14 if (olark_vars.mobile != 0){14 if (olark_vars.mobile == 0){ 15 15 olark.configure('system.hb_disable_mobile', true); 16 console.log("[olark] The wordpress plugin has mobile set to true");16 console.log("[olark] The wordpress plugin has disable mobile set to true"); 17 17 }else { 18 18 olark.configure('system.hb_disable_mobile', false); 19 console.log("[olark] The wordpress plugin has mobile set to false");19 console.log("[olark] The wordpress plugin has disable mobile set to false"); 20 20 }; 21 21 /* Start chatbox expanded settings*/
Note: See TracChangeset
for help on using the changeset viewer.