|
Server IP : 10.131.40.8 / Your IP : 216.73.216.37 Web Server : Apache System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : ludmqhh ( 137773) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0705) : /home/ludmqhh/www/hotel-forum/wp-content/_plugins/weglot/templates/admin/pages/tabs/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$options_available = [
'active_wc_reload' => [
'key' => 'active_wc_reload',
'label' => __( '[WooCommerce] : Prevent reload cart', 'weglot' ),
'description' => __( 'You should only enable this option if you have translation errors on your cart widget.', 'weglot' ),
],
];
?>
<h3><?php esc_html_e( 'Options for support', 'weglot' ); ?> </h3>
<hr>
<table class="form-table">
<tbody>
<?php if ( $this->wc_active_services->is_active() ) : ?>
<tr valign="top">
<th scope="row" class="titledesc">
<label for="<?php echo esc_attr( $options_available['active_wc_reload']['key'] ); ?>">
<?php echo esc_html( $options_available['active_wc_reload']['label'] ); ?>
</label>
</th>
<td class="forminp forminp-text">
<input
name="<?php echo esc_attr( sprintf( '%s[%s]', WEGLOT_SLUG, $options_available['active_wc_reload']['key'] ) ); ?>"
id="<?php echo esc_attr( $options_available['active_wc_reload']['key'] ); ?>"
type="checkbox"
<?php checked( $this->options[ $options_available['active_wc_reload']['key'] ], 1 ); ?>
>
<p class="description"><?php echo esc_html( $options_available['active_wc_reload']['description'] ); ?></p>
</td>
</tr>
<?php endif; ?>
</tbody>
</table>
