Server IP : 162.0.217.223 / Your IP : 216.73.216.168 Web Server : LiteSpeed System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : mypckeys ( 1539) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mypckeys/www/wp-content/plugins/woocommerce-currency-switcher/views/widgets/ |
Upload File : |
<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?> <p> <label for="<?php echo $widget->get_field_id('title'); ?>"><?php esc_html_e('Title', 'woocommerce-currency-switcher') ?>:</label> <input class="widefat" type="text" id="<?php echo $widget->get_field_id('title'); ?>" name="<?php echo $widget->get_field_name('title'); ?>" value="<?php echo $instance['title']; ?>" /> </p> <p> <label for="<?php echo $widget->get_field_id('width'); ?>"><?php esc_html_e('Width', 'woocommerce-currency-switcher') ?>:</label> <input class="widefat" type="text" id="<?php echo $widget->get_field_id('width'); ?>" name="<?php echo $widget->get_field_name('width'); ?>" value="<?php echo $instance['width']; ?>" /> <br /><i><?php esc_html_e('Examples: 300px,100%,auto', 'woocommerce-currency-switcher') ?></i> </p> <p> <?php $checked = ""; if ($instance['show_flags'] === 'true') { $checked = 'checked="checked"'; } ?> <input type="checkbox" id="<?php echo $widget->get_field_id('show_flags'); ?>" name="<?php echo $widget->get_field_name('show_flags'); ?>" value="true" <?php echo $checked; ?> /> <label for="<?php echo $widget->get_field_id('show_flags'); ?>"><?php esc_html_e('Show flags', 'woocommerce-currency-switcher') ?>:</label> </p> <p> <label for="<?php echo $widget->get_field_id('flag_position'); ?>"><?php esc_html_e('Flag position', 'woocommerce-currency-switcher') ?>:</label> <?php $sett = array( 'right' => esc_html__('right', 'woocommerce-currency-switcher'), 'left' => esc_html__('left', 'woocommerce-currency-switcher'), ); ?> <select class="widefat" id="<?php echo $widget->get_field_id('flag_position') ?>" name="<?php echo $widget->get_field_name('flag_position') ?>"> <?php foreach ($sett as $k => $val) : ?> <option <?php selected($instance['flag_position'], $k) ?> value="<?php echo $k ?>" class="level-0"><?php echo $val ?></option> <?php endforeach; ?> </select> <i><?php esc_html_e('For ddslick script only!', 'woocommerce-currency-switcher') ?></i> </p> <p> <label for="<?php echo $widget->get_field_id('txt_type'); ?>"><?php esc_html_e('Drop-down options text type', 'woocommerce-currency-switcher') ?>:</label> <?php $sett = array( 'code' => esc_html__('code', 'woocommerce-currency-switcher'), 'desc' => esc_html__('description', 'woocommerce-currency-switcher'), ); ?> <select class="widefat" id="<?php echo $widget->get_field_id('txt_type') ?>" name="<?php echo $widget->get_field_name('txt_type') ?>"> <?php foreach ($sett as $k => $val) : ?> <option <?php selected($instance['txt_type'], $k) ?> value="<?php echo $k ?>" class="level-0"><?php echo $val ?></option> <?php endforeach; ?> </select> <i><?php esc_html_e('Which text display in the drop-down options - currency code OR description text. Looks good for all dropdowns except ddslick.', 'woocommerce-currency-switcher') ?></i> </p>