format_time( $ajxl_diag['time'] ), $ajxl_diag['ok'] ? __( 'no problems found', 'ajax-loading' ) : __( 'issues found', 'ajax-loading' ) ) ); } ?>
| format_time( $ajxl_time ) ) : '—'; ?> |
error_code_label( $ajxl_code ) ); ?>
|
|
||
action_button( 'resume', __( 'Resume now', 'ajax-loading' ), array( 'class' => 'button button-primary' ) ); } elseif ( $ajxl_enabled ) { $admin->action_button( 'pause', __( 'Pause for 1 hour', 'ajax-loading' ), array( 'name' => 'duration', 'value' => (string) HOUR_IN_SECONDS, ) ); echo ' '; $admin->action_button( 'pause', __( 'Pause for 24 hours', 'ajax-loading' ), array( 'name' => 'duration', 'value' => (string) DAY_IN_SECONDS, ) ); } else { echo '' . esc_html__( 'AJAX navigation is turned off.', 'ajax-loading' ) . ''; } ?>
action_button( 'clear_cache', __( 'Clear navigation cache', 'ajax-loading' ) ); ?>
open_action_form( 'import', $tab, array( 'enctype' => 'multipart/form-data', 'confirm' => __( 'Importing overwrites your current AJAX Loading settings with the values in the file. Continue?', 'ajax-loading' ), 'class' => 'ajxl-import-form', ) ); ?>