Changeset 2758087
- Timestamp:
- 07/18/2022 05:01:17 PM (4 years ago)
- Location:
- elekits
- Files:
-
- 91 added
- 5 edited
-
tags/0.0.9 (added)
-
tags/0.0.9/LICENSE.txt (added)
-
tags/0.0.9/README.txt (added)
-
tags/0.0.9/admin (added)
-
tags/0.0.9/admin/class-elekits-admin.php (added)
-
tags/0.0.9/admin/css (added)
-
tags/0.0.9/admin/css/elekits-admin.css (added)
-
tags/0.0.9/admin/elementor (added)
-
tags/0.0.9/admin/elementor/assets (added)
-
tags/0.0.9/admin/elementor/assets/css (added)
-
tags/0.0.9/admin/elementor/assets/css/admin-rtl.css (added)
-
tags/0.0.9/admin/elementor/assets/css/admin.css (added)
-
tags/0.0.9/admin/elementor/assets/css/elementor-admin-dark-rtl.css (added)
-
tags/0.0.9/admin/elementor/assets/css/elementor-admin-dark.css (added)
-
tags/0.0.9/admin/elementor/assets/css/elementor-admin.css (added)
-
tags/0.0.9/admin/elementor/assets/css/images-rtl.css (added)
-
tags/0.0.9/admin/elementor/assets/css/images.css (added)
-
tags/0.0.9/admin/elementor/assets/fonts (added)
-
tags/0.0.9/admin/elementor/assets/fonts/elekits-sites.eot (added)
-
tags/0.0.9/admin/elementor/assets/fonts/elekits-sites.svg (added)
-
tags/0.0.9/admin/elementor/assets/fonts/elekits-sites.ttf (added)
-
tags/0.0.9/admin/elementor/assets/fonts/elekits-sites.woff (added)
-
tags/0.0.9/admin/elementor/assets/images (added)
-
tags/0.0.9/admin/elementor/assets/images/arrow-blue.svg (added)
-
tags/0.0.9/admin/elementor/assets/images/beaver-builder.jpg (added)
-
tags/0.0.9/admin/elementor/assets/images/block-editor.png (added)
-
tags/0.0.9/admin/elementor/assets/images/brizy.jpg (added)
-
tags/0.0.9/admin/elementor/assets/images/elekits-icon.png (added)
-
tags/0.0.9/admin/elementor/assets/images/elekits-icon.svg (added)
-
tags/0.0.9/admin/elementor/assets/images/elementor.jpg (added)
-
tags/0.0.9/admin/elementor/assets/images/empty-collection.svg (added)
-
tags/0.0.9/admin/elementor/assets/images/gutenberg.jpg (added)
-
tags/0.0.9/admin/elementor/assets/images/pixabay-logo.png (added)
-
tags/0.0.9/admin/elementor/assets/images/placeholder.png (added)
-
tags/0.0.9/admin/elementor/assets/images/pro-crown.svg (added)
-
tags/0.0.9/admin/elementor/assets/images/quick-link-logo.svg (added)
-
tags/0.0.9/admin/elementor/assets/js (added)
-
tags/0.0.9/admin/elementor/assets/js/common.js (added)
-
tags/0.0.9/admin/elementor/assets/js/dist (added)
-
tags/0.0.9/admin/elementor/assets/js/dist/main.js (added)
-
tags/0.0.9/admin/elementor/assets/js/elementor-admin-page.js (added)
-
tags/0.0.9/admin/elementor/assets/js/helper.js (added)
-
tags/0.0.9/admin/elementor/class-elekits-site.php (added)
-
tags/0.0.9/admin/elementor/includes (added)
-
tags/0.0.9/admin/elementor/includes/admin-page.php (added)
-
tags/0.0.9/admin/elementor/includes/image-templates.php (added)
-
tags/0.0.9/admin/elementor/includes/templates.php (added)
-
tags/0.0.9/admin/elementor/includes/white-label.php (added)
-
tags/0.0.9/admin/index.php (added)
-
tags/0.0.9/admin/js (added)
-
tags/0.0.9/admin/js/elekits-admin.js (added)
-
tags/0.0.9/admin/partials (added)
-
tags/0.0.9/admin/partials/elekits-admin-display.php (added)
-
tags/0.0.9/elekits.php (added)
-
tags/0.0.9/includes (added)
-
tags/0.0.9/includes/class-elekits-activator.php (added)
-
tags/0.0.9/includes/class-elekits-deactivator.php (added)
-
tags/0.0.9/includes/class-elekits-i18n.php (added)
-
tags/0.0.9/includes/class-elekits-loader.php (added)
-
tags/0.0.9/includes/class-elekits.php (added)
-
tags/0.0.9/includes/classes (added)
-
tags/0.0.9/includes/classes/class-elekits-sites-elementor-pages.php (added)
-
tags/0.0.9/includes/classes/class-elekits-sites-error-handler.php (added)
-
tags/0.0.9/includes/classes/class-elekits-sites-importer-log.php (added)
-
tags/0.0.9/includes/classes/class-elekits-sites-importer.php (added)
-
tags/0.0.9/includes/classes/class-elekits-sites-page.php (added)
-
tags/0.0.9/includes/classes/class-elekits-sites-white-label.php (added)
-
tags/0.0.9/includes/elekits-core-functions.php (added)
-
tags/0.0.9/includes/importers (added)
-
tags/0.0.9/includes/importers/batch-processing (added)
-
tags/0.0.9/includes/importers/batch-processing/class-elekits-sites-batch-processing-importer.php (added)
-
tags/0.0.9/includes/importers/batch-processing/class-elekits-sites-batch-processing.php (added)
-
tags/0.0.9/includes/importers/batch-processing/helpers (added)
-
tags/0.0.9/includes/importers/batch-processing/helpers/class-wp-async-request.php (added)
-
tags/0.0.9/includes/importers/batch-processing/helpers/class-wp-background-process-elekits-site-importer.php (added)
-
tags/0.0.9/includes/importers/batch-processing/helpers/class-wp-background-process.php (added)
-
tags/0.0.9/includes/importers/class-elekits-sites-helper.php (added)
-
tags/0.0.9/includes/index.php (added)
-
tags/0.0.9/index.php (added)
-
tags/0.0.9/languages (added)
-
tags/0.0.9/languages/elekits.pot (added)
-
tags/0.0.9/public (added)
-
tags/0.0.9/public/class-elekits-public.php (added)
-
tags/0.0.9/public/css (added)
-
tags/0.0.9/public/css/elekits-public.css (added)
-
tags/0.0.9/public/index.php (added)
-
tags/0.0.9/public/js (added)
-
tags/0.0.9/public/js/elekits-public.js (added)
-
tags/0.0.9/public/partials (added)
-
tags/0.0.9/public/partials/elekits-public-display.php (added)
-
tags/0.0.9/uninstall.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-elekits-admin.php (modified) (5 diffs)
-
trunk/admin/elementor/assets/js/elementor-admin-page.js (modified) (2 diffs)
-
trunk/admin/elementor/class-elekits-site.php (modified) (1 diff)
-
trunk/elekits.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
elekits/trunk/README.txt
r2757048 r2758087 6 6 Tested up to: 6.0 7 7 Requires PHP: 7.4 8 Stable tag: 0.0. 88 Stable tag: 0.0.9 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 30 30 31 31 == Changelog == 32 33 = 0.0.9 - 2022-07-18 = 34 * Small fix dark mode view and Improvement 32 35 33 36 = 0.0.8 - 2022-07-15 = -
elekits/trunk/admin/class-elekits-admin.php
r2755956 r2758087 81 81 { 82 82 $screen = get_current_screen(); 83 if (isset($screen->parent_file) && 'plugins.php' === $screen->parent_file && 'update' === $screen->id ) {83 if (isset($screen->parent_file) && 'plugins.php' === $screen->parent_file && 'update' === $screen->id || 'toplevel_page_elekits-sites' === $screen->id) { 84 84 return; 85 85 } … … 88 88 $is_recomended_plugin = false; 89 89 $is_require_plugin = false; 90 $message = '<h2 class="elekits-line-bottom-warning">' . __("EleKits Re commended / Required Plugin", 'elekits-site') . '</h2>';90 $message = '<h2 class="elekits-line-bottom-warning">' . __("EleKits Required Plugin", 'elekits-site') . '</h2>'; 91 91 $recommended_plugin = array( 92 92 'elementor-pro' => array( … … 107 107 ); 108 108 if (!did_action('elementor/loaded')) { 109 $message .= '<h2 class="elekits-line-bottom-warning">' . __("Required Plugin", 'elekits-site') . '</h2>';110 109 if (_is_elementor_installed()) { 111 110 if (!current_user_can('activate_plugins')) { … … 130 129 } 131 130 } 132 if ($recommended_plugin) { 133 $message .= '<h2 class="elekits-line-bottom-warning">' . __("Recommended Plugin", 'elekits-site') . '</h2>'; 134 foreach ($recommended_plugin as $k => $val) { 135 $plugin_file = $val['plugin_file']; 136 $plugin_name = $val['plugin_name']; 137 $plugin_text = $val['plugin_text']; 138 $activation_url = wp_nonce_url('plugins.php?action=activate&plugin=' . $plugin_file . '&plugin_status=all&paged=1&s', 'activate-plugin_' . $plugin_file); 139 $install_url = wp_nonce_url(self_admin_url("update.php?action=install-plugin&plugin=$k"), "install-plugin_$k"); 140 if ($k == "elementor-pro") { 141 $link = ELEKITS_STORE_URL . 'id/elekits-pro-id/elementor-pro/'; 142 if (_is_plugins_installed($plugin_file) && !is_plugin_active($plugin_file)) { 143 if (!current_user_can('activate_plugins')) { 144 return; 145 } 146 $is_recomended_plugin = true; 147 $message .= '<h3>' . esc_html__("Activate the $plugin_name", 'elekits-sites') . '</h3>'; 148 $message .= '<p>' . esc_html__("Before you can use all the features of EleKits, you need to activate the $plugin_name.", 'elekits-sites') . '</p>'; 149 $message .= '<p>' . sprintf('<a href="%s" class="button-primary">%s</a>', $activation_url, esc_html__("Activate $plugin_text", 'elekits-sites')) . '</p>'; 150 } else { 151 if (!file_exists(WP_PLUGIN_DIR . $plugin_file) && _is_plugins_installed($plugin_file) && !is_plugin_active($plugin_file)) { 152 $message .= '<h3>' . sprintf(__('Get access plugin %s', 'elekits-sites'), $plugin_text) . '</h3>'; 153 $message .= '<p>' . sprintf(__('%s', 'elekits-sites'), '<a href="' . esc_url($link) . '" class="button-primary" target="_blank">Get access ' . $plugin_text . '</a>') . '</p>'; 154 } 155 } 156 } else { 157 158 if (_is_plugins_installed($plugin_file)) { 159 if (!is_plugin_active($plugin_file)) { 160 if (!current_user_can('activate_plugins')) { 161 return; 162 } 163 $is_recomended_plugin = true; 164 $message .= '<h3>' . esc_html__("Activate the $plugin_name", 'elekits-sites') . '</h3>'; 165 $message .= '<p>' . esc_html__("Before you can use all the features of EleKits, you need to activate the $plugin_name.", 'elekits-sites') . '</p>'; 166 $message .= '<p>' . sprintf('<a href="%s" class="button-primary">%s</a>', $activation_url, esc_html__("Activate $plugin_text", 'elekits-sites')) . '</p>'; 167 } 168 } else { 169 if (!current_user_can('install_plugins')) { 170 return; 171 } 172 $is_recomended_plugin = true; 173 $message .= '<h3>' . esc_html__("Install and Activate the $plugin_name", 'elekits-sites') . '</h3>'; 174 $message .= '<p>' . esc_html__("Before you can use all the features of EleKits, you need to install and activate the $plugin_name.", 'elekits-sites') . '</p>'; 175 $message .= '<p>' . sprintf('<a href="%s" class="button-primary">%s</a>', $install_url, esc_html__("Install $plugin_text", 'elekits-sites')) . '</p>'; 176 } 177 } 178 } 179 } 180 if ($is_recomended_plugin || $is_require_plugin) { 131 if ($is_require_plugin) { 181 132 elekit_site_print_error($message); 182 133 } … … 193 144 194 145 // Draw option page 195 public function elekits_sites_config_page( )146 public function elekits_sites_config_page($ook) 196 147 { 197 148 ?> -
elekits/trunk/admin/elementor/assets/js/elementor-admin-page.js
r2757048 r2758087 834 834 .done(function (response) { 835 835 console.groupEnd(); 836 console.log(response);837 836 if (response.success) { 838 837 if (typeof response.data !== "undefined"){ … … 1328 1327 1329 1328 _open: function (e) { 1330 //$(document).trigger('elekits-sites__elementor-open-before'); 1331 1329 $(document).trigger('elekits-sites__elementor-open-before'); 1332 1330 $('body').addClass('elekits-sites__elementor-open'); 1333 1331 $elscope_elekits.find('.elekits-preview-actions-wrap').remove(); -
elekits/trunk/admin/elementor/class-elekits-site.php
r2757048 r2758087 210 210 'template_id' => $template_id, 211 211 'type_template' => $type_template, 212 'timeout' => 30 ,212 'timeout' => 30 213 213 ); 214 214 -
elekits/trunk/elekits.php
r2757048 r2758087 17 17 * Plugin URI: https://wphosthub.com 18 18 * Description: Responsive and high-converting Elementor landing page templates. 19 * Version: 0.0. 819 * Version: 0.0.9 20 20 * Author: WPhostHub 21 21 * Author URI: https://profiles.wordpress.org/wphosthub/ … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'ELEKITS_VERSION', '0.0. 8' );38 define( 'ELEKITS_VERSION', '0.0.9' ); 39 39 define( 'ELEKITS_FILE', __FILE__ ); 40 40 define( 'ELEKITS_DIR_PATH', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset
for help on using the changeset viewer.