File: //home/xfp2mtarcm67/www/wp-content/plugins/limit-login-attempts-reloaded/views/tab-debug.php
<?php
use LLAR\Core\Helpers;
use LLAR\Core\Config;
use LLAR\Core\LimitLoginAttempts;
if ( ! defined( 'ABSPATH' ) ) {
exit();
}
$active_app = Config::get( 'active_app' );
$active_app = ( $active_app === 'custom' && LimitLoginAttempts::$cloud_app ) ? 'custom' : 'local';
$setup_code = Config::get( 'app_setup_code' );
$debug_info = Helpers::get_debug_info();
$plugin_data = get_plugin_data( LLA_PLUGIN_FILE );
?>
<div id="llar-setting-page-debug">
<div class="llar-settings-wrap">
<table class="llar-form-table">
<tr>
<th scope="row" valign="top"><?php echo esc_html__( 'Debug Info', 'limit-login-attempts-reloaded' ); ?></th>
<td>
<div class="textarea_border">
<textarea cols="70" rows="10" onclick="this.select();"
readonly><?php echo esc_textarea( $debug_info ); ?></textarea>
</div>
<div class="description-secondary">
<?php esc_html_e( 'When submitting a support ticket, please include the contents of the window shown above.', 'limit-login-attempts-reloaded' ); ?>
</div>
</td>
</tr>
<tr>
<th scope="row" valign="top"><?php echo esc_html__( 'Version', 'limit-login-attempts-reloaded' ); ?></th>
<td>
<div><?php echo esc_html( $plugin_data['Version'] ); ?></div>
</td>
</tr>
<?php if ( $active_app === 'local' && empty( $setup_code ) ) : ?>
<tr>
<th scope="row" valign="top"><?php echo esc_html__( 'Start Over', 'limit-login-attempts-reloaded' ); ?>
<span class="hint_tooltip-parent">
<span class="dashicons dashicons-editor-help"></span>
<div class="hint_tooltip">
<div class="hint_tooltip-content">
<?php esc_attr_e( 'You can start over the onboarding process by clicking this button. All existing data will remain unchanged.', 'limit-login-attempts-reloaded' ); ?>
</div>
</div>
</span>
</th>
<td>
<div class="button_block-single">
<button class="button menu__item button__transparent_orange" id="llar_onboarding_reset">
<?php esc_html_e( 'Reset', 'limit-login-attempts-reloaded' ); ?>
</button>
</div>
</td>
</tr>
<?php endif; ?>
</table>
</div>
</div>