PluginProbe
WP Chat App / 3.6.9
WP Chat App v3.6.9
3.8.1 3.8.2 trunk 2.6 3.4 3.4.1 3.4.2 3.4.4 3.4.5 3.4.6 3.5 3.6 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9 3.7.0 3.7.1 3.7.2 3.7.3 All 27 releases
wp-whatsapp / views / url-settings.php
url-settings.php
43 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <p><?php echo __( 'Choose how you want to redirect WhatsApp URL.', 'wp-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', 'wp-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', 'wp-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', 'wp-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', 'wp-whatsapp' ); ?><span></span></button>