analytics.php
2 years ago
design-preview.php
2 years ago
design-settings.php
2 years ago
display-settings.php
2 years ago
floating-widget-settings.php
2 years ago
meta-accounts.php
2 years ago
meta-button-style.php
2 years ago
selected-accounts.php
2 years ago
settings.php
2 years ago
url-settings.php
2 years ago
woocommerce-button.php
2 years ago
url-settings.php
43 lines
| 1 | <p><?php echo __('Choose how you want to redirect WhatsApp URL.', 'ninjateam-whatsapp') ?></p> |
| 2 | <table class="form-table"> |
| 3 | <tbody> |
| 4 | <tr> |
| 5 | <th scope="row"><label for="nta-wa-switch-control"><?php echo __('Open in new tab', 'ninjateam-whatsapp') ?></label></th> |
| 6 | <td> |
| 7 | <div class="nta-wa-switch-control"> |
| 8 | <input type="checkbox" id="nta-wa-switch-open-new-tab" name="openInNewTab" <?php checked($option['openInNewTab'], 'ON') ?>> |
| 9 | <label for="nta-wa-switch-open-new-tab" class="green"></label> |
| 10 | </div> |
| 11 | </td> |
| 12 | </tr> |
| 13 | <tr> |
| 14 | <th scope="row"><?php echo __('URL for Desktop', 'ninjateam-whatsapp') ?></label></th> |
| 15 | <td> |
| 16 | <input name="onDesktop" id="urlOnDesktop" class="hidden" value="<?php echo esc_attr($option['onDesktop']) ?>" /> |
| 17 | <div class="button-group button-large" data-setting="onDesktop"> |
| 18 | <button class="button btn-api <?php echo ($option['onDesktop'] == 'api' ? 'active' : '') ?>" value="api" type="button"> |
| 19 | API |
| 20 | </button> |
| 21 | <button class="button btn-web <?php echo ($option['onDesktop'] == 'web' ? 'active' : '') ?>" value="web" type="button"> |
| 22 | Web |
| 23 | </button> |
| 24 | </div> |
| 25 | </td> |
| 26 | </tr> |
| 27 | <tr> |
| 28 | <th scope="row"><?php echo __('URL for Mobile', 'ninjateam-whatsapp') ?></label></th> |
| 29 | <td> |
| 30 | <input name="onMobile" id="urlOnMobile" class="hidden" value="<?php echo esc_attr($option['onMobile']) ?>" /> |
| 31 | <div class="button-group button-large" data-setting="onMobile"> |
| 32 | <button class="button btn-api <?php echo ($option['onMobile'] == 'api' ? 'active' : '') ?>" value="api" type="button"> |
| 33 | API |
| 34 | </button> |
| 35 | <button class="button btn-protocol <?php echo ($option['onMobile'] == 'protocol' ? 'active' : '') ?>" value="protocol" type="button"> |
| 36 | Protocol |
| 37 | </button> |
| 38 | </div> |
| 39 | </td> |
| 40 | </tr> |
| 41 | </tbody> |
| 42 | </table> |
| 43 | <button class="button button-large button-primary wa-save"><?php echo __('Save Changes', 'ninjateam-whatsapp') ?><span></span></button> |