Version Description
- improvement: UI styling improvements
Download this release
Release Info
Developer | soflyy |
Plugin | Import any XML or CSV File to WordPress |
Version | 3.7.0 |
Comparing to | |
See all releases |
Code changes from version 3.6.9 to 3.7.0
- aux/breakdance-logo-black.png +0 -0
- aux/breakdance-promo.php +50 -0
- aux/promo-card-styles.css +106 -0
- plugin.php +7 -2
- readme.txt +4 -1
- static/css/admin.css +31 -10
- static/js/wp-all-import.js +53 -49
- views/admin/import/process.php +57 -35
- views/admin/manage/index.php +14 -13
aux/breakdance-logo-black.png
ADDED
Binary file
|
aux/breakdance-promo.php
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace WPAI\Breakdance;
|
4 |
+
|
5 |
+
function echoPromoCard() {
|
6 |
+
$promoCardStyles = file_get_contents(__DIR__ . "/promo-card-styles.css");
|
7 |
+
?>
|
8 |
+
<style>
|
9 |
+
<?php echo $promoCardStyles; ?>
|
10 |
+
</style>
|
11 |
+
<div class='wpai-breakdance-promo-card'>
|
12 |
+
|
13 |
+
<div class='promo-breakdance-logo-wrapper'>
|
14 |
+
<a href='https://breakdance.com/' target='_blank'><img class='promo-breakdance-logo' width='120' src='<?php echo WP_ALL_IMPORT_ROOT_URL . '/aux/breakdance-logo-black.png'; ?>' /></a>
|
15 |
+
</div>
|
16 |
+
|
17 |
+
<div class='promo-heading'>The Ultimate Visual Website Builder for WordPress</div>
|
18 |
+
<div class='promo-paragraphs'>
|
19 |
+
<p>
|
20 |
+
Brand new from the WP All Import team!
|
21 |
+
</p>
|
22 |
+
|
23 |
+
<p>
|
24 |
+
We've been helping agencies and freelancers build better websites for the last 15 years.
|
25 |
+
</p>
|
26 |
+
<p>
|
27 |
+
After using everything from Visual Composer to Elementor to Oxygen, we decided to create Breakdance - the one visual website builder that can rule them all.
|
28 |
+
</p>
|
29 |
+
</div>
|
30 |
+
|
31 |
+
<a class='promo-button-learn-more' target='_blank' href='https://breakdance.com/'>Learn More & Try For Free<span>(new tab)</span></a>
|
32 |
+
|
33 |
+
<div class='promo-testimonials'>
|
34 |
+
<p>
|
35 |
+
"With the superb toolset this will be a <span>serious go-to for developers and agencies</span>."<br />
|
36 |
+
<b>Kevin Nicholson</b>
|
37 |
+
</p>
|
38 |
+
<p>
|
39 |
+
"I love the idea that <span>Breakdance replaces so many plugins</span>, avoiding Frankenstein WordPress installations."<br />
|
40 |
+
<b>Max Ziebell</b>
|
41 |
+
</p>
|
42 |
+
<p>
|
43 |
+
"It's a great balance between the <span>simplicity of Elementor</span> for non-developers with the <span>power features of Oxygen</span>."<br />
|
44 |
+
<b>Nick Flowers</b>
|
45 |
+
</p>
|
46 |
+
</div>
|
47 |
+
|
48 |
+
</div>
|
49 |
+
<?php
|
50 |
+
}
|
aux/promo-card-styles.css
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.promo-card-and-processing-step-1-wrapper {
|
2 |
+
width: 100%;
|
3 |
+
box-sizing: border-box;
|
4 |
+
display: flex;
|
5 |
+
flex-direction: row;
|
6 |
+
align-items: flex-start;
|
7 |
+
justify-content: flex-start;
|
8 |
+
gap: 30px;
|
9 |
+
margin-top: 30px;
|
10 |
+
}
|
11 |
+
|
12 |
+
.promo-card-and-processing-step-1-wrapper .processing_step_1 {
|
13 |
+
width: 40%;
|
14 |
+
}
|
15 |
+
|
16 |
+
.promo-card-and-processing-step-1-wrapper .wpai-breakdance-promo-card {
|
17 |
+
width: 60%;
|
18 |
+
}
|
19 |
+
|
20 |
+
|
21 |
+
.wpai-breakdance-promo-card, .wpai-breakdance-promo-card * {
|
22 |
+
box-sizing: border-box;
|
23 |
+
}
|
24 |
+
|
25 |
+
.wpai-breakdance-promo-card {
|
26 |
+
display: flex;
|
27 |
+
background-color: #fff;
|
28 |
+
padding: 40px;
|
29 |
+
width: 700px;
|
30 |
+
flex-direction: column;
|
31 |
+
color: black;
|
32 |
+
align-items: flex-start;
|
33 |
+
}
|
34 |
+
|
35 |
+
.promo-pre-heading {
|
36 |
+
font-size: 17px;
|
37 |
+
letter-spacing: 0.2px;
|
38 |
+
margin-bottom: 16px;
|
39 |
+
color: #666;
|
40 |
+
}
|
41 |
+
|
42 |
+
.promo-heading {
|
43 |
+
font-size: 32px;
|
44 |
+
font-weight: 600;
|
45 |
+
margin-bottom: 16px;
|
46 |
+
line-height: 1.25em;
|
47 |
+
}
|
48 |
+
|
49 |
+
.promo-paragraphs {
|
50 |
+
|
51 |
+
}
|
52 |
+
|
53 |
+
.promo-paragraphs p {
|
54 |
+
margin-top: 0;
|
55 |
+
margin-bottom: 12px;
|
56 |
+
font-size: 17px !important;
|
57 |
+
line-height: 1.6;
|
58 |
+
}
|
59 |
+
|
60 |
+
.promo-button-learn-more {
|
61 |
+
background-color: #FFC514;
|
62 |
+
color: black !important;
|
63 |
+
text-decoration: none;
|
64 |
+
font-weight: 700;
|
65 |
+
letter-spacing: 0.2px;
|
66 |
+
padding: 16px 24px;
|
67 |
+
display: flex;
|
68 |
+
align-items: center;
|
69 |
+
justify-content: space-between;
|
70 |
+
gap: 24px;
|
71 |
+
margin-top: 24px;
|
72 |
+
margin-bottom: 24px;
|
73 |
+
}
|
74 |
+
|
75 |
+
.promo-button-learn-more span {
|
76 |
+
font-size: 0.7em;
|
77 |
+
opacity: 0.8;
|
78 |
+
font-weight: 400 !important;
|
79 |
+
}
|
80 |
+
|
81 |
+
.promo-breakdance-logo-wrapper {
|
82 |
+
display: flex;
|
83 |
+
flex-direction: row;
|
84 |
+
justify-content: center;
|
85 |
+
align-items: center;
|
86 |
+
gap: 40px;
|
87 |
+
margin-bottom: 20px;
|
88 |
+
}
|
89 |
+
|
90 |
+
.promo-testimonials p {
|
91 |
+
font-size: 16px !important;
|
92 |
+
line-height: 1.6;
|
93 |
+
font-style: italic;
|
94 |
+
font-weight: 300;
|
95 |
+
}
|
96 |
+
|
97 |
+
.promo-testimonials p b {
|
98 |
+
font-size: 12px !important;
|
99 |
+
font-weight: 300;
|
100 |
+
color: #666;
|
101 |
+
font-style: normal;
|
102 |
+
}
|
103 |
+
|
104 |
+
.promo-testimonials p > span {
|
105 |
+
background-image: linear-gradient(90deg,#ffd5562c,#ffd55651,#ffd5562c);
|
106 |
+
}
|
plugin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP All Import
|
4 |
Plugin URI: http://www.wpallimport.com/wordpress-xml-csv-import/?utm_source=import-plugin-free&utm_medium=wp-plugins-page&utm_campaign=upgrade-to-pro
|
5 |
Description: The most powerful solution for importing XML and CSV files to WordPress. Create Posts and Pages with content from any XML or CSV file. A paid upgrade to WP All Import Pro is available for support and additional features.
|
6 |
-
Version: 3.
|
7 |
Author: Soflyy
|
8 |
*/
|
9 |
|
@@ -25,7 +25,7 @@ define('WP_ALL_IMPORT_ROOT_URL', rtrim(plugin_dir_url(__FILE__), '/'));
|
|
25 |
*/
|
26 |
define('WP_ALL_IMPORT_PREFIX', 'pmxi_');
|
27 |
|
28 |
-
define('PMXI_VERSION', '3.
|
29 |
|
30 |
define('PMXI_EDITION', 'free');
|
31 |
|
@@ -243,6 +243,11 @@ final class PMXI_Plugin {
|
|
243 |
// register autoloading method
|
244 |
spl_autoload_register(array($this, 'autoload'));
|
245 |
|
|
|
|
|
|
|
|
|
|
|
246 |
// register helpers
|
247 |
if (is_dir(self::ROOT_DIR . '/helpers')) foreach (PMXI_Helper::safe_glob(self::ROOT_DIR . '/helpers/*.php', PMXI_Helper::GLOB_RECURSE | PMXI_Helper::GLOB_PATH) as $filePath) {
|
248 |
require_once $filePath;
|
3 |
Plugin Name: WP All Import
|
4 |
Plugin URI: http://www.wpallimport.com/wordpress-xml-csv-import/?utm_source=import-plugin-free&utm_medium=wp-plugins-page&utm_campaign=upgrade-to-pro
|
5 |
Description: The most powerful solution for importing XML and CSV files to WordPress. Create Posts and Pages with content from any XML or CSV file. A paid upgrade to WP All Import Pro is available for support and additional features.
|
6 |
+
Version: 3.7.0
|
7 |
Author: Soflyy
|
8 |
*/
|
9 |
|
25 |
*/
|
26 |
define('WP_ALL_IMPORT_PREFIX', 'pmxi_');
|
27 |
|
28 |
+
define('PMXI_VERSION', '3.7.0');
|
29 |
|
30 |
define('PMXI_EDITION', 'free');
|
31 |
|
243 |
// register autoloading method
|
244 |
spl_autoload_register(array($this, 'autoload'));
|
245 |
|
246 |
+
// require aux code
|
247 |
+
if (is_dir(self::ROOT_DIR . '/aux')) foreach (PMXI_Helper::safe_glob(self::ROOT_DIR . '/aux/*.php', PMXI_Helper::GLOB_RECURSE | PMXI_Helper::GLOB_PATH) as $filePath) {
|
248 |
+
require_once $filePath;
|
249 |
+
}
|
250 |
+
|
251 |
// register helpers
|
252 |
if (is_dir(self::ROOT_DIR . '/helpers')) foreach (PMXI_Helper::safe_glob(self::ROOT_DIR . '/helpers/*.php', PMXI_Helper::GLOB_RECURSE | PMXI_Helper::GLOB_PATH) as $filePath) {
|
253 |
require_once $filePath;
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: soflyy, wpallimport
|
3 |
Requires at least: 4.1
|
4 |
Tested up to: 6.0
|
5 |
-
Stable tag: 3.
|
6 |
Tags: wordpress csv import, wordpress xml import, xml, csv, datafeed, import, migrate, import csv to wordpress, import xml to wordpress, advanced xml import, advanced csv import, bulk csv import, bulk xml import, bulk data import, xml to custom post type, csv to custom post type, woocommerce csv import, woocommerce xml import, csv import, import csv, xml import, import xml, csv importer
|
7 |
|
8 |
WP All Import is an extremely powerful importer that makes it easy to import any XML or CSV file to WordPress.
|
@@ -113,6 +113,9 @@ Does it work with special character encoding like Hebrew, Arabic, Chinese, etc?
|
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
116 |
= 3.6.9 =
|
117 |
* security improvement
|
118 |
* improvement: resolve PHP 8 Deprecated notice
|
2 |
Contributors: soflyy, wpallimport
|
3 |
Requires at least: 4.1
|
4 |
Tested up to: 6.0
|
5 |
+
Stable tag: 3.7.0
|
6 |
Tags: wordpress csv import, wordpress xml import, xml, csv, datafeed, import, migrate, import csv to wordpress, import xml to wordpress, advanced xml import, advanced csv import, bulk csv import, bulk xml import, bulk data import, xml to custom post type, csv to custom post type, woocommerce csv import, woocommerce xml import, csv import, import csv, xml import, import xml, csv importer
|
7 |
|
8 |
WP All Import is an extremely powerful importer that makes it easy to import any XML or CSV file to WordPress.
|
113 |
|
114 |
== Changelog ==
|
115 |
|
116 |
+
= 3.7.0 =
|
117 |
+
* improvement: UI styling improvements
|
118 |
+
|
119 |
= 3.6.9 =
|
120 |
* security improvement
|
121 |
* improvement: resolve PHP 8 Deprecated notice
|
static/css/admin.css
CHANGED
@@ -620,18 +620,33 @@ body.wpallimport-plugin {
|
|
620 |
width: 125px;
|
621 |
height: 24px;
|
622 |
position: relative;
|
623 |
-
top:
|
624 |
}
|
625 |
.wpallimport-plugin .updated_bottom{
|
626 |
background-color: #FFFFE0;
|
627 |
border-color: #E6DB55;
|
628 |
margin: 15px 0 15px;
|
629 |
-
padding:
|
630 |
-
-moz-border-radius: 3px 3px 3px 3px;
|
631 |
border-radius: 3px;
|
632 |
border-style: solid;
|
633 |
border-width: 1px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
634 |
}
|
|
|
|
|
635 |
.wpallimport-plugin .wpallimport-delete-posts-warning{
|
636 |
display: none;
|
637 |
}
|
@@ -3019,23 +3034,29 @@ p.upgrade_link {
|
|
3019 |
background: #fff;
|
3020 |
color: #222222;
|
3021 |
position: relative;
|
|
|
3022 |
}
|
3023 |
.wpallimport-plugin #processbar div{
|
3024 |
background: #76d771;
|
3025 |
height: 70px;
|
3026 |
width: 0%;
|
|
|
|
|
|
|
|
|
3027 |
position: absolute;
|
3028 |
top:0;
|
3029 |
}
|
3030 |
.wpallimport-plugin .progress_processed {
|
|
|
3031 |
margin-bottom: 20px;
|
3032 |
-
|
3033 |
}
|
3034 |
.wpallimport-plugin .progress_details {
|
3035 |
-
|
3036 |
}
|
3037 |
.wpallimport-plugin .progress_details .progress_details_item {
|
3038 |
-
margin-left:
|
3039 |
}
|
3040 |
.wpallimport-plugin #import_progress{
|
3041 |
color: #000000;
|
@@ -3055,16 +3076,16 @@ p.upgrade_link {
|
|
3055 |
color: #326C3B;
|
3056 |
font-size: 60px;
|
3057 |
}
|
3058 |
-
.wpallimport-plugin #right_progress{
|
3059 |
-
|
3060 |
right: 0;
|
3061 |
color:#777;
|
3062 |
}
|
3063 |
.wpallimport-plugin #right_progress span span {
|
3064 |
color:#000;
|
3065 |
}
|
3066 |
-
.wpallimport-plugin #left_progress{
|
3067 |
-
|
3068 |
left: 0;
|
3069 |
color: #777;
|
3070 |
}
|
620 |
width: 125px;
|
621 |
height: 24px;
|
622 |
position: relative;
|
623 |
+
top:3px;
|
624 |
}
|
625 |
.wpallimport-plugin .updated_bottom{
|
626 |
background-color: #FFFFE0;
|
627 |
border-color: #E6DB55;
|
628 |
margin: 15px 0 15px;
|
629 |
+
padding: 12px;
|
|
|
630 |
border-radius: 3px;
|
631 |
border-style: solid;
|
632 |
border-width: 1px;
|
633 |
+
margin-top: 0px;
|
634 |
+
display: flex;
|
635 |
+
justify-content: space-between;
|
636 |
+
align-items: center;
|
637 |
+
flex-direction: row;
|
638 |
+
gap: 12px;
|
639 |
+
}
|
640 |
+
|
641 |
+
.wpallimport-plugin .updated_bottom span {
|
642 |
+
display: flex;
|
643 |
+
justify-content: space-between;
|
644 |
+
align-items: center;
|
645 |
+
flex-direction: row;
|
646 |
+
gap: 12px;
|
647 |
}
|
648 |
+
|
649 |
+
|
650 |
.wpallimport-plugin .wpallimport-delete-posts-warning{
|
651 |
display: none;
|
652 |
}
|
3034 |
background: #fff;
|
3035 |
color: #222222;
|
3036 |
position: relative;
|
3037 |
+
overflow: hidden;
|
3038 |
}
|
3039 |
.wpallimport-plugin #processbar div{
|
3040 |
background: #76d771;
|
3041 |
height: 70px;
|
3042 |
width: 0%;
|
3043 |
+
border-radius: 0;
|
3044 |
+
-moz-border-radius: 0;
|
3045 |
+
-khtml-border-radius: 0;
|
3046 |
+
-webkit-border-radius: 0;
|
3047 |
position: absolute;
|
3048 |
top:0;
|
3049 |
}
|
3050 |
.wpallimport-plugin .progress_processed {
|
3051 |
+
margin-top:20px;
|
3052 |
margin-bottom: 20px;
|
3053 |
+
|
3054 |
}
|
3055 |
.wpallimport-plugin .progress_details {
|
3056 |
+
|
3057 |
}
|
3058 |
.wpallimport-plugin .progress_details .progress_details_item {
|
3059 |
+
margin-left: 0;
|
3060 |
}
|
3061 |
.wpallimport-plugin #import_progress{
|
3062 |
color: #000000;
|
3076 |
color: #326C3B;
|
3077 |
font-size: 60px;
|
3078 |
}
|
3079 |
+
.wpallimport-plugin #right_progress{
|
3080 |
+
text-align:center;
|
3081 |
right: 0;
|
3082 |
color:#777;
|
3083 |
}
|
3084 |
.wpallimport-plugin #right_progress span span {
|
3085 |
color:#000;
|
3086 |
}
|
3087 |
+
.wpallimport-plugin #left_progress{
|
3088 |
+
text-align:center;
|
3089 |
left: 0;
|
3090 |
color: #777;
|
3091 |
}
|
static/js/wp-all-import.js
CHANGED
@@ -1,52 +1,56 @@
|
|
1 |
/**
|
2 |
* plugin javascript
|
3 |
*/
|
4 |
-
(function($)
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
|
|
|
|
|
1 |
/**
|
2 |
* plugin javascript
|
3 |
*/
|
4 |
+
(function ($) {
|
5 |
+
$(function () {
|
6 |
+
$("#dismiss").click(function () {
|
7 |
+
$(this).parents("div.updated:first").slideUp();
|
8 |
+
$.post(
|
9 |
+
"admin.php?page=pmxi-admin-settings&action=dismiss",
|
10 |
+
{ dismiss: true },
|
11 |
+
function (data) {},
|
12 |
+
"html"
|
13 |
+
);
|
14 |
+
});
|
15 |
+
|
16 |
+
$("#dismiss_manage_top").click(function () {
|
17 |
+
$(this).parents("div.updated:first").slideUp();
|
18 |
+
$.post(
|
19 |
+
"admin.php?page=pmxi-admin-settings&action=dismiss_manage_top",
|
20 |
+
{ dismiss: true },
|
21 |
+
function (data) {},
|
22 |
+
"json"
|
23 |
+
);
|
24 |
+
});
|
25 |
+
|
26 |
+
$("#dismiss_manage_bottom").click(function () {
|
27 |
+
$(this).parents("div.updated_bottom").slideUp();
|
28 |
+
$.post(
|
29 |
+
"admin.php?page=pmxi-admin-settings&action=dismiss_manage_bottom",
|
30 |
+
{ dismiss: true },
|
31 |
+
function (data) {},
|
32 |
+
"json"
|
33 |
+
);
|
34 |
+
});
|
35 |
+
|
36 |
+
$(".wpallimport-dismissible")
|
37 |
+
.find("button.notice-dismiss")
|
38 |
+
.on("click", function (e) {
|
39 |
+
var request = {
|
40 |
+
action: "dismiss_notifications",
|
41 |
+
security: wp_all_import_security,
|
42 |
+
addon: $(this).parent("div:first").attr("rel"),
|
43 |
+
};
|
44 |
+
|
45 |
+
var ths = $(this);
|
46 |
+
|
47 |
+
$.ajax({
|
48 |
+
type: "POST",
|
49 |
+
url: ajaxurl,
|
50 |
+
data: request,
|
51 |
+
success: function (response) {},
|
52 |
+
dataType: "json",
|
53 |
+
});
|
54 |
+
});
|
55 |
+
});
|
56 |
+
})(jQuery);
|
views/admin/import/process.php
CHANGED
@@ -12,41 +12,61 @@
|
|
12 |
</div>
|
13 |
|
14 |
<div class="clear"></div>
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
<?php $custom_type = get_post_type_object( PMXI_Plugin::$session->options['custom_type'] ); ?>
|
52 |
|
@@ -296,6 +316,8 @@
|
|
296 |
$('.wpallimport-skipped-notice').show();
|
297 |
}
|
298 |
|
|
|
|
|
299 |
$('#import_finished').show('fast', function() {
|
300 |
let items = $('.wpallimport-complete-details .complete-details-item:visible');
|
301 |
if (items.length > 1) {
|
12 |
</div>
|
13 |
|
14 |
<div class="clear"></div>
|
15 |
+
<?php
|
16 |
+
|
17 |
+
function echoProcessingStep1($update_previous) {
|
18 |
+
?>
|
19 |
+
<div class="processing_step_1">
|
20 |
+
<div class="clear"></div>
|
21 |
+
|
22 |
+
<div class="step_description">
|
23 |
+
<h2><?php _e('Import <span id="status">in Progress</span>', 'wp_all_import_plugin') ?></h2>
|
24 |
+
<h3 id="process_notice"><?php _e('Importing may take some time. Please do not close your browser or refresh the page until the process is complete.', 'wp_all_import_plugin'); ?></h3>
|
25 |
+
</div>
|
26 |
+
<div id="processbar" class="rad30">
|
27 |
+
<div class="rad30"></div>
|
28 |
+
<span id="center_progress"><span id="percents_count">0</span>%</span>
|
29 |
+
</div>
|
30 |
+
<div id="import_progress">
|
31 |
+
<span id="left_progress"><?php _e('Time Elapsed', 'wp_all_import_plugin');?> <span id="then">00:00:00</span></span>
|
32 |
+
<span id="right_progress">
|
33 |
+
<div class="progress_processed">
|
34 |
+
<span><?php _e('Processed', 'wp_all_import_plugin');?> <span class="processed_count"><?php echo ($update_previous->created + $update_previous->updated + $update_previous->skipped); ?></span> <?php _e('of', 'wp_all_import_plugin');?> <span id="of"><?php echo esc_html($update_previous->count); ?></span> <?php _e('records', 'wp_all_import_plugin');?></span>
|
35 |
+
</div>
|
36 |
+
<div class="progress_details">
|
37 |
+
<span class="progress_details_item created_count" <?php if (empty($update_previous->created)): ?>style="display:none;"<?php endif; ?>>
|
38 |
+
<?php _e('Created','wp_all_import_plugin');?> <span class="created_records_count"><?php echo esc_html($update_previous->created); ?></span>
|
39 |
+
</span>
|
40 |
+
<span class="progress_details_item deleted_count" <?php if (empty($update_previous->created)): ?>style="display:none;"<?php endif; ?>>
|
41 |
+
<?php _e('Deleted','wp_all_import_plugin');?> <span class="deleted_records_count"><?php echo esc_html($update_previous->deleted); ?></span>
|
42 |
+
</span>
|
43 |
+
<span class="progress_details_item updated_count" <?php if (empty($update_previous->created)): ?>style="display:none;"<?php endif; ?>>
|
44 |
+
<?php _e('Updated','wp_all_import_plugin');?> <span class="updated_records_count"><?php echo esc_html($update_previous->updated); ?></span>
|
45 |
+
</span>
|
46 |
+
<span class="progress_details_item skipped_count" <?php if (empty($update_previous->skipped)): ?>style="display:none;"<?php endif; ?>>
|
47 |
+
<?php _e('Skipped','wp_all_import_plugin');?> <span class="skipped_records_count"><?php echo esc_html($update_previous->skipped); ?></span>
|
48 |
+
</span>
|
49 |
+
</div>
|
50 |
+
</span>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
<?php
|
54 |
+
}
|
55 |
+
|
56 |
+
if (function_exists('\WPAI\Breakdance\echoPromoCard')) {
|
57 |
+
?>
|
58 |
+
<div class='promo-card-and-processing-step-1-wrapper'>
|
59 |
+
<?php
|
60 |
+
\WPAI\Breakdance\echoPromoCard();
|
61 |
+
echoProcessingStep1($update_previous);
|
62 |
+
?>
|
63 |
+
</div>
|
64 |
+
<?php
|
65 |
+
} else {
|
66 |
+
echoProcessingStep1($update_previous);
|
67 |
+
}
|
68 |
+
|
69 |
+
?>
|
70 |
|
71 |
<?php $custom_type = get_post_type_object( PMXI_Plugin::$session->options['custom_type'] ); ?>
|
72 |
|
316 |
$('.wpallimport-skipped-notice').show();
|
317 |
}
|
318 |
|
319 |
+
$('.promo-card-and-processing-step-1-wrapper').hide();
|
320 |
+
|
321 |
$('#import_finished').show('fast', function() {
|
322 |
let items = $('.wpallimport-complete-details .complete-details-item:visible');
|
323 |
if (items.length > 1) {
|
views/admin/manage/index.php
CHANGED
@@ -1,5 +1,19 @@
|
|
1 |
<h2></h2> <!-- Do not remove -->
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
<div class="wpallimport-header" style="overflow:hidden; height: 70px; padding-top: 10px; margin-bottom: -15px;">
|
4 |
<div class="wpallimport-logo"></div>
|
5 |
<div class="wpallimport-title">
|
@@ -351,19 +365,6 @@ $columns = apply_filters('pmxi_manage_imports_columns', $columns);
|
|
351 |
</div>
|
352 |
<div class="clear"></div>
|
353 |
|
354 |
-
<?php
|
355 |
-
// notify user
|
356 |
-
if (!PMXI_Plugin::getInstance()->getOption('dismiss_manage_bottom')) {
|
357 |
-
?>
|
358 |
-
<div class="updated_bottom"><p>
|
359 |
-
<?php printf(
|
360 |
-
__('<a href="https://wordpress.org/support/view/plugin-reviews/wp-all-import#postform" target="_blank">If our plugin helped you, please rate us on WordPress.org. It would really help us!</a> <a href="https://wordpress.org/support/view/plugin-reviews/wp-all-import#postform" class="pmxi_stars" target="_blank"></a> <br/><br/><a href="javascript:void(0);" id="dismiss_manage_bottom">dismiss</a>', 'wp_all_import_plugin')
|
361 |
-
) ?>
|
362 |
-
</p></div>
|
363 |
-
<?php
|
364 |
-
}
|
365 |
-
?>
|
366 |
-
|
367 |
<p style='font-size: 1.3em; font-weight: bold;'><a href="http://www.wpallimport.com/wordpress-xml-csv-import/?utm_source=import-plugin-free&utm_medium=help&utm_campaign=upgrade-to-pro" target="_blank" class="upgrade_link"><?php _e('Find out more about the Pro edition of WP All Import.', 'wp_all_import_plugin'); ?></a></p>
|
368 |
|
369 |
<a href="http://soflyy.com/" target="_blank" class="wpallimport-created-by"><?php _e('Created by', 'wp_all_import_plugin'); ?> <span></span></a>
|
1 |
<h2></h2> <!-- Do not remove -->
|
2 |
|
3 |
+
<?php
|
4 |
+
// notify user
|
5 |
+
if (!PMXI_Plugin::getInstance()->getOption('dismiss_manage_bottom')) {
|
6 |
+
?>
|
7 |
+
<div class="updated_bottom">
|
8 |
+
<?php printf(
|
9 |
+
__('<span><a href="https://wordpress.org/support/view/plugin-reviews/wp-all-import#postform" target="_blank">If our plugin helped you, please rate us on WordPress.org. It would really help us!</a><a href="https://wordpress.org/support/view/plugin-reviews/wp-all-import#postform" class="pmxi_stars" target="_blank"></a></span><a href="javascript:void(0);" id="dismiss_manage_bottom">dismiss</a>', 'wp_all_import_plugin')
|
10 |
+
) ?>
|
11 |
+
</div>
|
12 |
+
<?php
|
13 |
+
}
|
14 |
+
?>
|
15 |
+
|
16 |
+
|
17 |
<div class="wpallimport-header" style="overflow:hidden; height: 70px; padding-top: 10px; margin-bottom: -15px;">
|
18 |
<div class="wpallimport-logo"></div>
|
19 |
<div class="wpallimport-title">
|
365 |
</div>
|
366 |
<div class="clear"></div>
|
367 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
368 |
<p style='font-size: 1.3em; font-weight: bold;'><a href="http://www.wpallimport.com/wordpress-xml-csv-import/?utm_source=import-plugin-free&utm_medium=help&utm_campaign=upgrade-to-pro" target="_blank" class="upgrade_link"><?php _e('Find out more about the Pro edition of WP All Import.', 'wp_all_import_plugin'); ?></a></p>
|
369 |
|
370 |
<a href="http://soflyy.com/" target="_blank" class="wpallimport-created-by"><?php _e('Created by', 'wp_all_import_plugin'); ?> <span></span></a>
|