modified file bootstrap-buttons.css
This commit is contained in:
@ -98,85 +98,86 @@ class Template {
|
||||
'tr' => array(),
|
||||
);
|
||||
|
||||
do_action( 'w3tc-dashboard-head' );
|
||||
?>
|
||||
<div class="wrap" id="w3tc">
|
||||
<?php \W3TC\Util_Ui::print_breadcrumb(); ?>
|
||||
<div id="w3tc-wizard-container">
|
||||
|
||||
<div id="w3tc-wizard-container">
|
||||
|
||||
<div id="w3tc_wizard_header">
|
||||
<img id="w3tc_wizard_icon" src="<?php echo esc_url( plugins_url( '/w3-total-cache/pub/img/w3tc_cube-shadow.png' ) ); ?>" />
|
||||
<div id="w3tc_wizard_title">
|
||||
<span>TOTAL</span> <span>CACHE</span><span>:</span> <span><?php echo esc_html( $this->config['title'] ); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="w3tc_wizard_content">
|
||||
|
||||
<ul id="w3tc-options-menu">
|
||||
<?php
|
||||
foreach ( $this->config['steps'] as $number => $step ) {
|
||||
$number++;
|
||||
$element_id = 'w3tc-wizard-step-' . ( isset( $step['id'] ) ? $step['id'] : $number );
|
||||
if ( isset( $this->config['steps_location'] ) && 'left' === $this->config['steps_location'] ) {
|
||||
?>
|
||||
<li id="<?php echo esc_attr( $element_id ); ?>">
|
||||
<?php echo esc_html( $step['text'] ); ?>
|
||||
</li>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<li id="<?php echo esc_attr( $element_id ); ?>"><?php echo esc_html( $number ); ?></li>
|
||||
<li id="<?php echo esc_attr( $element_id ); ?>-text"><?php echo esc_html( $step['text'] ); ?></li>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
|
||||
<?php
|
||||
// The first slide is visible.
|
||||
$hidden = '';
|
||||
|
||||
foreach ( $this->config['slides'] as $number => $slide ) {
|
||||
$number++;
|
||||
$element_id = 'w3tc-wizard-slide-' . ( isset( $slide['id'] ) ? $slide['id'] : $number );
|
||||
?>
|
||||
<div id="<?php echo esc_attr( $element_id ); ?>" class="w3tc-wizard-slides<?php echo esc_attr( $hidden ); ?>">
|
||||
<h3><?php echo wp_kses( $slide['headline'], $allowed_html ); ?></h3>
|
||||
<?php echo wp_kses( $slide['markup'], $allowed_html ); ?>
|
||||
<div id="w3tc_wizard_header">
|
||||
<img id="w3tc_wizard_icon" src="<?php echo esc_url( plugins_url( '/w3-total-cache/pub/img/w3tc_cube-shadow.png' ) ); ?>" />
|
||||
<div id="w3tc_wizard_title">
|
||||
<span>TOTAL</span> <span>CACHE</span><span>:</span> <span><?php echo esc_html( $this->config['title'] ); ?></span>
|
||||
</div>
|
||||
<?php
|
||||
// All subsequent slides are hidden.
|
||||
$hidden = ' hidden';
|
||||
}
|
||||
|
||||
unset( $hidden );
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="w3tc_wizard_footer">
|
||||
<div id="w3tc-wizard-buttons">
|
||||
<span>
|
||||
<button id="w3tc-wizard-skip" class="w3tc-wizard-buttons"><?php esc_html_e( 'SKIP', 'w3-total-cache' ); ?></button>
|
||||
</span>
|
||||
<span id="w3tc-wizard-previous-span" class="hidden">
|
||||
<button id="w3tc-wizard-previous" class="w3tc-wizard-buttons"><?php esc_html_e( 'PREVIOUS', 'w3-total-cache' ); ?></button>
|
||||
</span>
|
||||
<span>
|
||||
<button id="w3tc-wizard-next" class="w3tc-wizard-buttons"><?php esc_html_e( 'NEXT', 'w3-total-cache' ); ?></button>
|
||||
</span>
|
||||
<span id="w3tc-wizard-dashboard-span" class="hidden">
|
||||
<button id="w3tc-wizard-dashboard" class="w3tc-wizard-buttons"><?php esc_html_e( 'DASHBOARD', 'w3-total-cache' ); ?></button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php wp_nonce_field( 'w3tc_wizard' ); ?>
|
||||
<div id="test-results" class="hidden"></div>
|
||||
</div>
|
||||
<div id="w3tc_wizard_content">
|
||||
|
||||
<ul id="w3tc-options-menu">
|
||||
<?php
|
||||
foreach ( $this->config['steps'] as $number => $step ) {
|
||||
$number++;
|
||||
$element_id = 'w3tc-wizard-step-' . ( isset( $step['id'] ) ? $step['id'] : $number );
|
||||
if ( isset( $this->config['steps_location'] ) && 'left' === $this->config['steps_location'] ) {
|
||||
?>
|
||||
<li id="<?php echo esc_attr( $element_id ); ?>">
|
||||
<?php echo esc_html( $step['text'] ); ?>
|
||||
</li>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<li id="<?php echo esc_attr( $element_id ); ?>"><?php echo esc_html( $number ); ?></li>
|
||||
<li id="<?php echo esc_attr( $element_id ); ?>-text"><?php echo esc_html( $step['text'] ); ?></li>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
|
||||
<?php
|
||||
// The first slide is visible.
|
||||
$hidden = '';
|
||||
|
||||
foreach ( $this->config['slides'] as $number => $slide ) {
|
||||
$number++;
|
||||
$element_id = 'w3tc-wizard-slide-' . ( isset( $slide['id'] ) ? $slide['id'] : $number );
|
||||
?>
|
||||
<div id="<?php echo esc_attr( $element_id ); ?>" class="w3tc-wizard-slides<?php echo esc_attr( $hidden ); ?>">
|
||||
<h3><?php echo wp_kses( $slide['headline'], $allowed_html ); ?></h3>
|
||||
<?php echo wp_kses( $slide['markup'], $allowed_html ); ?>
|
||||
</div>
|
||||
<?php
|
||||
// All subsequent slides are hidden.
|
||||
$hidden = ' hidden';
|
||||
}
|
||||
|
||||
unset( $hidden );
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="w3tc_wizard_footer">
|
||||
<div id="w3tc-wizard-buttons">
|
||||
<span>
|
||||
<button id="w3tc-wizard-skip" class="w3tc-wizard-buttons"><?php esc_html_e( 'SKIP', 'w3-total-cache' ); ?></button>
|
||||
</span>
|
||||
<span id="w3tc-wizard-previous-span" class="hidden">
|
||||
<button id="w3tc-wizard-previous" class="w3tc-wizard-buttons"><?php esc_html_e( 'PREVIOUS', 'w3-total-cache' ); ?></button>
|
||||
</span>
|
||||
<span>
|
||||
<button id="w3tc-wizard-next" class="w3tc-wizard-buttons"><?php esc_html_e( 'NEXT', 'w3-total-cache' ); ?></button>
|
||||
</span>
|
||||
<span id="w3tc-wizard-dashboard-span" class="hidden">
|
||||
<button id="w3tc-wizard-dashboard" class="w3tc-wizard-buttons"><?php esc_html_e( 'DASHBOARD', 'w3-total-cache' ); ?></button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php wp_nonce_field( 'w3tc_wizard' ); ?>
|
||||
<div id="test-results" class="hidden"></div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
require W3TC_INC_DIR . '/options/common/footer.php';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user