Version Description
Download this release
Release Info
Developer | smackcoders |
Plugin | Ultimate CSV Importer |
Version | 3.5.1 |
Comparing to | |
See all releases |
Code changes from version 3.5.0 to 3.5.1
- Readme.txt +81 -26
- includes/WPImporter_includes_helper.php +1 -1
- index.php +33 -28
- lib/skinnymvc/controller/SkinnyController.php +3 -3
- lib/skinnymvc/controller/base/SkinnyBaseController.php +24 -24
- lib/skinnymvc/core/base/SkinnyBaseActions.php +3 -3
- modules/comments/templates/index.php +1 -1
- modules/custompost/templates/index.php +1 -1
- modules/page/templates/index.php +1 -1
- modules/post/templates/index.php +1 -1
- modules/settings/templates/index.php +5 -5
- modules/support/actions/actions.php +6 -3
- modules/users/templates/index.php +1 -1
- templates/menu.php +1 -1
Readme.txt
CHANGED
@@ -4,8 +4,8 @@ Donate link: http://www.smackcoders.com/donate.html
|
|
4 |
Tags: Advanced CSV Importer, Advanced CSV Import, csv, csv importer, csv import, csv file, csv format, admin, affiliate, amazon, author, automatic, blog, buddypress, categories, comments, content, custom post, e-commerce, free, images, import, language, manage, media, meta, multisite, News, page, photos, pictures, plugin, Post, seo, shop, shortcode, tags, Taxonomy, text, title, users, video, woocommerce, wordpress, xml, youtube, batch, bulk, bulk edit, bulk editor, excel, spreadsheet
|
5 |
Requires at least: 3.6.0
|
6 |
Tested up to: 3.8.1
|
7 |
-
Stable tag: 3.5.
|
8 |
-
Version: 3.5.
|
9 |
Author: smackcoders
|
10 |
Author URI: http://profiles.wordpress.org/smackcoders/
|
11 |
|
@@ -15,9 +15,9 @@ Advanced CSV Importer plugin to import data as bulk post, page, custom post etc.
|
|
15 |
|
16 |
== Description ==
|
17 |
|
18 |
-
|
19 |
|
20 |
-
|
21 |
|
22 |
= Video Walkthrough =
|
23 |
|
@@ -97,7 +97,7 @@ Much improved User interface with most flexible jquery plugin features and boots
|
|
97 |
* [Get Complete List of supported 3rd party plugins here](http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html)
|
98 |
* Types and more supports are in pipeline
|
99 |
|
100 |
-
[Read More about Pro>>](http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html) or [Test Drive Our Live Demo](http://demo.smackcoders.com/demowpthree/wp-admin)
|
101 |
|
102 |
= Imp. Notes =
|
103 |
* It is advised to remove older version files completely and install/reinstall version 3.5.0.
|
@@ -111,20 +111,22 @@ Your wordpress theme should support featured image. If not, please add the follo
|
|
111 |
`<?php add_theme_support( 'post-thumbnails' ); ?>`
|
112 |
|
113 |
Also you can follow the instructions as given here
|
114 |
-
|
115 |
-
|
116 |
-
|
|
|
117 |
|
118 |
Need More Help, Cool. Browse Below Links
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
|
|
128 |
|
129 |
== Installation ==
|
130 |
|
@@ -182,17 +184,62 @@ Not clear. You can use [step by step installation wiki with snaps here](http://w
|
|
182 |
|
183 |
[CSV File and Format Related](http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer_FAQ#CSV_File_and_Format_Related)
|
184 |
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
|
190 |
[Plugin Related](http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer_FAQ#Plugin_Related)
|
191 |
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
|
197 |
[CSV Import Related](http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer_FAQ#CSV_Import_Related)
|
198 |
|
@@ -233,6 +280,12 @@ Not clear. You can use [step by step installation wiki with snaps here](http://w
|
|
233 |
|
234 |
== Changelog ==
|
235 |
|
|
|
|
|
|
|
|
|
|
|
|
|
236 |
= 3.5.0 =
|
237 |
* Combined major release version of 3.5 and 3.4
|
238 |
* Improved MVC structure.
|
@@ -305,7 +358,6 @@ Not clear. You can use [step by step installation wiki with snaps here](http://w
|
|
305 |
* Fixed: Status as in CSV option improved and fixed
|
306 |
|
307 |
= 2.7.0 =
|
308 |
-
|
309 |
* Added: Added more post status options
|
310 |
* Added: Publish, Sticky, Private, Draft and Pending Status for whole import
|
311 |
* Added: Protected status with a common password option added
|
@@ -357,6 +409,9 @@ Not clear. You can use [step by step installation wiki with snaps here](http://w
|
|
357 |
|
358 |
== Upgrade Notice ==
|
359 |
|
|
|
|
|
|
|
360 |
= 3.5.0 =
|
361 |
* Upgrade now for major release 3.5. Note - Old version files need to be deleted.
|
362 |
|
4 |
Tags: Advanced CSV Importer, Advanced CSV Import, csv, csv importer, csv import, csv file, csv format, admin, affiliate, amazon, author, automatic, blog, buddypress, categories, comments, content, custom post, e-commerce, free, images, import, language, manage, media, meta, multisite, News, page, photos, pictures, plugin, Post, seo, shop, shortcode, tags, Taxonomy, text, title, users, video, woocommerce, wordpress, xml, youtube, batch, bulk, bulk edit, bulk editor, excel, spreadsheet
|
5 |
Requires at least: 3.6.0
|
6 |
Tested up to: 3.8.1
|
7 |
+
Stable tag: 3.5.1
|
8 |
+
Version: 3.5.1
|
9 |
Author: smackcoders
|
10 |
Author URI: http://profiles.wordpress.org/smackcoders/
|
11 |
|
15 |
|
16 |
== Description ==
|
17 |
|
18 |
+
**Version 3.5.1 is now available with all reported bug fixes. Give a try today and [Leave your thoughts, comments, review and feed back here](http://wordpress.org/support/view/plugin-reviews/wp-ultimate-csv-importer?filter=5)**
|
19 |
|
20 |
+
WP Ultimate CSV Importer Plugin proven much effective advanced CSV File Importer With Ultimate User Friendly Features. It is much easy now even for newbies to import any csv file as any wordpress post type and associated fields by simple mapping feature. Now import any CSV file as thousands of post, page and custom post types. This is admin side free plugin helps you in bulk edit, create and import posts type for your blog or site.
|
21 |
|
22 |
= Video Walkthrough =
|
23 |
|
97 |
* [Get Complete List of supported 3rd party plugins here](http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html)
|
98 |
* Types and more supports are in pipeline
|
99 |
|
100 |
+
[Read More about Pro>>](http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html) or [Test Drive Our Live Demo](http://demo.smackcoders.com/demowpthree/wp-admin/admin.php?page=wp-ultimate-csv-importer-pro/index.php&__module=dashboard)
|
101 |
|
102 |
= Imp. Notes =
|
103 |
* It is advised to remove older version files completely and install/reinstall version 3.5.0.
|
111 |
`<?php add_theme_support( 'post-thumbnails' ); ?>`
|
112 |
|
113 |
Also you can follow the instructions as given here
|
114 |
+
|
115 |
+
* [http://codex.wordpress.org/Function_Reference/the_post_thumbnail](http://codex.wordpress.org/Function_Reference/the_post_thumbnail)
|
116 |
+
* [http://codex.wordpress.org/Post_Thumbnails](http://codex.wordpress.org/Post_Thumbnails)
|
117 |
+
* [http://wordpress.org/support/topic/featured-image-not-showing-7?replies=5](http://wordpress.org/support/topic/featured-image-not-showing-7?replies=5)
|
118 |
|
119 |
Need More Help, Cool. Browse Below Links
|
120 |
+
|
121 |
+
* [Get Pro Power Features, check here](http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html)
|
122 |
+
* [Step By Step Installation Wiki with Snaps](http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer#Installations)
|
123 |
+
* [Detailed FAQ](http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer_FAQ)
|
124 |
+
* [Old Support Threads](http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer_Support_Threads)
|
125 |
+
* [Wiki and Documentation](http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer)
|
126 |
+
* [Tutorials, Guides, Blog News and Updates](http://blog.smackcoders.com/category/free-wordpress-plugins/wordpress-ultimate-csv-importer-plugin/)
|
127 |
+
* [Video Walkthrough](http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer_Videos)
|
128 |
+
* [Get the Sample CSV Files Here](http://blog.smackcoders.com/wordpress-ultimate-csv-importer-csv-sample-files-and-updates.html)
|
129 |
+
* [Download CSV Format Cheat Sheets Here](http://blog.smackcoders.com/how-to-make-one-click-easy-csv-import-in-wordpress-free-cheat-sheet-downloads.html)
|
130 |
|
131 |
== Installation ==
|
132 |
|
184 |
|
185 |
[CSV File and Format Related](http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer_FAQ#CSV_File_and_Format_Related)
|
186 |
|
187 |
+
= '''What is csv file?''' =
|
188 |
+
|
189 |
+
CSV stands for "Comma Seperated Values". CSV file format is used to store data in a structured table of lists as columns and rows. CSV File otherwise Comma Separated Values file is a simple text file that stores attribute names as headers and their related values in comma separated format.
|
190 |
+
|
191 |
+
In general opening csv files in MS Excel or any spread sheet editor will show all values under each header as columns and rows. Each column have a attribute name called as CSV file header and their data/values in rows for each entry.
|
192 |
+
|
193 |
+
For ultimate csv importer each row is imported as a post for a selected post type and columns are imported as filed attribute values of the posts. This is done by simple interface of drop downs of header or attribute names are mapped to wordpress post field attributes like post title, content, status. So no of rows are equal to no of posts that to be imported. And columns or csv headers are equal to no of field attributes assigned under each post like author, category, tags, custom fields etc.
|
194 |
+
|
195 |
+
= '''What is csv format and types of it?''' =
|
196 |
+
|
197 |
+
The CSV file type 'Comma-Separated Variables' or comma delimited file is a records and data from a database or software exported, where each record/data in single line and each field attributes in records are indicated as comma separated. In some cases instead of comma other delimiters also can be used like ; separated.
|
198 |
+
|
199 |
+
|
200 |
+
CSV Format is chosen encoding while saving as a csv file. There are several formats available like ANSI, UCS-2 Big Endian, UCS-2 Little Endian, UTF-8, UTF-8 without BOM etc.
|
201 |
+
|
202 |
+
For ultimate csv importer to import csv as wordpress post type, UTF-8 is advised for successful import. In case of other language import or any special characters, diacritics, Cyrillic or Han characters are included in csv import, UTF-8 without BOM format is suggested.
|
203 |
+
|
204 |
+
How to choose separator or delimiter for ultimate CSV Importer?
|
205 |
+
|
206 |
+
In ultimate csv importer you can choose the delimiter as , or ; while importing the csv file.
|
207 |
+
|
208 |
+
= '''How to open csv files? read csv file?''' =
|
209 |
+
|
210 |
+
In general to read or open existing CSV files simple text editors can be used. For easy editing and best view, any spread sheet editor like MS Excel or OpenOffice Calc is useful.
|
211 |
+
|
212 |
+
= '''How to convert my existing data to csv format?''' =
|
213 |
+
|
214 |
+
In general to read or open existing CSV files simple text editors can be used. For easy editing and best view, any spread sheet editor like MS Excel or OpenOffice Calc is useful. To convert encoding format of a csv file open it in text editor and save as with needed file format.
|
215 |
+
|
216 |
+
For E.g. open your csv file in Notepad++ copy the text. Now open a new empty file choose UTF-8 without BOM or other from Menus >> Encoding and paste the copied text. Now save and replace the old CSV file. Now your CSV file with choosen format can be imported without any issues in Ultimate CSV importer.
|
217 |
|
218 |
[Plugin Related](http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer_FAQ#Plugin_Related)
|
219 |
|
220 |
+
= '''How to install the plugin?''' =
|
221 |
+
|
222 |
+
For detailed installation instruction read here - http://wiki.smackcoders.com/index.php?title=WP_Ultimate_CSV_Importer#Installations
|
223 |
+
|
224 |
+
= '''How to use the plugin to import a csv file?''' =
|
225 |
+
|
226 |
+
Refer here as below
|
227 |
+
|
228 |
+
1.http://blog.smackcoders.com/how-to-import-content-to-wordpress-simple-steps-tutorial-wordpress-ultimate-csv-importer-plugin-part-i.html<br>
|
229 |
+
|
230 |
+
2.http://blog.smackcoders.com/how-to-import-content-to-wordpress-simple-steps-tutorial-wordpress-ultimate-csv-importer-plugin-part-ii.html
|
231 |
+
|
232 |
+
= '''What is a csv importer plugin?''' =
|
233 |
+
|
234 |
+
Csv importer plugin is a tool/plugin that can import your data and records from exported, stored, saved as csv files to your software as useful viewable content to analyze, manage etc. In such way Ultimate CSV importer is a worpdress plugin that imports your off line records or data stored/exported as a csv file into any wordpress post type web content by simple easy mapping feature.
|
235 |
+
|
236 |
+
= '''Why we need CSV import for wordpress?''' =
|
237 |
+
|
238 |
+
If you need to move data from our local system to live website as post content and their field attributes in bulk you should need a csv importer plugin for reduce manual work and time. In normal affiliates data like amazon, auto blogging, drop shipping ecommerce, inventory management, periodical changes to content in bulk, bulk editing cms content etc can be handled as simple as few easy clicks by an advanced csv importer plugin like Ultimate CSV importer plugin.
|
239 |
+
|
240 |
+
More to that features like auto mapping headers, mapping templates, smart scheduling etc in pro version makes periodical imports more easy and automatic even without mapping itself.
|
241 |
+
|
242 |
+
Read More FAQs from below wiki links.
|
243 |
|
244 |
[CSV Import Related](http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer_FAQ#CSV_Import_Related)
|
245 |
|
280 |
|
281 |
== Changelog ==
|
282 |
|
283 |
+
= 3.5.1 =
|
284 |
+
* User reported issue fixes
|
285 |
+
* Activation and other plugin conflict issue solved like Jetpack
|
286 |
+
* Admin UI freezing issues - screen option, Help links issues fixed.
|
287 |
+
* WYSIWIG editor UI issue fixed.
|
288 |
+
|
289 |
= 3.5.0 =
|
290 |
* Combined major release version of 3.5 and 3.4
|
291 |
* Improved MVC structure.
|
358 |
* Fixed: Status as in CSV option improved and fixed
|
359 |
|
360 |
= 2.7.0 =
|
|
|
361 |
* Added: Added more post status options
|
362 |
* Added: Publish, Sticky, Private, Draft and Pending Status for whole import
|
363 |
* Added: Protected status with a common password option added
|
409 |
|
410 |
== Upgrade Notice ==
|
411 |
|
412 |
+
= 3.5.1 =
|
413 |
+
* Must upgrade now for 3.5 bug fixes
|
414 |
+
|
415 |
= 3.5.0 =
|
416 |
* Upgrade now for major release 3.5. Note - Old version files need to be deleted.
|
417 |
|
includes/WPImporter_includes_helper.php
CHANGED
@@ -155,7 +155,7 @@ class WPImporter_includes_helper {
|
|
155 |
require_once(WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY.'config/settings.php');
|
156 |
require_once(WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY.'lib/skinnymvc/controller/SkinnyController.php');
|
157 |
|
158 |
-
$c = new
|
159 |
$c->main();
|
160 |
}
|
161 |
|
155 |
require_once(WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY.'config/settings.php');
|
156 |
require_once(WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY.'lib/skinnymvc/controller/SkinnyController.php');
|
157 |
|
158 |
+
$c = new SkinnyControllerWPCsvFree;
|
159 |
$c->main();
|
160 |
}
|
161 |
|
index.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/******************************
|
3 |
Plugin Name: WP Ultimate CSV Importer
|
4 |
Description: A plugin that helps to import the data's from a CSV file.
|
5 |
-
Version: 3.5
|
6 |
Author: smackcoders.com
|
7 |
Plugin URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
|
8 |
Author URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
|
@@ -13,50 +13,55 @@ define('WP_CONST_ULTIMATE_CSV_IMP_URL', 'http://www.smackcoders.com/wp-ultimate-
|
|
13 |
define('WP_CONST_ULTIMATE_CSV_IMP_NAME', 'WP Ultimate CSV Importer');
|
14 |
define('WP_CONST_ULTIMATE_CSV_IMP_SLUG', 'wp-ultimate-csv-importer');
|
15 |
define('WP_CONST_ULTIMATE_CSV_IMP_SETTINGS', 'WP Ultimate CSV Importer');
|
16 |
-
define('WP_CONST_ULTIMATE_CSV_IMP_VERSION', '3.5');
|
17 |
define('WP_CONST_ULTIMATE_CSV_IMP_DIR', WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/');
|
18 |
define('WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY', plugin_dir_path( __FILE__ ));
|
19 |
-
define('
|
20 |
/*define('WP_CONST_ULTIMATE_CSV_IMP_MAPPING_TEMPLATE', 'wp_ultimate_csv_importer_mappingtemplate');
|
21 |
define('WP_CONST_ULTIMATE_CSV_IMP_SCHEDULED_IMPORT', 'wp_ultimate_csv_importer_scheduled_import');*/
|
22 |
|
23 |
-
|
|
|
|
|
24 |
require_once('lib/skinnymvc/controller/SkinnyController.php');
|
25 |
-
|
|
|
26 |
|
27 |
# Activation & Deactivation
|
28 |
register_activation_hook(__FILE__, array('WPImporter_includes_helper', 'activate') );
|
29 |
register_deactivation_hook(__FILE__, array('WPImporter_includes_helper', 'deactivate') );
|
30 |
|
31 |
-
function
|
32 |
{
|
33 |
add_menu_page(WP_CONST_ULTIMATE_CSV_IMP_SETTINGS, WP_CONST_ULTIMATE_CSV_IMP_NAME, 'manage_options', __FILE__, array('WPImporter_includes_helper','output_fd_page'), WP_CONST_ULTIMATE_CSV_IMP_DIR . "/images/icon.png");
|
34 |
}
|
35 |
-
add_action ( "admin_menu", "
|
36 |
|
37 |
-
function
|
38 |
{
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
|
|
58 |
}
|
59 |
-
add_action('admin_init', '
|
60 |
|
61 |
function importByRequest()
|
62 |
{
|
2 |
/******************************
|
3 |
Plugin Name: WP Ultimate CSV Importer
|
4 |
Description: A plugin that helps to import the data's from a CSV file.
|
5 |
+
Version: 3.5.1
|
6 |
Author: smackcoders.com
|
7 |
Plugin URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
|
8 |
Author URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
|
13 |
define('WP_CONST_ULTIMATE_CSV_IMP_NAME', 'WP Ultimate CSV Importer');
|
14 |
define('WP_CONST_ULTIMATE_CSV_IMP_SLUG', 'wp-ultimate-csv-importer');
|
15 |
define('WP_CONST_ULTIMATE_CSV_IMP_SETTINGS', 'WP Ultimate CSV Importer');
|
16 |
+
define('WP_CONST_ULTIMATE_CSV_IMP_VERSION', '3.5.1');
|
17 |
define('WP_CONST_ULTIMATE_CSV_IMP_DIR', WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/');
|
18 |
define('WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY', plugin_dir_path( __FILE__ ));
|
19 |
+
define('WP_CSVIMP_PLUGIN_BASE', WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY);
|
20 |
/*define('WP_CONST_ULTIMATE_CSV_IMP_MAPPING_TEMPLATE', 'wp_ultimate_csv_importer_mappingtemplate');
|
21 |
define('WP_CONST_ULTIMATE_CSV_IMP_SCHEDULED_IMPORT', 'wp_ultimate_csv_importer_scheduled_import');*/
|
22 |
|
23 |
+
//require_once('config/settings.php');
|
24 |
+
|
25 |
+
if(!class_exists('SkinnyControllerWPCsvFree'))
|
26 |
require_once('lib/skinnymvc/controller/SkinnyController.php');
|
27 |
+
|
28 |
+
require_once('includes/WPImporter_includes_helper.php');
|
29 |
|
30 |
# Activation & Deactivation
|
31 |
register_activation_hook(__FILE__, array('WPImporter_includes_helper', 'activate') );
|
32 |
register_deactivation_hook(__FILE__, array('WPImporter_includes_helper', 'deactivate') );
|
33 |
|
34 |
+
function action_csv_imp_admin_menu()
|
35 |
{
|
36 |
add_menu_page(WP_CONST_ULTIMATE_CSV_IMP_SETTINGS, WP_CONST_ULTIMATE_CSV_IMP_NAME, 'manage_options', __FILE__, array('WPImporter_includes_helper','output_fd_page'), WP_CONST_ULTIMATE_CSV_IMP_DIR . "/images/icon.png");
|
37 |
}
|
38 |
+
add_action ( "admin_menu", "action_csv_imp_admin_menu" );
|
39 |
|
40 |
+
function action_csv_imp_admin_init()
|
41 |
{
|
42 |
+
if(isset($_REQUEST['page']) && ($_REQUEST['page'] == 'wp-ultimate-csv-importer/index.php' || $_REQUEST['page'] == 'page')) {
|
43 |
+
wp_enqueue_script('jquery-ui-datepicker');
|
44 |
+
wp_enqueue_style('jquery-style', plugins_url('css/jquery-ui.css', __FILE__));
|
45 |
+
wp_register_script('ultimate-importer-js', plugins_url('js/ultimate-importer-pro.js', __FILE__));
|
46 |
+
wp_enqueue_script('ultimate-importer-js');
|
47 |
+
wp_register_script('ultimate-importer-button', plugins_url('js/buttons.js', __FILE__));
|
48 |
+
wp_enqueue_script('ultimate-importer-button');
|
49 |
+
wp_enqueue_style('ultimate_importer_font_awesome', plugins_url('css/font-awesome.css', __FILE__));
|
50 |
+
wp_register_script('jquery-min', plugins_url('js/jquery.js', __FILE__));
|
51 |
+
wp_enqueue_script('jquery-min');
|
52 |
+
wp_register_script('jquery-widget', plugins_url('js/jquery.ui.widget.js', __FILE__));
|
53 |
+
wp_enqueue_script('jquery-widget');
|
54 |
+
wp_register_script('jquery-fileupload', plugins_url('js/jquery.fileupload.js', __FILE__));
|
55 |
+
wp_enqueue_script('jquery-fileupload');
|
56 |
+
wp_register_script('bootstrap-collapse', plugins_url('js/bootstrap-collapse.js', __FILE__));
|
57 |
+
wp_enqueue_script('bootstrap-collapse');
|
58 |
+
wp_enqueue_style('style', plugins_url('css/style.css', __FILE__));
|
59 |
+
wp_enqueue_style('jquery-fileupload', plugins_url('css/jquery.fileupload.css', __FILE__));
|
60 |
+
wp_enqueue_style('bootstrap-css', plugins_url('css/bootstrap.css', __FILE__));
|
61 |
+
wp_enqueue_style('ultimate-importer-css', plugins_url('css/main.css', __FILE__));
|
62 |
+
}
|
63 |
}
|
64 |
+
add_action('admin_init', 'action_csv_imp_admin_init');
|
65 |
|
66 |
function importByRequest()
|
67 |
{
|
lib/skinnymvc/controller/SkinnyController.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
|
7 |
require_once('base/SkinnyBaseController.php');
|
8 |
|
9 |
-
class
|
10 |
{
|
11 |
|
12 |
public function __construct()
|
@@ -85,13 +85,13 @@ class SkinnyController extends SkinnyBaseController
|
|
85 |
|
86 |
} // class SkinnyController
|
87 |
|
88 |
-
class CallSkinnyObj extends
|
89 |
{
|
90 |
private static $_instance = null;
|
91 |
public static function getInstance()
|
92 |
{
|
93 |
if( !is_object(self::$_instance) ) //or if( is_null(self::$_instance) ) or if( self::$_instance == null )
|
94 |
-
self::$_instance = new
|
95 |
return self::$_instance;
|
96 |
}
|
97 |
}// CallSkinnyObj Class Ends
|
6 |
|
7 |
require_once('base/SkinnyBaseController.php');
|
8 |
|
9 |
+
class SkinnyControllerWPCsvFree extends SkinnyBaseControllerWPCsvFree
|
10 |
{
|
11 |
|
12 |
public function __construct()
|
85 |
|
86 |
} // class SkinnyController
|
87 |
|
88 |
+
class CallSkinnyObj extends SkinnyControllerWPCsvFree
|
89 |
{
|
90 |
private static $_instance = null;
|
91 |
public static function getInstance()
|
92 |
{
|
93 |
if( !is_object(self::$_instance) ) //or if( is_null(self::$_instance) ) or if( self::$_instance == null )
|
94 |
+
self::$_instance = new SkinnyControllerWPCsvFree();
|
95 |
return self::$_instance;
|
96 |
}
|
97 |
}// CallSkinnyObj Class Ends
|
lib/skinnymvc/controller/base/SkinnyBaseController.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* description: The main application controller. Every request goes through here.
|
5 |
*/
|
6 |
|
7 |
-
class
|
8 |
|
9 |
protected static $layout = 'layout'; /* name of the layout file to use - no extension */
|
10 |
protected $app = null;
|
@@ -89,7 +89,7 @@ class SkinnyBaseController {
|
|
89 |
} else {
|
90 |
//Error: Action does not exist
|
91 |
header("HTTP/1.1 404 Not Found");
|
92 |
-
echo file_get_contents(
|
93 |
exit;
|
94 |
}
|
95 |
}
|
@@ -118,7 +118,7 @@ class SkinnyBaseController {
|
|
118 |
} else {
|
119 |
//Error: Action does not exist
|
120 |
header("HTTP/1.1 404 Not Found");
|
121 |
-
echo file_get_contents(
|
122 |
exit;
|
123 |
}
|
124 |
|
@@ -127,21 +127,21 @@ class SkinnyBaseController {
|
|
127 |
|
128 |
|
129 |
//Get the core classes
|
130 |
-
$this->require_once_many(
|
131 |
-
$this->require_once_many(
|
132 |
|
133 |
// Get the db controller classes
|
134 |
-
$this->require_once_many(
|
135 |
-
$this->require_once_many(
|
136 |
|
137 |
// Get the controller classes
|
138 |
-
$this->require_once_many(
|
139 |
-
$this->require_once_many(
|
140 |
|
141 |
//Get all Model classes
|
142 |
if (SkinnySettings::$CONFIG['preload model']) {
|
143 |
-
$this->require_once_many(
|
144 |
-
$this->require_once_many(
|
145 |
}
|
146 |
|
147 |
//Initialize session
|
@@ -150,7 +150,7 @@ class SkinnyBaseController {
|
|
150 |
}
|
151 |
|
152 |
//Get all plugins
|
153 |
-
$this->require_once_many(
|
154 |
|
155 |
|
156 |
//
|
@@ -170,14 +170,14 @@ class SkinnyBaseController {
|
|
170 |
protected function executeModuleAction($module, $action, $param)
|
171 |
{
|
172 |
|
173 |
-
if (!file_exists(
|
174 |
//Error: Action does not exist
|
175 |
header("HTTP/1.1 404 Not Found");
|
176 |
-
echo file_get_contents(
|
177 |
exit;
|
178 |
}
|
179 |
|
180 |
-
require_once(
|
181 |
|
182 |
$moduleClass = self::camelize($module) . 'Actions';
|
183 |
|
@@ -194,7 +194,7 @@ class SkinnyBaseController {
|
|
194 |
if (empty($moduleObj)) {
|
195 |
//Error: Module does not exist
|
196 |
header("HTTP/1.1 404 Not Found");
|
197 |
-
echo file_get_contents(
|
198 |
exit;
|
199 |
}
|
200 |
|
@@ -205,10 +205,10 @@ class SkinnyBaseController {
|
|
205 |
if ( is_callable(array($moduleObj, $actionMethod)) ) {
|
206 |
$data = call_user_func_array(array($moduleObj, $actionMethod), array($param));
|
207 |
} else {
|
208 |
-
if (!file_exists(
|
209 |
//Error: Action does not exist
|
210 |
header("HTTP/1.1 404 Not Found");
|
211 |
-
echo file_get_contents(
|
212 |
exit;
|
213 |
}
|
214 |
}
|
@@ -225,18 +225,18 @@ class SkinnyBaseController {
|
|
225 |
} else {
|
226 |
//Error: Action $action does not exist
|
227 |
header("HTTP/1.1 404 Not Found");
|
228 |
-
echo file_get_contents(
|
229 |
exit;
|
230 |
}
|
231 |
|
232 |
//Process the templates
|
233 |
-
if (!file_exists(
|
234 |
//Error
|
235 |
throw new SkinnyException("Template for module $module, action $action does not exist.");
|
236 |
exit;
|
237 |
}
|
238 |
|
239 |
-
$actionTemplateSource = file_get_contents(
|
240 |
|
241 |
ob_start();
|
242 |
$this->processTemplate($data, $skinnyUser, $actionTemplateSource);
|
@@ -295,7 +295,7 @@ class SkinnyBaseController {
|
|
295 |
|
296 |
|
297 |
private function processLayout(&$skinny_content, $layoutData, $skinnyUser, $module, $action, $layout) {
|
298 |
-
include_once
|
299 |
}
|
300 |
|
301 |
|
@@ -308,12 +308,12 @@ class SkinnyBaseController {
|
|
308 |
|
309 |
protected function moduleExists($moduleName)
|
310 |
{
|
311 |
-
return file_exists(
|
312 |
}
|
313 |
|
314 |
protected function actionExists($moduleName, $actionName)
|
315 |
{
|
316 |
-
return file_exists(
|
317 |
}
|
318 |
|
319 |
|
4 |
* description: The main application controller. Every request goes through here.
|
5 |
*/
|
6 |
|
7 |
+
class SkinnyBaseControllerWPCsvFree {
|
8 |
|
9 |
protected static $layout = 'layout'; /* name of the layout file to use - no extension */
|
10 |
protected $app = null;
|
89 |
} else {
|
90 |
//Error: Action does not exist
|
91 |
header("HTTP/1.1 404 Not Found");
|
92 |
+
echo file_get_contents(WP_CSVIMP_PLUGIN_BASE."templates/404.php");
|
93 |
exit;
|
94 |
}
|
95 |
}
|
118 |
} else {
|
119 |
//Error: Action does not exist
|
120 |
header("HTTP/1.1 404 Not Found");
|
121 |
+
echo file_get_contents(WP_CSVIMP_PLUGIN_BASE."templates/404.php");
|
122 |
exit;
|
123 |
}
|
124 |
|
127 |
|
128 |
|
129 |
//Get the core classes
|
130 |
+
$this->require_once_many(WP_CSVIMP_PLUGIN_BASE."lib/skinnymvc/core/base/*.php");
|
131 |
+
$this->require_once_many(WP_CSVIMP_PLUGIN_BASE."lib/skinnymvc/core/*.php");
|
132 |
|
133 |
// Get the db controller classes
|
134 |
+
$this->require_once_many(WP_CSVIMP_PLUGIN_BASE."lib/skinnymvc/dbcontroller/base/*.php");
|
135 |
+
$this->require_once_many(WP_CSVIMP_PLUGIN_BASE."lib/skinnymvc/dbcontroller/*.php");
|
136 |
|
137 |
// Get the controller classes
|
138 |
+
$this->require_once_many(WP_CSVIMP_PLUGIN_BASE."lib/skinnymvc/controller/base/*.php");
|
139 |
+
$this->require_once_many(WP_CSVIMP_PLUGIN_BASE."lib/skinnymvc/controller/*.php");
|
140 |
|
141 |
//Get all Model classes
|
142 |
if (SkinnySettings::$CONFIG['preload model']) {
|
143 |
+
$this->require_once_many(WP_CSVIMP_PLUGIN_BASE."lib/skinnymvc/model/*.php");
|
144 |
+
$this->require_once_many(WP_CSVIMP_PLUGIN_BASE."lib/skinnymvc/model/base/*.php");
|
145 |
}
|
146 |
|
147 |
//Initialize session
|
150 |
}
|
151 |
|
152 |
//Get all plugins
|
153 |
+
$this->require_once_many(WP_CSVIMP_PLUGIN_BASE."plugins/skinnyPlugin*.php");
|
154 |
|
155 |
|
156 |
//
|
170 |
protected function executeModuleAction($module, $action, $param)
|
171 |
{
|
172 |
|
173 |
+
if (!file_exists(WP_CSVIMP_PLUGIN_BASE."modules/$module/actions/actions.php")) {
|
174 |
//Error: Action does not exist
|
175 |
header("HTTP/1.1 404 Not Found");
|
176 |
+
echo file_get_contents(WP_CSVIMP_PLUGIN_BASE."templates/404.php");
|
177 |
exit;
|
178 |
}
|
179 |
|
180 |
+
require_once(WP_CSVIMP_PLUGIN_BASE."modules/$module/actions/actions.php");
|
181 |
|
182 |
$moduleClass = self::camelize($module) . 'Actions';
|
183 |
|
194 |
if (empty($moduleObj)) {
|
195 |
//Error: Module does not exist
|
196 |
header("HTTP/1.1 404 Not Found");
|
197 |
+
echo file_get_contents(WP_CSVIMP_PLUGIN_BASE."templates/404.php");
|
198 |
exit;
|
199 |
}
|
200 |
|
205 |
if ( is_callable(array($moduleObj, $actionMethod)) ) {
|
206 |
$data = call_user_func_array(array($moduleObj, $actionMethod), array($param));
|
207 |
} else {
|
208 |
+
if (!file_exists(WP_CSVIMP_PLUGIN_BASE."modules/$module/templates/$action.php")) {
|
209 |
//Error: Action does not exist
|
210 |
header("HTTP/1.1 404 Not Found");
|
211 |
+
echo file_get_contents(WP_CSVIMP_PLUGIN_BASE."templates/404.php");
|
212 |
exit;
|
213 |
}
|
214 |
}
|
225 |
} else {
|
226 |
//Error: Action $action does not exist
|
227 |
header("HTTP/1.1 404 Not Found");
|
228 |
+
echo file_get_contents(WP_CSVIMP_PLUGIN_BASE."templates/404.php");
|
229 |
exit;
|
230 |
}
|
231 |
|
232 |
//Process the templates
|
233 |
+
if (!file_exists(WP_CSVIMP_PLUGIN_BASE."modules/$module/templates/$action.php")) {
|
234 |
//Error
|
235 |
throw new SkinnyException("Template for module $module, action $action does not exist.");
|
236 |
exit;
|
237 |
}
|
238 |
|
239 |
+
$actionTemplateSource = file_get_contents(WP_CSVIMP_PLUGIN_BASE."modules/$module/templates/$action.php");
|
240 |
|
241 |
ob_start();
|
242 |
$this->processTemplate($data, $skinnyUser, $actionTemplateSource);
|
295 |
|
296 |
|
297 |
private function processLayout(&$skinny_content, $layoutData, $skinnyUser, $module, $action, $layout) {
|
298 |
+
include_once WP_CSVIMP_PLUGIN_BASE.'templates/'. $layout .'.php';
|
299 |
}
|
300 |
|
301 |
|
308 |
|
309 |
protected function moduleExists($moduleName)
|
310 |
{
|
311 |
+
return file_exists(WP_CSVIMP_PLUGIN_BASE.'modules/'. $moduleName .'/actions/actions.php');
|
312 |
}
|
313 |
|
314 |
protected function actionExists($moduleName, $actionName)
|
315 |
{
|
316 |
+
return file_exists(WP_CSVIMP_PLUGIN_BASE.'modules/'. $moduleName .'/templates/'. $actionName .'.php');
|
317 |
}
|
318 |
|
319 |
|
lib/skinnymvc/core/base/SkinnyBaseActions.php
CHANGED
@@ -96,9 +96,9 @@ class SkinnyBaseActions {
|
|
96 |
* @return array
|
97 |
*/
|
98 |
public function call($module='default', $action='index', $request=array('GET'=>array(), 'POST'=>array())) {
|
99 |
-
$moduleClass =
|
100 |
|
101 |
-
$actionMethod = 'execute'.
|
102 |
|
103 |
$moduleObj = new $moduleClass();
|
104 |
|
@@ -326,7 +326,7 @@ class SkinnyBaseActions {
|
|
326 |
*/
|
327 |
public function setLayout($layout)
|
328 |
{
|
329 |
-
|
330 |
}
|
331 |
|
332 |
}
|
96 |
* @return array
|
97 |
*/
|
98 |
public function call($module='default', $action='index', $request=array('GET'=>array(), 'POST'=>array())) {
|
99 |
+
$moduleClass = SkinnyControllerWPCsvFree::camelize($module) . 'Actions';
|
100 |
|
101 |
+
$actionMethod = 'execute'.SkinnyControllerWPCsvFree::camelize($action);
|
102 |
|
103 |
$moduleObj = new $moduleClass();
|
104 |
|
326 |
*/
|
327 |
public function setLayout($layout)
|
328 |
{
|
329 |
+
SkinnyBaseControllerWPCsvFree::setLayout($layout);
|
330 |
}
|
331 |
|
332 |
}
|
modules/comments/templates/index.php
CHANGED
@@ -69,7 +69,7 @@ $('#defaultpanel').css('visibility','hidden');
|
|
69 |
$('<p/>').text("").appendTo('#warning');
|
70 |
$( "#warning" ).empty();
|
71 |
$('#warning').css('display','inline');
|
72 |
-
$('<p/>').text("Warning: Sorry. There is no
|
73 |
$('#warning').css('color','red');
|
74 |
$('#warning').css('font-weight','bold');
|
75 |
$('#progress .progress-bar').css('visibility','hidden');
|
69 |
$('<p/>').text("").appendTo('#warning');
|
70 |
$( "#warning" ).empty();
|
71 |
$('#warning').css('display','inline');
|
72 |
+
$('<p/>').text("Warning: Sorry. There is no uploads directory Please create it with write permission.").appendTo('#warning');
|
73 |
$('#warning').css('color','red');
|
74 |
$('#warning').css('font-weight','bold');
|
75 |
$('#progress .progress-bar').css('visibility','hidden');
|
modules/custompost/templates/index.php
CHANGED
@@ -71,7 +71,7 @@ $impCE = new WPImporter_includes_helper();
|
|
71 |
$('<p/>').text("").appendTo('#warning');
|
72 |
$( "#warning" ).empty();
|
73 |
$('#warning').css('display','inline');
|
74 |
-
$('<p/>').text("Warning: Sorry. There is no
|
75 |
$('#warning').css('color','red');
|
76 |
$('#warning').css('font-weight','bold');
|
77 |
$('#progress .progress-bar').css('visibility','hidden');
|
71 |
$('<p/>').text("").appendTo('#warning');
|
72 |
$( "#warning" ).empty();
|
73 |
$('#warning').css('display','inline');
|
74 |
+
$('<p/>').text("Warning: Sorry. There is no uploads directory Please create it with write permission.").appendTo('#warning');
|
75 |
$('#warning').css('color','red');
|
76 |
$('#warning').css('font-weight','bold');
|
77 |
$('#progress .progress-bar').css('visibility','hidden');
|
modules/page/templates/index.php
CHANGED
@@ -71,7 +71,7 @@ $impCE = new WPImporter_includes_helper();
|
|
71 |
$('<p/>').text("").appendTo('#warning');
|
72 |
$( "#warning" ).empty();
|
73 |
$('#warning').css('display','inline');
|
74 |
-
$('<p/>').text("Warning: Sorry. There is no
|
75 |
$('#warning').css('color','red');
|
76 |
$('#warning').css('font-weight','bold');
|
77 |
$('#progress .progress-bar').css('visibility','hidden');
|
71 |
$('<p/>').text("").appendTo('#warning');
|
72 |
$( "#warning" ).empty();
|
73 |
$('#warning').css('display','inline');
|
74 |
+
$('<p/>').text("Warning: Sorry. There is no uploads directory Please create it with write permission.").appendTo('#warning');
|
75 |
$('#warning').css('color','red');
|
76 |
$('#warning').css('font-weight','bold');
|
77 |
$('#progress .progress-bar').css('visibility','hidden');
|
modules/post/templates/index.php
CHANGED
@@ -71,7 +71,7 @@ $impCE = new WPImporter_includes_helper();
|
|
71 |
$('<p/>').text("").appendTo('#warning');
|
72 |
$( "#warning" ).empty();
|
73 |
$('#warning').css('display','inline');
|
74 |
-
$('<p/>').text("Warning: Sorry. There is no
|
75 |
$('#warning').css('color','red');
|
76 |
$('#warning').css('font-weight','bold');
|
77 |
$('#progress .progress-bar').css('visibility','hidden');
|
71 |
$('<p/>').text("").appendTo('#warning');
|
72 |
$( "#warning" ).empty();
|
73 |
$('#warning').css('display','inline');
|
74 |
+
$('<p/>').text("Warning: Sorry. There is no uploads directory Please create it with write permission.").appendTo('#warning');
|
75 |
$('#warning').css('color','red');
|
76 |
$('#warning').css('font-weight','bold');
|
77 |
$('#progress .progress-bar').css('visibility','hidden');
|
modules/settings/templates/index.php
CHANGED
@@ -5,15 +5,15 @@
|
|
5 |
$skinnyData['savesettings'] == 'notdone';
|
6 |
?>
|
7 |
<script type="text/javascript">
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
});
|
13 |
</script>
|
14 |
<?php
|
15 |
} ?>
|
16 |
-
<form class="add:the-list: validate" name="importerSettings" method="post" enctype="multipart/form-data">
|
17 |
<div class="container-fluid">
|
18 |
<div class="accordion" id="accordion2">
|
19 |
<div class="accordion-group">
|
5 |
$skinnyData['savesettings'] == 'notdone';
|
6 |
?>
|
7 |
<script type="text/javascript">
|
8 |
+
jQuery(document).ready( function() {
|
9 |
+
jQuery('#ShowMsg').delay(2000).fadeOut();
|
10 |
+
jQuery('#ShowMsg').css("display", "none");
|
11 |
+
jQuery('#deletesuccess').delay(2000).fadeOut();
|
12 |
});
|
13 |
</script>
|
14 |
<?php
|
15 |
} ?>
|
16 |
+
<form class="add:the-list: validate" action="" name="importerSettings" method="post" enctype="multipart/form-data">
|
17 |
<div class="container-fluid">
|
18 |
<div class="accordion" id="accordion2">
|
19 |
<div class="accordion-group">
|
modules/support/actions/actions.php
CHANGED
@@ -25,12 +25,13 @@ class SupportActions extends SkinnyActions {
|
|
25 |
$to = $_POST['smackmailid'];
|
26 |
$admin_mail_id = get_option('admin_email');
|
27 |
$site_url = get_option('siteurl');
|
|
|
28 |
if($_POST['subject'] == 'Support')
|
29 |
-
$subject
|
30 |
else if($_POST['subject'] == 'Feature Request')
|
31 |
-
$subject
|
32 |
else if($_POST['subject'] == 'Customization')
|
33 |
-
$subject
|
34 |
|
35 |
$firstname = $_POST['firstname'];
|
36 |
$lastname = $_POST['lastname'];
|
@@ -47,9 +48,11 @@ class SupportActions extends SkinnyActions {
|
|
47 |
$lastname = '';
|
48 |
$username = $firstname . ' ' . $lastname;
|
49 |
$headers[] = 'From: '. $username . ' <' . $admin_mail_id . '>';
|
|
|
50 |
$message = "\n\n First Name: ".$firstname;
|
51 |
$message .= "\n\n Last Name: ".$lastname;
|
52 |
$message .= "\n\n WordPress URL: ".$site_url;
|
|
|
53 |
$message .= "\n\n Email: ".$admin_mail_id;
|
54 |
$message .= "\n\n Message: ".$_POST['message'];
|
55 |
wp_mail( $to, $subject, $message, $headers );
|
25 |
$to = $_POST['smackmailid'];
|
26 |
$admin_mail_id = get_option('admin_email');
|
27 |
$site_url = get_option('siteurl');
|
28 |
+
$subject = WP_CONST_ULTIMATE_CSV_IMP_NAME . ': ';
|
29 |
if($_POST['subject'] == 'Support')
|
30 |
+
$subject .= 'I need some "' . $_POST['subject'] . '"';
|
31 |
else if($_POST['subject'] == 'Feature Request')
|
32 |
+
$subject .= 'I have some "' . $_POST['subject'] . '"';
|
33 |
else if($_POST['subject'] == 'Customization')
|
34 |
+
$subject .= 'I need some "' . $_POST['subject'] . '"';
|
35 |
|
36 |
$firstname = $_POST['firstname'];
|
37 |
$lastname = $_POST['lastname'];
|
48 |
$lastname = '';
|
49 |
$username = $firstname . ' ' . $lastname;
|
50 |
$headers[] = 'From: '. $username . ' <' . $admin_mail_id . '>';
|
51 |
+
$headers[] = 'Cc: '. $username . ' <' . $admin_mail_id . '>';
|
52 |
$message = "\n\n First Name: ".$firstname;
|
53 |
$message .= "\n\n Last Name: ".$lastname;
|
54 |
$message .= "\n\n WordPress URL: ".$site_url;
|
55 |
+
$message .= "\n\n Plugin: ".WP_CONST_ULTIMATE_CSV_IMP_NAME;
|
56 |
$message .= "\n\n Email: ".$admin_mail_id;
|
57 |
$message .= "\n\n Message: ".$_POST['message'];
|
58 |
wp_mail( $to, $subject, $message, $headers );
|
modules/users/templates/index.php
CHANGED
@@ -71,7 +71,7 @@ $('#defaultpanel').css('visibility','hidden');
|
|
71 |
$('<p/>').text("").appendTo('#warning');
|
72 |
$( "#warning" ).empty();
|
73 |
$('#warning').css('display','inline');
|
74 |
-
$('<p/>').text("Warning: Sorry. There is no
|
75 |
$('#warning').css('color','red');
|
76 |
$('#warning').css('font-weight','bold');
|
77 |
$('#progress .progress-bar').css('visibility','hidden');
|
71 |
$('<p/>').text("").appendTo('#warning');
|
72 |
$( "#warning" ).empty();
|
73 |
$('#warning').css('display','inline');
|
74 |
+
$('<p/>').text("Warning: Sorry. There is no uploads directory Please create it with write permission.").appendTo('#warning');
|
75 |
$('#warning').css('color','red');
|
76 |
$('#warning').css('font-weight','bold');
|
77 |
$('#progress .progress-bar').css('visibility','hidden');
|
templates/menu.php
CHANGED
@@ -68,7 +68,7 @@ $menuHTML .="<li class=\"moreMenu\"><a href = '#' class='navigationMenu-link' id
|
|
68 |
$menuHTML .= "</ul>";
|
69 |
$menuHTML .= "<div style='margin-right:10px;width: 250px;float: right;'>";
|
70 |
$menuHTML .= "<span class='prolinks'><a class='label label-info' href='http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html' target='_blank'>GO PRO NOW</a></span>";
|
71 |
-
$menuHTML .= "<span class='prolinks'><a class='label label-info' href='http://demo.smackcoders.com/demowpthree/wp-admin/admin.php?page=
|
72 |
$menuHTML .= "</div>";
|
73 |
$menuHTML .= "</div>";
|
74 |
$menuHTML .= "<div style='width:100%;padding-bottom:30px;'>";
|
68 |
$menuHTML .= "</ul>";
|
69 |
$menuHTML .= "<div style='margin-right:10px;width: 250px;float: right;'>";
|
70 |
$menuHTML .= "<span class='prolinks'><a class='label label-info' href='http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html' target='_blank'>GO PRO NOW</a></span>";
|
71 |
+
$menuHTML .= "<span class='prolinks'><a class='label label-info' href='http://demo.smackcoders.com/demowpthree/wp-admin/admin.php?page=wp-ultimate-csv-importer-pro/index.php&__module=dashboard' target='_blank'>TRY PRO LIVE DEMO NOW</a></span>";
|
72 |
$menuHTML .= "</div>";
|
73 |
$menuHTML .= "</div>";
|
74 |
$menuHTML .= "<div style='width:100%;padding-bottom:30px;'>";
|