PluginProbe ʕ •ᴥ•ʔ
Products Compare for WooCommerce / 1.0.13.1
Products Compare for WooCommerce v1.0.13.1
3.6.2.8 3.6.2.7 trunk 1.0.1 1.0.10 1.0.10.1 1.0.11 1.0.11.1 1.0.12 1.0.13 1.0.13.1 1.0.2 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 3.5 3.5.0.1 3.5.0.2 3.5.1 3.5.1.1 3.5.1.2 3.5.1.3 3.5.1.4 3.5.1.5 3.5.1.6 3.5.1.7 3.5.2 3.5.2.1 3.5.2.2 3.5.2.3 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.7.1 3.5.7.2 3.5.7.3 3.5.7.4 3.5.7.5 3.5.7.6 3.5.7.7 3.5.7.8 3.5.7.9 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.6.2.1 3.6.2.2 3.6.2.3 3.6.2.4 3.6.2.5 3.6.2.6
products-compare-for-woocommerce / templates / settings.php
products-compare-for-woocommerce / templates Last commit date
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
settings.php
49 lines
1 <div class="wrap">
2 <?php
3 $dplugin_name = 'WooCommerce Products Compare';
4 $dplugin_link = 'http://berocket.com/product/woocommerce-products-compare';
5 $dplugin_price = 20;
6 $dplugin_lic = 7;
7 $dplugin_desc = '';
8 @ include 'settings_head.php';
9 @ include 'discount.php';
10 ?>
11 <div class="wrap show_premium">
12 <div id="icon-themes" class="icon32"></div>
13 <h2>Compare Products Settings</h2>
14 <?php settings_errors(); ?>
15
16 <?php $active_tab = isset( $_GET[ 'tab' ] ) ? @ $_GET[ 'tab' ] : 'general'; ?>
17
18 <h2 class="nav-tab-wrapper">
19 <a href="?page=br-compare-products&tab=general" class="nav-tab <?php echo $active_tab == 'general' ? 'nav-tab-active' : ''; ?>"><?php _e('General', 'BeRocket_Compare_Products_domain') ?></a>
20 <a href="?page=br-compare-products&tab=style" class="nav-tab <?php echo $active_tab == 'style' ? 'nav-tab-active' : ''; ?>"><?php _e('Style', 'BeRocket_Compare_Products_domain') ?></a>
21 <a href="?page=br-compare-products&tab=text" class="nav-tab <?php echo $active_tab == 'text' ? 'nav-tab-active' : ''; ?>"><?php _e('Text', 'BeRocket_Compare_Products_domain') ?></a>
22 <a href="?page=br-compare-products&tab=javascript" class="nav-tab <?php echo $active_tab == 'javascript' ? 'nav-tab-active' : ''; ?>"><?php _e('JavaScript', 'BeRocket_Compare_Products_domain') ?></a>
23 </h2>
24
25 <form class="lmp_submit_form" method="post" action="options.php">
26 <?php
27 if( $active_tab == 'general' ) {
28 settings_fields( 'br_compare_products_general_settings' );
29 do_settings_sections( 'br_compare_products_general_settings' );
30 } else if( $active_tab == 'style' ) {
31 settings_fields( 'br_compare_products_style_settings' );
32 do_settings_sections( 'br_compare_products_style_settings' );
33 } else if( $active_tab == 'text' ) {
34 settings_fields( 'br_compare_products_text_settings' );
35 do_settings_sections( 'br_compare_products_text_settings' );
36 } else if( $active_tab == 'javascript' ) {
37 settings_fields( 'br_compare_products_javascript_settings' );
38 do_settings_sections( 'br_compare_products_javascript_settings' );
39 }
40 ?>
41 <input type="submit" class="button-primary" value="<?php _e('Save Changes', 'BeRocket_Compare_Products_domain') ?>" />
42 </form>
43 </div>
44 <?php
45 $feature_list = array();
46 @ include 'settings_footer.php';
47 ?>
48 </div>
49