| 1 |
<div class="d4p-group d4p-group-extra d4p-group-important"> |
| 2 |
<h3><?php esc_html_e( 'Important', 'gd-security-headers' ); ?></h3> |
| 3 |
<div class="d4p-group-inner"> |
| 4 |
<?php esc_html_e( 'This tool can remove plugin settings saved in the WordPress options table and all database tables added by the plugin.', 'gd-security-headers' ); ?><br/><br/> |
| 5 |
<?php esc_html_e( 'Deletion operations are not reversible, and it is highly recommended to create database backup before proceeding with this tool.', 'gd-security-headers' ); ?> |
| 6 |
<?php esc_html_e( 'If you choose to remove plugin settings, once that is done, all settings will be reinitialized to default values if you choose to leave plugin active.', 'gd-security-headers' ); ?> |
| 7 |
</div> |
| 8 |
</div> |
| 9 |
|
| 10 |
<div class="d4p-group d4p-group-tools d4p-group-reset"> |
| 11 |
<h3><?php esc_html_e( 'Remove plugin settings', 'gd-security-headers' ); ?></h3> |
| 12 |
<div class="d4p-group-inner"> |
| 13 |
<label> |
| 14 |
<input type="checkbox" class="widefat" name="gdsihtools[remove][settings]" value="on"/> <?php esc_html_e( 'All Plugin Settings', 'gd-security-headers' ); ?> |
| 15 |
</label> |
| 16 |
</div> |
| 17 |
</div> |
| 18 |
|
| 19 |
<div class="d4p-group d4p-group-tools d4p-group-reset"> |
| 20 |
<h3><?php esc_html_e( 'Remove .HTACCESS rules', 'gd-security-headers' ); ?></h3> |
| 21 |
<div class="d4p-group-inner"> |
| 22 |
<label> |
| 23 |
<input type="checkbox" class="widefat" name="gdsihtools[remove][htaccess]" value="on"/> <?php esc_html_e( 'All rules added to .HTACCESS', 'gd-security-headers' ); ?> |
| 24 |
</label> |
| 25 |
</div> |
| 26 |
</div> |
| 27 |
|
| 28 |
<div class="d4p-group d4p-group-tools d4p-group-reset"> |
| 29 |
<h3><?php esc_html_e( 'Remove database data and tables', 'gd-security-headers' ); ?></h3> |
| 30 |
<div class="d4p-group-inner"> |
| 31 |
<label> |
| 32 |
<input type="checkbox" class="widefat" name="gdsihtools[remove][drop]" value="on"/> <?php esc_html_e( 'Remove plugins database tables and all data in them', 'gd-security-headers' ); ?> |
| 33 |
</label> |
| 34 |
<label> |
| 35 |
<input type="checkbox" class="widefat" name="gdsihtools[remove][truncate]" value="on"/> <?php esc_html_e( 'Remove all data from database tables', 'gd-security-headers' ); ?> |
| 36 |
</label><br/> |
| 37 |
<hr/> |
| 38 |
<p><?php esc_html_e( 'Database tables that will be affected', 'gd-security-headers' ); ?>:</p> |
| 39 |
<ul style="list-style: inside disc;"> |
| 40 |
<li><?php echo gdsih_db()->csp_reports; ?></li> |
| 41 |
<li><?php echo gdsih_db()->xxp_reports; ?></li> |
| 42 |
</ul> |
| 43 |
</div> |
| 44 |
</div> |
| 45 |
|
| 46 |
<div class="d4p-group d4p-group-tools d4p-group-reset"> |
| 47 |
<h3><?php esc_html_e( 'Disable Plugin', 'gd-security-headers' ); ?></h3> |
| 48 |
<div class="d4p-group-inner"> |
| 49 |
<label> |
| 50 |
<input type="checkbox" class="widefat" name="gdsihtools[remove][disable]" value="on"/> <?php esc_html_e( 'Disable plugin', 'gd-security-headers' ); ?> |
| 51 |
</label> |
| 52 |
</div> |
| 53 |
</div> |
| 54 |
|