Changeset 3466935
- Timestamp:
- 02/22/2026 03:24:16 PM (6 weeks ago)
- Location:
- hootkit/trunk
- Files:
-
- 8 edited
-
README.txt (modified) (2 diffs)
-
hootkit.php (modified) (2 diffs)
-
languages/hootkit.pot (modified) (4 diffs)
-
misc/import/assets/hootkitimport.css (modified) (5 diffs)
-
misc/import/assets/hootkitimport.js (modified) (1 diff)
-
misc/import/assets/hootkitimport.scss (modified) (4 diffs)
-
misc/import/include/class-admin.php (modified) (1 diff)
-
misc/import/include/demopacks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
hootkit/trunk/README.txt
r3447348 r3466935 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 3.0. 47 Stable tag: 3.0.5 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 47 47 48 48 == Changelog == 49 50 = 3.0.5 = 51 * Improve Import UX 52 * Add demopacks for Voltino theme 49 53 50 54 = 3.0.4 = -
hootkit/trunk/hootkit.php
r3447348 r3466935 3 3 * Plugin Name: HootKit 4 4 * Description: HootKit is a great companion plugin for WordPress themes by wpHoot. 5 * Version: 3.0. 45 * Version: 3.0.5 6 6 * Requires at least: 6.0 7 7 * Requires PHP: 7.4 … … 64 64 65 65 // Plugin Info 66 $this->version = '3.0. 4';66 $this->version = '3.0.5'; 67 67 $this->name = 'HootKit'; 68 68 $this->slug = 'hootkit'; -
hootkit/trunk/languages/hootkit.pot
r3447348 r3466935 4 4 "Project-Id-Version: HootKit\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2026-0 1-26 23:41+0530\n"6 "POT-Creation-Date: 2026-02-21 19:10+0530\n" 7 7 "PO-Revision-Date: 2021-12-04 00:48+0530\n" 8 8 "Last-Translator: wpHoot <admin@wphoot.com>\n" … … 13 13 "X-Poedit-KeywordsList: __;_e;_n;_x;_ex;_nx;esc_attr__;esc_attr_e;esc_attr_x;esc_html__;esc_html_e;esc_html_x;_n_noop;_nx_noop;translate_nooped_plural\n" 14 14 "X-Poedit-Basepath: .\n" 15 "X-Generator: Poedit 3.0.1\n"15 "X-Generator: Poedit 2.4.1\n" 16 16 "X-Poedit-SearchPath-0: .\n" 17 17 "X-Poedit-SearchPath-1: ..\n" … … 715 715 716 716 #: ../misc/import/include/class-admin.php:145 717 msgid "STATUS UPDATE:" 718 msgstr "" 719 720 #: ../misc/import/include/class-admin.php:145 717 721 msgid "Still working... Please wait..." 722 msgstr "" 723 724 #: ../misc/import/include/class-admin.php:145 725 msgid "Importing XML - Part" 718 726 msgstr "" 719 727 … … 1093 1101 #: ../misc/import/include/demopacks.php:85 1094 1102 msgid "Booster Byte" 1103 msgstr "" 1104 1105 #: ../misc/import/include/demopacks.php:92 1106 msgid "Booster Bombino" 1107 msgstr "" 1108 1109 #: ../misc/import/include/demopacks.php:100 1110 msgid "Voltino Base" 1095 1111 msgstr "" 1096 1112 -
hootkit/trunk/misc/import/assets/hootkitimport.css
r3447348 r3466935 17 17 18 18 /*** Layout ***/ 19 .hootabt-hkimp-multisingle.hootabt-widen .hootabt-gridgen, .hootabt-hkimp-multisingle.hootabt-widen .hootabt-gridbox, .hootabt-hkimp-multisingle.hootabt-widen .hootabt-gridconbox, .hootabt-hkimp-multisingle.hootabt-widen .hootabt-gridflex,20 .hootabt-hkimp-multi.hootabt-widen .hootabt-gridgen,21 .hootabt-hkimp-multi.hootabt-widen .hootabt-gridbox,22 .hootabt-hkimp-multi.hootabt-widen .hootabt-gridconbox,23 .hootabt-hkimp-multi.hootabt-widen .hootabt-gridflex {24 max-width: 1350px;25 }26 27 19 .hootabt-hkimp-multisingle .hootimp-content { 28 20 max-width: 938px; … … 47 39 box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3); 48 40 } 49 .hootabt-hkimp-multi .hootkitimp_idx .hootkitimp_idx-ss {50 height: 475px;51 }52 41 .hootabt-hkimp-multi .hootkitimp_idx .hootkitimp_idx-previewlink { 53 42 background: rgba(255, 255, 255, 0.5); … … 55 44 .hootabt-hkimp-multi .hootkitimp_idx .hootkitimp_idx-foot { 56 45 box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.2); 46 } 47 48 .hootabt-hkimp-multi.hootabt-widen .hootabt-gridgen, .hootabt-hkimp-multi.hootabt-widen .hootabt-gridbox, .hootabt-hkimp-multi.hootabt-widen .hootabt-gridconbox, .hootabt-hkimp-multi.hootabt-widen .hootabt-gridflex, 49 .hootabt-hkimp-multisingle.hootabt-widen .hootabt-gridgen, 50 .hootabt-hkimp-multisingle.hootabt-widen .hootabt-gridbox, 51 .hootabt-hkimp-multisingle.hootabt-widen .hootabt-gridconbox, 52 .hootabt-hkimp-multisingle.hootabt-widen .hootabt-gridflex { 53 max-width: 980px; 57 54 } 58 55 … … 488 485 .hootabt-wrap .hootimp-opbox--plugin_reqd input + .hootimp-toggle:before, 489 486 .hootabt-wrap .hootimp-opbox--plugin_active .hootimp-toggle:before { 490 background-color: # c9ecfd;487 background-color: #e3f4fb; 491 488 transform: translateX(13px); 492 489 } … … 574 571 font-style: normal; 575 572 } 576 #hootimp-loadermsg strong { 577 color: #b1224f; 578 display: block; 579 } 580 #hootimp-loadermsg strong + strong { 573 #hootimp-loadermsg .waitmsg { 574 border-top: solid 1px #ddd; 575 padding-top: 10px; 576 margin-top: 15px; 577 } 578 #hootimp-loadermsg .waitmsg > div { 581 579 color: #2271b1; 582 margin-top: 10px; 583 padding: 5px 10px; 584 background: #c9ecfd; 580 font-weight: normal; 585 581 } 586 582 #hootimp-loadermsg .dashicons-update { -
hootkit/trunk/misc/import/assets/hootkitimport.js
r3401386 r3466935 119 119 } 120 120 var mod = selected[index]; 121 var lmsg = ''; 122 lmsg += '<span>' + hootkitimportData.strings.loading_step + ' ' + step + ' / ' + (steps - 0) + ' :</span> '; 123 if ( mod.type === 'plugin' ) { 124 lmsg += '<em>' + hootkitimportData.strings.loading_plugin + ' ' + mod.name + '</em>'; 125 } else if ( mod.type === 'prepare' ) { 126 lmsg += '<em>' + hootkitimportData.strings.loading_prepare + '</em>'; 127 } else if ( mod.type === 'final' ) { 128 lmsg += '<em>' + hootkitimportData.strings.loading_final + '</em>'; 129 } else { 130 lmsg += '<em>' + hootkitimportData.strings.loading_content + ' ' + mod.name + '</em>'; 131 } 132 if ( mod.value === 'xml' ) { 133 lmsg += ' <strong>' + hootkitimportData.strings.loading_xml + '</strong>'; 134 var xmlmsg = ' <strong><span class="dashicons dashicons-update"></span>STATUS UPDATE: <span style="font-weight:normal">' + hootkitimportData.strings.stillloading_xml + '</span></strong>' 135 if ( xmlretry ) { 136 lmsg += xmlmsg 137 } else { 138 waitmsgInterval = setInterval( function() { 139 if ( !waitmsgAdded ) { 140 $loadermsg.html( lmsg + xmlmsg ); 141 waitmsgAdded = 1; 142 } 143 }, 60000 ); 144 } 145 } 121 var lmsg = '<span>' + hootkitimportData.strings.loading_step + ' ' + step + ' / ' + (steps - 0) + ' :</span> '; 122 if ( mod.type === 'plugin' ) { 123 lmsg += '<em>' + hootkitimportData.strings.loading_plugin + ' ' + mod.name + '</em>'; 124 } else if ( mod.type === 'prepare' ) { 125 lmsg += '<em>' + hootkitimportData.strings.loading_prepare + '</em>'; 126 } else if ( mod.type === 'final' ) { 127 lmsg += '<em>' + hootkitimportData.strings.loading_final + '</em>'; 128 } else { 129 lmsg += '<em>' + hootkitimportData.strings.loading_content + ' ' + mod.name + '</em>'; 130 } 146 131 $loadermsg.html( lmsg ); 147 132 $loaderbar.css( 'width', ( step / steps * 100 ) + '%' ); 133 var updateWaitMsg = function() { 134 waitmsgAdded ++; 135 xmlmsg = `<div class="waitmsg">${hootkitimportData.strings.loading_xml}<div>`; 136 xmlmsg += ` <span class="dashicons dashicons-update"></span>`; 137 xmlmsg += ` ${hootkitimportData.strings.stillloading_xml[2]} ${waitmsgAdded}`; 138 xmlmsg += '</div></div>'; 139 $loadermsg.html(lmsg + xmlmsg); 140 } 141 if ( mod.value === 'xml' ) { 142 var xmlmsg = ` <div class="waitmsg"><span class="dashicons dashicons-update"></span> <strong>${hootkitimportData.strings.stillloading_xml[0]}</strong> <span style="font-weight:normal">${hootkitimportData.strings.stillloading_xml[1]}</span></div>`; 143 if ( xmlretry ) { 144 $loadermsg.html( lmsg += xmlmsg ); 145 } else { 146 setTimeout( updateWaitMsg, 4000 ); 147 waitmsgInterval = setInterval( updateWaitMsg, 10000 ); 148 } 149 } 148 150 $.ajax( { 149 151 url: ajaxurl, -
hootkit/trunk/misc/import/assets/hootkitimport.scss
r3447348 r3466935 4 4 $borderdark: #ccc; // used $$HKITIMP 5 5 $highlightdark: #80bedd; 6 $highlight: # c9ecfd;7 $redhighlight: # b1224f; // used $$HKITIMP6 $highlight: #e3f4fb; 7 $redhighlight: #d63638; // used $$HKITIMP 8 8 $noteorange: #f78d1b; // used $$HKITIMP 9 9 $notegreen: #00a32a; // used $$HKITIMP … … 24 24 #hootabt-wrap.hootabt-hkimp-multi {} 25 25 #hootabt-wrap.hootabt-hkimp-multisingle {} 26 // == theme's div structure ==27 .hootabt-hkimp-multisingle,28 .hootabt-hkimp-multi {29 &.hootabt-widen {30 .hootabt-gridgen, .hootabt-gridbox, .hootabt-gridconbox, .hootabt-gridflex { max-width: 1350px; }31 }32 }33 26 // == hkit's div structure == 34 27 .hootabt-hkimp-multisingle { … … 47 40 &:hover { box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3); } 48 41 } 49 .hootkitimp_idx-ss { height: 475px; }50 42 .hootkitimp_idx-previewlink { background: rgba(255, 255, 255, 0.5); } 51 43 .hootkitimp_idx-foot { box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.2); } 52 44 } 53 45 } 54 46 // == theme's div structure == 47 .hootabt-hkimp-multi, 48 .hootabt-hkimp-multisingle { 49 &.hootabt-widen { 50 .hootabt-gridgen, .hootabt-gridbox, .hootabt-gridconbox, .hootabt-gridflex { max-width: 980px; } 51 } 52 } 55 53 56 54 … … 357 355 span { font-weight: 600; } 358 356 em { font-style: normal; } 359 strong { color: $redhighlight; display: block; } 360 strong + strong { color: $accent; margin-top: 10px; padding: 5px 10px; background: $highlight; } 357 .waitmsg { 358 border-top: solid 1px #ddd; padding-top: 10px; 359 margin-top: 15px; 360 & > div { color: $accent; font-weight: normal; } 361 } 361 362 .dashicons-update { display: inline-block; margin-right: 4px; animation: hootspin 2s linear infinite; } 362 363 @keyframes hootspin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } -
hootkit/trunk/misc/import/include/class-admin.php
r3447348 r3466935 143 143 'loading_content' => esc_html__( 'Importing', 'hootkit' ), 144 144 'loading_xml' => esc_html__( 'Please Wait. This step may take a few minutes.', 'hootkit' ), 145 'stillloading_xml' => esc_html__( 'Still working... Please wait...', 'hootkit'),145 'stillloading_xml' => array( esc_html__( 'STATUS UPDATE:', 'hootkit' ), esc_html__( 'Still working... Please wait...', 'hootkit' ), esc_html__( 'Importing XML - Part', 'hootkit' ) ), 146 146 'loading_final' => esc_html__( 'Finalizing Settings...', 'hootkit' ), 147 147 ), -
hootkit/trunk/misc/import/include/demopacks.php
r3454578 r3466935 97 97 ), 98 98 99 'voltino' => array( 100 'name' => __( 'Voltino Base', 'hootkit' ) . $suffix, 101 'img' => 'voltino-base.jpg', 102 'thumb' => 'voltino-base-thumb.jpg', 103 'preview' => 'https://demosites.wphoot.com/voltino/', 104 'plugins' => array( 'hootkit', 'contact-form-7', 'breadcrumb-navxt', 'woocommerce', 'newsletter' ) 105 ), 106 99 107 ) );
Note: See TracChangeset
for help on using the changeset viewer.