form_action(); ?>
| title( $option_id ); ?> |
build_switch( $option_id ); ?>
build_input( Base::O_CDN_CLOUDFLARE_KEY ); ?>
Cloudflare' ); ?>
build_input( Base::O_CDN_CLOUDFLARE_EMAIL ); ?>
conf( Base::O_CDN_CLOUDFLARE_ZONE );
$cls = $cf_zone ? ' litespeed-input-success' : ' litespeed-input-warning';
$this->build_input( Base::O_CDN_CLOUDFLARE_NAME, $cls );
?>
|
|---|---|
| title( $option_id ); ?> |
build_switch( $option_id ); ?>
|
:
:
:
= $curr_status['devmode_expired'] ) {
$expired_at = gmdate( 'm/d/Y H:i:s', $curr_status['devmode_expired'] + LITESPEED_TIME_OFFSET );
$curr_status['devmode'] = 'OFF';
printf(
esc_html__( 'Current status is %1$s since %2$s.', 'litespeed-cache' ),
'' . esc_html( strtoupper( $curr_status['devmode'] ) ) . '',
'' . esc_html( $expired_at ) . ''
);
} else {
$expired_at = $curr_status['devmode_expired'] - time();
$expired_at = Utility::readable_time( $expired_at, 3600 * 3, true );
printf(
esc_html__( 'Current status is %s.', 'litespeed-cache' ),
'' . esc_html( strtoupper( $curr_status['devmode'] ) ) . ''
);
printf(
esc_html__( 'Development mode will be automatically turned off in %s.', 'litespeed-cache' ),
'' . esc_html( $expired_at ) . ''
);
}
?>
', '' ); ?>