compare.php
7 years ago
discount.php
7 years ago
general_settings.php
7 years ago
javascript_settings.php
7 years ago
mail.png
7 years ago
selected_products.php
7 years ago
settings.php
7 years ago
settings_footer.php
7 years ago
settings_head.php
7 years ago
style_settings.php
7 years ago
text_settings.php
7 years ago
javascript_settings.php
48 lines
| 1 | <?php $options = BeRocket_Compare_Products::get_compare_products_option ( 'br_compare_products_javascript_settings' ); ?> |
| 2 | <input name="br_compare_products_javascript_settings[settings_name]" type="hidden" value="br_compare_products_javascript_settings"> |
| 3 | <table class="form-table"> |
| 4 | <tr> |
| 5 | <th scope="row"><?php _e('Disable Font Awesome', 'BeRocket_Compare_Products_domain') ?></th> |
| 6 | <td> |
| 7 | <label> |
| 8 | <input name="br_compare_products_javascript_settings[fontawesome_frontend_disable]" value="1" type="checkbox"<?php echo ($options['fontawesome_frontend_disable'] ? ' checked' : ''); ?>> |
| 9 | <?php _e('Don\'t loading css file for Font Awesome on site front end. Use it only if you doesn\'t uses Font Awesome icons in widgets or you have Font Awesome in your theme.', 'BeRocket_Compare_Products_domain') ?> |
| 10 | </label> |
| 11 | </td> |
| 12 | </tr> |
| 13 | <tr> |
| 14 | <th scope="row"><?php _e('Font Awesome Version', 'BeRocket_Compare_Products_domain') ?></th> |
| 15 | <td> |
| 16 | <select name="br_compare_products_javascript_settings[fontawesome_frontend_version]"> |
| 17 | <option value=""<?php if(isset($options['fontawesome_frontend_version']) && $options['fontawesome_frontend_version'] == '') echo ' selected'; ?>><?php _e('Font Awesome 4', 'BeRocket_Compare_Products_domain') ?></option> |
| 18 | <option value="fontawesome5"<?php if(isset($options['fontawesome_frontend_version']) && $options['fontawesome_frontend_version'] == 'fontawesome5') echo ' selected'; ?>><?php _e('Font Awesome 5', 'BeRocket_Compare_Products_domain') ?></option> |
| 19 | </select> |
| 20 | <?php _e('Version of Font Awesome that will be used on front end. Please select version that you have in your theme', 'BeRocket_Compare_Products_domain'); ?> |
| 21 | </td> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <th><?php _e( 'Before products load', 'BeRocket_Compare_Products_domain' ) ?></th> |
| 25 | <td> |
| 26 | <textarea name="br_compare_products_javascript_settings[before_load]"><?php echo @ $options['before_load']; ?></textarea> |
| 27 | </td> |
| 28 | </tr> |
| 29 | <tr> |
| 30 | <th><?php _e( 'After products load', 'BeRocket_Compare_Products_domain' ) ?></th> |
| 31 | <td> |
| 32 | <textarea name="br_compare_products_javascript_settings[after_load]"><?php echo @ $options['after_load']; ?></textarea> |
| 33 | </td> |
| 34 | </tr> |
| 35 | <tr> |
| 36 | <th><?php _e( 'Before remove product', 'BeRocket_Compare_Products_domain' ) ?></th> |
| 37 | <td> |
| 38 | <textarea name="br_compare_products_javascript_settings[before_load]"><?php echo @ $options['before_remove']; ?></textarea> |
| 39 | </td> |
| 40 | </tr> |
| 41 | <tr> |
| 42 | <th><?php _e( 'After remove product', 'BeRocket_Compare_Products_domain' ) ?></th> |
| 43 | <td> |
| 44 | <textarea name="br_compare_products_javascript_settings[after_load]"><?php echo @ $options['after_remove']; ?></textarea> |
| 45 | </td> |
| 46 | </tr> |
| 47 | </table> |
| 48 |