Plugin Directory

Changeset 1656146


Ignore:
Timestamp:
05/12/2017 07:55:48 PM (9 years ago)
Author:
olarkplatform
Message:

Update wording about mobile

Location:
olark-live-chat/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • olark-live-chat/trunk/admin/partials/olark-wp-admin-display.php

    r1653768 r1656146  
    1919    <h2><?php echo esc_html(get_admin_page_title()); ?></h2>
    2020    </br>
    21 
    2221    <form method="post" name="olark_options" action="options.php">
    2322
     
    4948      <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>
    5049      </label></fieldset>
    51 
    5250      <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>
    5351
     52    <h2><strong>NOTE:</strong> Changing the below settings will override your settings within the Olark website.</h2>
    5453
    5554      <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  
    1212/* Add configuration calls below this comment */
    1313/* Enable Olark on mobile settings*/
    14 if (olark_vars.mobile != 0){
     14if (olark_vars.mobile == 0){
    1515    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");
    1717}else {
    1818    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");
    2020};
    2121/* Start chatbox expanded settings*/
Note: See TracChangeset for help on using the changeset viewer.