admin-settings-advanced.php
2 weeks ago
admin-settings-buttons.php
2 weeks ago
admin-settings-general.php
2 weeks ago
admin-settings-help.php
2 weeks ago
admin-settings-messagebar.php
2 weeks ago
admin-settings-save-button.php
2 weeks ago
admin-settings-advanced.php
25 lines
| 1 | <?php |
| 2 | // If this file is called directly, abort. |
| 3 | if ( ! defined( 'WPINC' ) ) { |
| 4 | die; |
| 5 | } |
| 6 | ?> |
| 7 | <div class="cookie-law-info-tab-content" data-id="<?php echo esc_attr( $target_id ); ?>"> |
| 8 | <h3><?php echo esc_html__( 'Advanced', 'cookie-law-info' ); ?></h3> |
| 9 | <p><?php echo esc_html__( 'Sometimes themes apply settings that clash with plugins. If that happens, try adjusting these settings.', 'cookie-law-info' ); ?></p> |
| 10 | |
| 11 | <table class="form-table"> |
| 12 | <tr valign="top"> |
| 13 | <th scope="row"><?php echo esc_html__( 'Reset settings', 'cookie-law-info' ); ?></th> |
| 14 | <td> |
| 15 | <input type="submit" name="delete_all_settings" value="<?php echo esc_html__( 'Delete settings and reset', 'cookie-law-info' ); ?>" class="button-secondary" onclick="cli_store_settings_btn_click(this.name); if(confirm('<?php echo esc_html__( 'Are you sure you want to delete all your settings and switch to the new interface?', 'cookie-law-info' ); ?>')){ }else{ return false;};" /> |
| 16 | <span class="cli_form_help"><?php echo esc_html__( 'Warning: Resets all your current settings to default. This action will switch you to the new and improved user interface and this action is not reversible.', 'cookie-law-info' ); ?></span> |
| 17 | </td> |
| 18 | </tr> |
| 19 | </table> |
| 20 | <?php do_action( 'wt_cli_after_advanced_settings' ); ?> |
| 21 | <?php |
| 22 | require 'admin-settings-save-button.php'; |
| 23 | ?> |
| 24 | </div> |
| 25 |