make_active('info|server_status')->show_menu();
?>
print_section_header(
$this->module['server_status']['menu']['title'],
$this->module['server_status']['description'],
$this->module['server_status']['help']['url']
);
?>
| the_plugin->localizationName ); ?> |
| the_plugin->localizationName ); ?>: |
|
the_plugin->plugin_integrity_get_last_status( 'check_database' );
$check_last_msg = '';
if ( '' != trim($opStatus_stat['html']) ) {
$check_last_msg = ( $opStatus_stat['status'] == true ? '' : '
' ) . $opStatus_stat['html'] . '
';
}
?>
| the_plugin->localizationName ); ?> |
| the_plugin->localizationName ); ?>: |
*/ ?>
|
the_plugin->get_main_settings('all');
?>
$pval) {
$valueNo = 0;
$html[] = '
| ' . $pval['title'] . ' |
';
$html[] = '
';
foreach ($pval['keys'] as $pkey2 => $pval2) {
$html[] = '';
$html[] = '| ' . $pval2['title'] . ': | ';
$html[] = '';
if ( is_array($pval2['value']) ) {
foreach ($pval2['value'] as $key => $value) {
if ( trim($value) != "") {
$html[] = "" . $key . ": " . $value . " ";
}
else {
$valueNo++;
if ($valueNo == count($pval2['value'])) {
$html[] = '' . sprintf( __( 'No Affiliate ID set. Please set one in the plugin tab Amazon Config.', $this->the_plugin->localizationName ) ) . ' ';
}
}
}
}
else {
$html[] = $pval2['value'];
}
$html[] = ' | ';
$html[] = '
';
}
$html[] = '';
}
?>
| the_plugin->localizationName ); ?> |
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
webservices.amazon. |
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?> |
| Import test: |
|
| the_plugin->localizationName ); ?> |
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
dbh)) ? mysqli_get_server_info( $wpdb->dbh ) : $wpdb->db_version() ); ?> |
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName); ?>: |
the_plugin->localizationName); else echo __( 'No', $this->the_plugin->localizationName); ?> |
| the_plugin->localizationName); ?>: |
get_box_wp_ajax_debug(); ?>
|
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
let_to_num( ini_get('post_max_size') ) ); ?> |
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?> |
| the_plugin->localizationName ); ?>: |
|
| the_plugin->localizationName ); ?> |
| the_plugin->localizationName ); ?>: |
the_plugin->localizationName ) : __( 'No', $this->the_plugin->localizationName ); ?> |
| the_plugin->localizationName ); ?> |
array(
'option' => 'woocommerce_cart_page_id',
'shortcode' => '[' . apply_filters( 'woocommerce_cart_shortcode_tag', 'woocommerce_cart' ) . ']'
),
_x( 'Checkout Page', 'Page setting', 'woocommerce' ) => array(
'option' => 'woocommerce_checkout_page_id',
'shortcode' => '[' . apply_filters( 'woocommerce_checkout_shortcode_tag', 'woocommerce_checkout' ) . ']'
),
);
$alt = 1;
foreach ( $check_pages as $page_name => $values ) {
if ( $alt == 1 ) echo ''; else echo '
';
echo '| ' . esc_html( $page_name ) . ': | ';
$error = false;
$page_id = get_option( $values['option'] );
// Page ID check
if ( ! $page_id ) {
echo ' ' . __( 'Page not set', 'woocommerce' ) . ' ';
$error = true;
} else {
// Shortcode check
if ( $values['shortcode'] ) {
$page = get_post( $page_id );
if ( empty( $page ) ) {
echo '' . sprintf( __( 'Page does not exist', 'woocommerce' ) ) . ' ';
$error = true;
} else if ( ! strstr( $page->post_content, $values['shortcode'] ) ) {
echo '' . sprintf( __( 'Page does not contain the shortcode: %s', 'woocommerce' ), $values['shortcode'] ) . ' ';
$error = true;
}
}
}
if ( ! $error ) echo '#' . absint( $page_id ) . ' - ' . str_replace( home_url(), '', get_permalink( $page_id ) ) . ' ';
echo ' |
';
$alt = $alt * -1;
}
?>