' . __( 'Enabled', 'litespeed-cache' ) . '' ; $lang_disabled = '' . __( 'Disabled', 'litespeed-cache' ) . '' ; $mem_enabled = class_exists( 'Memcached' ) ? $lang_enabled : $lang_disabled ; $redis_enabled = class_exists( 'Redis' ) ? $lang_enabled : $lang_disabled ; $mem_conn = $this->cls( 'Object_Cache' )->test_connection(); if ( $mem_conn === null ) { $mem_conn_desc = '' . __( 'Not Available', 'litespeed-cache' ) . '' ; } elseif ( $mem_conn ) { $mem_conn_desc = '' . __( 'Passed', 'litespeed-cache' ) . '' ; } else { $severity = $this->conf( Base::O_OBJECT, true ) ? "danger" : "warning"; $mem_conn_desc = '' . __( 'Failed', 'litespeed-cache' ) . '' ; } ?>
title( $id ) ; ?> |
build_switch( $id ) ; ?>
:
: : |
---|---|
title( $id ) ; ?> | build_switch( $id, array( 'Memcached', 'Redis' ) ); ?> |
title( $id ); ?> |
build_input( $id ); ?>
LSMCD/Redis' ) ; ?>
/path/to/memcached.sock' ); ?> |
title( $id ); ?> |
build_input( $id, 'litespeed-input-short2' ) ; ?>
11211' ) ; ?>
6379' ) ; ?>
0' ); ?> |
title( $id ); ?> |
build_input( $id, 'litespeed-input-short2' ) ; ?>
|
title( $id ); ?> |
build_input( $id ); ?>
|
title( $id ); ?> |
build_input( $id ); ?>
|
title( $id ); ?> |
build_input( $id, 'litespeed-input-short' ); ?>
|
title( $id ); ?> |
build_textarea( $id, 30 ) ; ?>
|
title( $id ); ?> |
build_textarea( $id, 30 ) ; ?>
|
title( $id ); ?> |
build_switch( $id ) ; ?>
|
title( $id ); ?> |
build_switch( $id ) ; ?>
|
title( $id ); ?> |
build_switch( $id ) ; ?>
' . Lang::title( Base::O_OBJECT_ADMIN ) . '', '
' . __( 'OFF', 'litespeed-cache' ) . ' ' ) ; ?>
|