conf( Base::O_CDN_CLOUDFLARE ) ; $cf_domain = $this->conf( Base::O_CDN_CLOUDFLARE_NAME ) ?: '-' ; $cf_zone = $this->conf( Base::O_CDN_CLOUDFLARE_ZONE ) ?: '-' ; $curr_status = CDN\Cloudflare::get_option( CDN\Cloudflare::ITEM_STATUS, array() ) ; ?>
:
:
:
= $curr_status[ 'devmode_expired' ] ) {
$expired_at = date( 'm/d/Y H:i:s', $curr_status[ 'devmode_expired' ] + LITESPEED_TIME_OFFSET ) ;
$curr_status[ 'devmode' ] = 'OFF' ;
echo sprintf( __( 'Current status is %1$s since %2$s.', 'litespeed-cache' ), '' . strtoupper( $curr_status[ 'devmode' ] ) . '
', '' . $expired_at . '
' ) ;
}
else {
$expired_at = $curr_status[ 'devmode_expired' ] - time() ;
$expired_at = Utility::readable_time( $expired_at, 3600 * 3, true );
?>
' . strtoupper( $curr_status[ 'devmode' ] ) . '' ) ; ?>
' . $expired_at . '' ) ; ?>