| Server IP : 81.2.241.106 / Your IP : 216.73.216.165 Web Server : Apache/2.4.67 (Debian) System : Linux tranq-f.bakta.org 5.10.0-45-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64 User : lisky ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/lisky/wp-content/plugins/login-with-ajax/ajaxify/ |
Upload File : |
<?php
namespace Login_With_AJAX\AJAXify;
class Admin {
public static function init(){
// Admin
add_action('lwa_settings_page_general', array( static::class, 'admin_settings' ));
}
public static function admin_settings(){
$lwa = get_option('lwa_data', array());
?>
<table class="form-table">
<tr valign="top">
<th scope="row">
<label for="lwa_ajaxify_wp_login"><?php esc_html_e("AJAXify Login Forms", 'login-with-ajax-pro'); ?></label>
</th>
<td>
<input type="checkbox" name="lwa_ajaxify" id="lwa_ajaxify_wp_login" value='1' <?php echo ( !empty($lwa['ajaxify']) ) ? 'checked':''; ?> >
<p><em><?php esc_html_e('Add AJAX effects to the regular WP Login forms, preventing a full page reload for every login, password recovery or registration attempt.', 'login-with-ajax-pro'); ?></em></p>
<p><em><?php echo sprintf(esc_html__('Additionally, other supported plugins with login forms can be "AJAXified" if enabled on the %s setting tab above.', 'login-with-ajax-pro'), '<code>'. esc_html__('Integrations', 'login-with-ajax') . '</code>'); ?></em></p>
</td>
</tr>
</table>
<?php
}
}
Admin::init();