Changeset 2384390
- Timestamp:
- 09/18/2020 11:41:58 AM (6 years ago)
- Location:
- master-elements/trunk
- Files:
-
- 9 edited
-
addons/widgets/navigation/navigation.php (modified) (1 diff)
-
admin/pages/addons.php (modified) (2 diffs)
-
admin/pages/dashboard.php (modified) (1 diff)
-
admin/pages/license.php (modified) (2 diffs)
-
admin/pages/modules.php (modified) (4 diffs)
-
changelog.txt (modified) (1 diff)
-
masterelements.php (modified) (1 diff)
-
modules/theme-builder/me-cpt.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
master-elements/trunk/addons/widgets/navigation/navigation.php
r2383627 r2384390 1518 1518 <!-- ///////////////////////////////////////////////// --> 1519 1519 1520 <?php if ($settings['master_navigation_header_alignment'] == 'center') { ?>1520 <?php if ($settings['master_navigation_header_alignment'] == 'center') { echo 'center'; ?> 1521 1521 <header class="stickys master-nav-header<?= $headerAlign ?><?= $class ?><?= $header ?>" 1522 1522 data-animate="<?= $settings['master_navigation_entrance_animation'] ?>" -
master-elements/trunk/admin/pages/addons.php
r2363890 r2384390 18 18 return $value; 19 19 } 20 20 21 ?> 21 22 … … 61 62 $activation = (isset($settings[$type['id']]['name']) && $settings[$type['id']]['name'] = $type['id']) ? $settings[$type['id']]['value'] : 'no'; 62 63 63 64 64 65 ?> 65 <?php 66 $woo_value = get_me_settings_for_woo(); 67 68 if($type['id'] == 'me_woo_products'){ 66 <?php 67 $woo_value = get_me_settings_for_woo(); 69 68 70 if($woo_value == 'yes') 71 { 72 ?><div class="em-switch-box"> 69 if ($type['id'] == 'me_woo_products') { 73 70 74 <div class="master-switch-group "> 75 76 77 <label class="attr-input-label"><?php esc_html_e($type['name'], 'masterelements'); ?></label> 78 79 <div class="master-admin-input-switch me_settings"> 80 81 <input type="checkbox" value="<?= $activation; ?>" 82 class="master-admin-control-input master-template-activition master-active-<?= $activation; ?>" 83 name="activation_val"> 84 85 <label class="master-admin-control-label" for="master_activation_modal_input"> 86 87 <span class="master-admin-control-label-switch" data-active="ON" 88 89 data-inactive="OFF"></span> 90 91 </label> 92 93 <label type="hidden" name="type" class="type_filed" value="yes"> 94 95 <label type="hidden" class="activation_filed" name="activation" 96 value="yes"> 97 98 </div> 99 100 <div class="info"> 101 <a href="#">How to</a> 102 </div> 103 104 </div> 105 106 </div><?php 107 } 108 else{ 109 110 } 111 } 112 else{?> 71 if ($woo_value == 'yes') { 72 ?> 113 73 <div class="em-switch-box"> 114 74 115 75 <div class="master-switch-group "> 116 117 76 77 118 78 <label class="attr-input-label"><?php esc_html_e($type['name'], 'masterelements'); ?></label> 119 79 120 80 <div class="master-admin-input-switch me_settings"> 121 81 122 82 <input type="checkbox" value="<?= $activation; ?>" 123 83 class="master-admin-control-input master-template-activition master-active-<?= $activation; ?>" 124 84 name="activation_val"> 125 85 86 <label class="master-admin-control-label" for="master_activation_modal_input"> 87 88 <span class="master-admin-control-label-switch" data-active="ON" 89 90 data-inactive="OFF"></span> 91 92 </label> 93 94 <label type="hidden" name="type" class="type_filed" value="yes"> 95 96 <label type="hidden" class="activation_filed" name="activation" 97 value="yes"> 98 99 </div> 100 101 <div class="info"> 102 <a href="#">How to</a> 103 </div> 104 105 </div> 106 107 </div><?php 108 } else { 109 110 } 111 } else { 112 ?> 113 <div class="em-switch-box"> 114 115 <div class="master-switch-group "> 116 117 118 <label class="attr-input-label"><?php esc_html_e($type['name'], 'masterelements'); ?></label> 119 120 <div class="master-admin-input-switch me_settings"> 121 122 <input type="checkbox" value="<?= $activation; ?>" 123 class="master-admin-control-input master-template-activition master-active-<?= $activation; ?>" 124 name="activation_val"> 125 126 126 <label class="master-admin-control-label" for="master_activation_modal_input"> 127 127 128 128 <span class="master-admin-control-label-switch" data-active="ON" 129 129 130 130 data-inactive="OFF"></span> 131 131 132 132 </label> 133 133 134 134 <input type="hidden" name="type" class="type_filed" value="<?= $type['id']; ?>"> 135 135 136 136 <input type="hidden" class="activation_filed" name="activation" 137 137 value="<?= (!empty($activation) ? $activation : 'yes?no'); ?>"> 138 138 139 139 </div> 140 140 141 141 <div class="info"> 142 142 <a href="#">How to</a> 143 143 </div> 144 144 145 145 </div> 146 146 147 147 </div> 148 149 150 148 151 <?php 152 } 153 149 150 <?php 151 } 152 154 153 } ?> 155 154 -
master-elements/trunk/admin/pages/dashboard.php
r2377834 r2384390 57 57 <button class="em-tablinks" 58 58 onclick="openDashboardTab('Dashboard')"><?php echo __('Dashboard', 'masterelements'); ?></button> 59 60 <!-- <button class="em-tablinks" onclick="openDashboardTab('Customization')">-->61 <?php //echo __('Customization','masterelements'); ?><!--</button>-->62 63 <!-- <button class="em-tablinks" onclick="openDashboardTab('Demo-Importer')">-->64 <?php //echo __('Demo Importer','masterelements'); ?><!--</button>-->65 66 <!-- <button class="em-tablinks" onclick="openDashboardTab('Template-Kits')">-->67 <?php //echo __('Templates','masterelements'); ?><!--</button>-->68 69 <!-- <button class="em-tablinks" onclick="openDashboardTab('Plugins')">-->70 <?php //echo __('Plugins','masterelements'); ?><!--</button>-->71 59 72 60 <button class="em-tablinks" -
master-elements/trunk/admin/pages/license.php
r2317395 r2384390 1 1 <div class="em-option-boxes"> 2 2 3 <h2 class="margin-top0 font-size36 margin-bottom20">License Settings</h2>3 <h2 class="margin-top0 font-size36 margin-bottom20">License Settings</h2> 4 4 5 <p class="line-height24">Enter your license Key here to activate MasterElements and get features updates support and<br>5 <p class="line-height24">Enter your license Key here to activate MasterElements and get features updates support and<br> 6 6 7 7 unlimited access to the template libary</p> 8 8 9 <ol class="license-listing">9 <ol class="license-listing"> 10 10 11 <li>Log in to your <a href="#">Themeforest account</a> to get your license Key.11 <li>Log in to your <a href="#">Themeforest account</a> to get your license Key. 12 12 13 <li>If you don’t yet have a license key, get <a href="#">ElemenKit Widgets</a> now.</li>13 <li>If you don’t yet have a license key, get <a href="#">ElemenKit Widgets</a> now.</li> 14 14 15 <li>Copy the ElementKit license Key from your account and paste it below.</li>15 <li>Copy the ElementKit license Key from your account and paste it below.</li> 16 16 17 </ol>17 </ol> 18 18 19 <h4>Your License Key</h4>19 <h4>Your License Key</h4> 20 20 21 <form action="" class="activation_form">21 <form action="" class="activation_form"> 22 22 23 <input type="text" placeholder="Please insert your license Key here"/>23 <input type="text" placeholder="Please insert your license Key here"/> 24 24 25 <button type="submit" class="submit-btn">Activate</button>25 <button type="submit" class="submit-btn">Activate</button> 26 26 27 </form>27 </form> 28 28 29 29 30 <div class="product-key-not-fout"> 30 31 31 <div class="product-key-not-fout">32 <P>Still can’t find your lisence Key? <a href="#">Read here!</a></P> 32 33 33 <P>Still can’t find your lisence Key? <a href="#">Read here!</a></P>34 </div> 34 35 35 </div> 36 37 </div> 38 39 </div> 40 41 <?php 36 42 37 43 … … 39 45 40 46 41 </div>42 43 </div>44 45 <?php46 47 48 49 50 -
master-elements/trunk/admin/pages/modules.php
r2378780 r2384390 5 5 6 6 function missing_woocommmerce_notice() 7 { 8 9 if (file_exists(WP_PLUGIN_DIR . '/woocommerce/woocommerce.php')) { 7 { 10 8 11 $btn['label'] = esc_html__('Activate Woocommerce', 'masterelements');9 if (file_exists(WP_PLUGIN_DIR . '/woocommerce/woocommerce.php')) { 12 10 13 $btn['url'] = wp_nonce_url('plugins.php?action=activate&plugin=woocommerce/woocommerce.php&plugin_status=all&paged=1', 'activate-plugin_woocommerce/woocommerce.php');11 $btn['label'] = esc_html__('Activate Woocommerce', 'masterelements'); 14 12 15 } else { 16 17 $btn['label'] = esc_html__('Install Woocommerce', 'masterelements'); 13 $btn['url'] = wp_nonce_url('plugins.php?action=activate&plugin=woocommerce/woocommerce.php&plugin_status=all&paged=1', 'activate-plugin_woocommerce/woocommerce.php'); 18 14 19 $btn['url'] = wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=woocommerce'), 'install-plugin_woocommerce');15 } else { 20 16 21 }17 $btn['label'] = esc_html__('Install Woocommerce', 'masterelements'); 22 18 23 \MasterElements\Notice::sendParams(19 $btn['url'] = wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=woocommerce'), 'install-plugin_woocommerce'); 24 20 25 [ 21 } 22 23 \MasterElements\Notice::sendParams( 24 25 [ 26 26 27 27 28 'type' => 'error',28 'type' => 'error', 29 29 30 'dismissible' => true,30 'dismissible' => true, 31 31 32 'btn' => $btn,32 'btn' => $btn, 33 33 34 'message' => '',34 'message' => '', 35 35 36 ]36 ] 37 37 38 );39 40 }41 38 ); 39 40 } 41 42 42 43 43 ?> … … 66 66 67 67 foreach ($template_types as $type) { 68 69 68 69 70 70 $activation = (isset($settings[$type['id']]['name']) && $settings[$type['id']]['name'] = $type['id']) ? $settings[$type['id']]['value'] : 'no'; 71 71 72 72 73 73 ?> 74 74 … … 91 91 echo '<input type="hidden" name="type" class="sub_addons" value="' . $sub_addon . '">'; 92 92 } 93 94 93 94 95 95 ?> 96 96 97 97 <input type="hidden" class="activation_filed" id="activation_filed" name="activation" 98 98 value="<?= (!empty($activation) ? $activation : 'yes?no'); ?>"> … … 107 107 </div> 108 108 <?php 109 if ( $type['id'] == 'me_wooproduct' && $activation == 'yes')110 {111 if (file_exists(WP_PLUGIN_DIR . '/woocommerce/woocommerce.php') && is_plugin_active('woocommerce/woocommerce.php'))112 {113 //echo "Active";109 if ($type['id'] == 'me_wooproduct' && $activation == 'yes') { 110 if (file_exists(WP_PLUGIN_DIR . '/woocommerce/woocommerce.php') && is_plugin_active('woocommerce/woocommerce.php')) { 111 //echo "Active"; 112 } else { 113 missing_woocommmerce_notice(); 114 114 } 115 else 116 { 117 missing_woocommmerce_notice(); 118 } 119 115 120 116 } 121 117 ?> -
master-elements/trunk/changelog.txt
r2383627 r2384390 1 18/09/2020 2 3 Version 5.9 4 5 [Fix] ID 6 7 18/09/2020 8 9 Version 5.8 10 11 [Fix] Design 12 1 13 17/09/2020 2 14 -
master-elements/trunk/masterelements.php
r2383627 r2384390 10 10 * Plugin URI: https://akdesigner.com/ 11 11 * Author: TeamDevBunch 12 * Version: 5. 712 * Version: 5.9 13 13 * Tested up to: 5.5 14 14 * Author URI: https://devbunch.com/ -
master-elements/trunk/modules/theme-builder/me-cpt.php
r2378780 r2384390 1488 1488 1489 1489 1490 return false;1490 return 0; 1491 1491 1492 1492 } -
master-elements/trunk/readme.txt
r2383627 r2384390 64 64 65 65 == Changelog == 66 = 18/09/2020 Version 5.9 = 67 * [Fix] ID 68 69 = 18/09/2020 Version 5.8 = 70 * [Fix] Design 71 66 72 = 17/09/2020 Version 5.7 = 67 73 * [Fix] Navigation Fix
Note: See TracChangeset
for help on using the changeset viewer.