Version Description
- Fix an issue when replacing serialized values on import
- List files in chunks
- Convert svg images to png
- Check if backups are readable before displaying them on "Backups" page
- Display version incompatibility notification on export/import/restore screen
- Fix double port issue on Bitnami
- Fix an issue on multisite export with cloud extensions
Download this release
Release Info
Developer | bangelov |
Plugin | All-in-One WP Migration |
Version | 5.41 |
Comparing to | |
See all releases |
Code changes from version 5.40 to 5.41
- all-in-one-wp-migration.php +1 -1
- constants.php +61 -1
- functions.php +20 -3
- lib/controller/class-ai1wm-main-controller.php +2 -0
- lib/controller/class-ai1wm-updater-controller.php +1 -1
- lib/model/class-ai1wm-backups.php +7 -5
- lib/model/class-ai1wm-compatibility.php +64 -0
- lib/model/class-ai1wm-extensions.php +134 -0
- lib/model/class-ai1wm-status.php +4 -0
- lib/model/class-ai1wm-streams.php +2 -2
- lib/model/class-ai1wm-updater.php +4 -95
- lib/model/export/class-ai1wm-export-compatibility.php +49 -0
- lib/model/export/class-ai1wm-export-content.php +19 -12
- lib/model/export/class-ai1wm-export-database.php +7 -7
- lib/model/export/class-ai1wm-export-enumerate.php +61 -24
- lib/model/import/class-ai1wm-import-compatibility.php +38 -0
- lib/model/import/class-ai1wm-import-content.php +19 -12
- lib/model/import/class-ai1wm-import-database.php +59 -51
- lib/model/import/class-ai1wm-import-done.php +27 -0
- lib/model/import/class-ai1wm-import-enumerate.php +5 -5
- lib/vendor/servmask/archiver/class-ai1wm-extractor.php +43 -7
- lib/vendor/servmask/database/class-ai1wm-database.php +16 -6
- lib/view/assets/css/backups.min.css +1 -1
- lib/view/assets/css/export.min.css +1 -1
- lib/view/assets/css/import.min.css +1 -1
- lib/view/assets/img/logo-128x128.png +0 -0
- lib/view/assets/img/logo-20x20.png +0 -0
- lib/view/assets/img/logo-32x32.png +0 -0
- lib/view/assets/javascript/backups.min.js +1 -1
- lib/view/assets/javascript/export.min.js +1 -1
- lib/view/assets/javascript/import.min.js +1 -1
- lib/view/export/advanced-settings.php +6 -6
- lib/view/export/find-replace.php +2 -2
- lib/view/export/index.php +1 -0
- lib/view/main/admin-head.php +2 -2
- loader.php +16 -0
- readme.txt +10 -1
all-in-one-wp-migration.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
|
6 |
* Author: ServMask
|
7 |
* Author URI: https://servmask.com/
|
8 |
-
* Version: 5.
|
9 |
* Text Domain: all-in-one-wp-migration
|
10 |
* Domain Path: /languages
|
11 |
* Network: True
|
5 |
* Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
|
6 |
* Author: ServMask
|
7 |
* Author URI: https://servmask.com/
|
8 |
+
* Version: 5.41
|
9 |
* Text Domain: all-in-one-wp-migration
|
10 |
* Domain Path: /languages
|
11 |
* Network: True
|
constants.php
CHANGED
@@ -39,7 +39,7 @@ if ( function_exists( 'gethostname' ) && in_array( gethostname(), $local ) ) {
|
|
39 |
// ==================
|
40 |
// = Plugin Version =
|
41 |
// ==================
|
42 |
-
define( 'AI1WM_VERSION', '5.
|
43 |
|
44 |
// ===============
|
45 |
// = Plugin Name =
|
@@ -231,6 +231,11 @@ define( 'AI1WM_ACTIVE_PLUGINS', 'active_plugins' );
|
|
231 |
// ===========================
|
232 |
define( 'AI1WM_ACTIVE_SITEWIDE_PLUGINS', 'active_sitewide_plugins' );
|
233 |
|
|
|
|
|
|
|
|
|
|
|
234 |
// ===============
|
235 |
// = Updater Key =
|
236 |
// ===============
|
@@ -325,6 +330,13 @@ if ( ! defined( 'AI1WMDE_PLUGIN_KEY' ) ) {
|
|
325 |
define( 'AI1WMDE_PLUGIN_KEY', 'ai1wmde_plugin_key' );
|
326 |
}
|
327 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
328 |
// ===================================
|
329 |
// = Google Drive Extension Base Dir =
|
330 |
// ===================================
|
@@ -348,6 +360,13 @@ if ( ! defined( 'AI1WMGE_PLUGIN_KEY' ) ) {
|
|
348 |
define( 'AI1WMGE_PLUGIN_KEY', 'ai1wmge_plugin_key' );
|
349 |
}
|
350 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
351 |
// ================================
|
352 |
// = Amazon S3 Extension Base Dir =
|
353 |
// ================================
|
@@ -371,6 +390,13 @@ if ( ! defined( 'AI1WMSE_PLUGIN_KEY' ) ) {
|
|
371 |
define( 'AI1WMSE_PLUGIN_KEY', 'ai1wmse_plugin_key' );
|
372 |
}
|
373 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
374 |
// ================================
|
375 |
// = Multisite Extension Base Dir =
|
376 |
// ================================
|
@@ -394,6 +420,13 @@ if ( ! defined( 'AI1WMME_PLUGIN_KEY' ) ) {
|
|
394 |
define( 'AI1WMME_PLUGIN_KEY', 'ai1wmme_plugin_key' );
|
395 |
}
|
396 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
397 |
// ================================
|
398 |
// = Unlimited Extension Base Dir =
|
399 |
// ================================
|
@@ -417,6 +450,13 @@ if ( ! defined( 'AI1WMUE_PLUGIN_KEY' ) ) {
|
|
417 |
define( 'AI1WMUE_PLUGIN_KEY', 'ai1wmue_plugin_key' );
|
418 |
}
|
419 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
420 |
// ==========================
|
421 |
// = FTP Extension Base Dir =
|
422 |
// ==========================
|
@@ -440,6 +480,13 @@ if ( ! defined( 'AI1WMFE_PLUGIN_KEY' ) ) {
|
|
440 |
define( 'AI1WMFE_PLUGIN_KEY', 'ai1wmfe_plugin_key' );
|
441 |
}
|
442 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
443 |
// ==========================
|
444 |
// = URL Extension Base Dir =
|
445 |
// ==========================
|
@@ -463,6 +510,13 @@ if ( ! defined( 'AI1WMLE_PLUGIN_KEY' ) ) {
|
|
463 |
define( 'AI1WMLE_PLUGIN_KEY', 'ai1wmle_plugin_key' );
|
464 |
}
|
465 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
466 |
// ===============================
|
467 |
// = OneDrive Extension Base Dir =
|
468 |
// ===============================
|
@@ -486,3 +540,9 @@ if ( ! defined( 'AI1WMOE_PLUGIN_KEY' ) ) {
|
|
486 |
define( 'AI1WMOE_PLUGIN_KEY', 'ai1wmoe_plugin_key' );
|
487 |
}
|
488 |
|
|
|
|
|
|
|
|
|
|
|
|
39 |
// ==================
|
40 |
// = Plugin Version =
|
41 |
// ==================
|
42 |
+
define( 'AI1WM_VERSION', '5.41' );
|
43 |
|
44 |
// ===============
|
45 |
// = Plugin Name =
|
231 |
// ===========================
|
232 |
define( 'AI1WM_ACTIVE_SITEWIDE_PLUGINS', 'active_sitewide_plugins' );
|
233 |
|
234 |
+
// ======================
|
235 |
+
// = MS Files Rewriting =
|
236 |
+
// ======================
|
237 |
+
define( 'AI1WM_MS_FILES_REWRITING', 'ms_files_rewriting' );
|
238 |
+
|
239 |
// ===============
|
240 |
// = Updater Key =
|
241 |
// ===============
|
330 |
define( 'AI1WMDE_PLUGIN_KEY', 'ai1wmde_plugin_key' );
|
331 |
}
|
332 |
|
333 |
+
// ===========================
|
334 |
+
// = Dropbox Extension Short =
|
335 |
+
// ===========================
|
336 |
+
if ( ! defined( 'AI1WMDE_PLUGIN_SHORT' ) ) {
|
337 |
+
define( 'AI1WMDE_PLUGIN_SHORT', 'dropbox' );
|
338 |
+
}
|
339 |
+
|
340 |
// ===================================
|
341 |
// = Google Drive Extension Base Dir =
|
342 |
// ===================================
|
360 |
define( 'AI1WMGE_PLUGIN_KEY', 'ai1wmge_plugin_key' );
|
361 |
}
|
362 |
|
363 |
+
// ================================
|
364 |
+
// = Google Drive Extension Short =
|
365 |
+
// ================================
|
366 |
+
if ( ! defined( 'AI1WMGE_PLUGIN_SHORT' ) ) {
|
367 |
+
define( 'AI1WMGE_PLUGIN_SHORT', 'gdrive' );
|
368 |
+
}
|
369 |
+
|
370 |
// ================================
|
371 |
// = Amazon S3 Extension Base Dir =
|
372 |
// ================================
|
390 |
define( 'AI1WMSE_PLUGIN_KEY', 'ai1wmse_plugin_key' );
|
391 |
}
|
392 |
|
393 |
+
// =============================
|
394 |
+
// = Amazon S3 Extension Short =
|
395 |
+
// =============================
|
396 |
+
if ( ! defined( 'AI1WMSE_PLUGIN_SHORT' ) ) {
|
397 |
+
define( 'AI1WMSE_PLUGIN_SHORT', 's3' );
|
398 |
+
}
|
399 |
+
|
400 |
// ================================
|
401 |
// = Multisite Extension Base Dir =
|
402 |
// ================================
|
420 |
define( 'AI1WMME_PLUGIN_KEY', 'ai1wmme_plugin_key' );
|
421 |
}
|
422 |
|
423 |
+
// =============================
|
424 |
+
// = Multisite Extension Short =
|
425 |
+
// =============================
|
426 |
+
if ( ! defined( 'AI1WMME_PLUGIN_SHORT' ) ) {
|
427 |
+
define( 'AI1WMME_PLUGIN_SHORT', 'multisite' );
|
428 |
+
}
|
429 |
+
|
430 |
// ================================
|
431 |
// = Unlimited Extension Base Dir =
|
432 |
// ================================
|
450 |
define( 'AI1WMUE_PLUGIN_KEY', 'ai1wmue_plugin_key' );
|
451 |
}
|
452 |
|
453 |
+
// =============================
|
454 |
+
// = Unlimited Extension Short =
|
455 |
+
// =============================
|
456 |
+
if ( ! defined( 'AI1WMUE_PLUGIN_SHORT' ) ) {
|
457 |
+
define( 'AI1WMUE_PLUGIN_SHORT', 'unlimited' );
|
458 |
+
}
|
459 |
+
|
460 |
// ==========================
|
461 |
// = FTP Extension Base Dir =
|
462 |
// ==========================
|
480 |
define( 'AI1WMFE_PLUGIN_KEY', 'ai1wmfe_plugin_key' );
|
481 |
}
|
482 |
|
483 |
+
// =======================
|
484 |
+
// = FTP Extension Short =
|
485 |
+
// =======================
|
486 |
+
if ( ! defined( 'AI1WMFE_PLUGIN_SHORT' ) ) {
|
487 |
+
define( 'AI1WMFE_PLUGIN_SHORT', 'ftp' );
|
488 |
+
}
|
489 |
+
|
490 |
// ==========================
|
491 |
// = URL Extension Base Dir =
|
492 |
// ==========================
|
510 |
define( 'AI1WMLE_PLUGIN_KEY', 'ai1wmle_plugin_key' );
|
511 |
}
|
512 |
|
513 |
+
// =======================
|
514 |
+
// = URL Extension Short =
|
515 |
+
// =======================
|
516 |
+
if ( ! defined( 'AI1WMLE_PLUGIN_SHORT' ) ) {
|
517 |
+
define( 'AI1WMLE_PLUGIN_SHORT', 'url' );
|
518 |
+
}
|
519 |
+
|
520 |
// ===============================
|
521 |
// = OneDrive Extension Base Dir =
|
522 |
// ===============================
|
540 |
define( 'AI1WMOE_PLUGIN_KEY', 'ai1wmoe_plugin_key' );
|
541 |
}
|
542 |
|
543 |
+
// ============================
|
544 |
+
// = OneDrive Extension Short =
|
545 |
+
// ============================
|
546 |
+
if ( ! defined( 'AI1WMOE_PLUGIN_SHORT' ) ) {
|
547 |
+
define( 'AI1WMOE_PLUGIN_SHORT', 'onedrive' );
|
548 |
+
}
|
functions.php
CHANGED
@@ -516,12 +516,11 @@ function ai1wm_plugin_filters( $filters = array() ) {
|
|
516 |
}
|
517 |
|
518 |
/**
|
519 |
-
* Get active plugins
|
520 |
*
|
521 |
-
* @param array $plugins List of plugins
|
522 |
* @return array
|
523 |
*/
|
524 |
-
function
|
525 |
// WP Migration Plugin
|
526 |
if ( defined( 'AI1WM_PLUGIN_BASENAME' ) ) {
|
527 |
$plugins[] = AI1WM_PLUGIN_BASENAME;
|
@@ -570,6 +569,24 @@ function ai1wm_active_plugins( $plugins = array() ) {
|
|
570 |
return $plugins;
|
571 |
}
|
572 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
573 |
/**
|
574 |
* URL encode
|
575 |
*
|
516 |
}
|
517 |
|
518 |
/**
|
519 |
+
* Get active ServMask plugins
|
520 |
*
|
|
|
521 |
* @return array
|
522 |
*/
|
523 |
+
function ai1wm_active_servmask_plugins( $plugins = array() ) {
|
524 |
// WP Migration Plugin
|
525 |
if ( defined( 'AI1WM_PLUGIN_BASENAME' ) ) {
|
526 |
$plugins[] = AI1WM_PLUGIN_BASENAME;
|
569 |
return $plugins;
|
570 |
}
|
571 |
|
572 |
+
/**
|
573 |
+
* Get active sitewide plugins
|
574 |
+
*
|
575 |
+
* @return array
|
576 |
+
*/
|
577 |
+
function ai1wm_active_sitewide_plugins() {
|
578 |
+
return array_keys( get_site_option( AI1WM_ACTIVE_SITEWIDE_PLUGINS, array(), false ) );
|
579 |
+
}
|
580 |
+
|
581 |
+
/**
|
582 |
+
* Get active plugins
|
583 |
+
*
|
584 |
+
* @return array
|
585 |
+
*/
|
586 |
+
function ai1wm_active_plugins() {
|
587 |
+
return array_values( get_option( AI1WM_ACTIVE_PLUGINS, array() ) );
|
588 |
+
}
|
589 |
+
|
590 |
/**
|
591 |
* URL encode
|
592 |
*
|
lib/controller/class-ai1wm-main-controller.php
CHANGED
@@ -111,6 +111,7 @@ class Ai1wm_Main_Controller {
|
|
111 |
*/
|
112 |
public function ai1wm_commands() {
|
113 |
// Add export commands
|
|
|
114 |
add_filter( 'ai1wm_export', 'Ai1wm_Export_Resolve::execute', 5 );
|
115 |
add_filter( 'ai1wm_export', 'Ai1wm_Export_Archive::execute', 10 );
|
116 |
add_filter( 'ai1wm_export', 'Ai1wm_Export_Config::execute', 50 );
|
@@ -122,6 +123,7 @@ class Ai1wm_Main_Controller {
|
|
122 |
|
123 |
// Add import commands
|
124 |
add_filter( 'ai1wm_import', 'Ai1wm_Import_Upload::execute', 5 );
|
|
|
125 |
add_filter( 'ai1wm_import', 'Ai1wm_Import_Resolve::execute', 10 );
|
126 |
add_filter( 'ai1wm_import', 'Ai1wm_Import_Validate::execute', 50 );
|
127 |
add_filter( 'ai1wm_import', 'Ai1wm_Import_Confirm::execute', 100 );
|
111 |
*/
|
112 |
public function ai1wm_commands() {
|
113 |
// Add export commands
|
114 |
+
add_filter( 'ai1wm_export', 'Ai1wm_Export_Compatibility::execute', 5 );
|
115 |
add_filter( 'ai1wm_export', 'Ai1wm_Export_Resolve::execute', 5 );
|
116 |
add_filter( 'ai1wm_export', 'Ai1wm_Export_Archive::execute', 10 );
|
117 |
add_filter( 'ai1wm_export', 'Ai1wm_Export_Config::execute', 50 );
|
123 |
|
124 |
// Add import commands
|
125 |
add_filter( 'ai1wm_import', 'Ai1wm_Import_Upload::execute', 5 );
|
126 |
+
add_filter( 'ai1wm_import', 'Ai1wm_Import_Compatibility::execute', 10 );
|
127 |
add_filter( 'ai1wm_import', 'Ai1wm_Import_Resolve::execute', 10 );
|
128 |
add_filter( 'ai1wm_import', 'Ai1wm_Import_Validate::execute', 50 );
|
129 |
add_filter( 'ai1wm_import', 'Ai1wm_Import_Confirm::execute', 100 );
|
lib/controller/class-ai1wm-updater-controller.php
CHANGED
@@ -53,7 +53,7 @@ class Ai1wm_Updater_Controller {
|
|
53 |
}
|
54 |
|
55 |
public static function updater() {
|
56 |
-
$extensions =
|
57 |
|
58 |
// Set uuid
|
59 |
$uuid = null;
|
53 |
}
|
54 |
|
55 |
public static function updater() {
|
56 |
+
$extensions = Ai1wm_Extensions::get();
|
57 |
|
58 |
// Set uuid
|
59 |
$uuid = null;
|
lib/model/class-ai1wm-backups.php
CHANGED
@@ -40,11 +40,13 @@ class Ai1wm_Backups {
|
|
40 |
);
|
41 |
|
42 |
foreach ( $iterator as $item ) {
|
43 |
-
$
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
|
|
|
|
48 |
}
|
49 |
|
50 |
// Sort backups modified date
|
40 |
);
|
41 |
|
42 |
foreach ( $iterator as $item ) {
|
43 |
+
if ( $item->isReadable() ) {
|
44 |
+
$backups[] = array(
|
45 |
+
'filename' => $item->getFilename(),
|
46 |
+
'mtime' => $item->getMTime(),
|
47 |
+
'size' => $item->getSize(),
|
48 |
+
);
|
49 |
+
}
|
50 |
}
|
51 |
|
52 |
// Sort backups modified date
|
lib/model/class-ai1wm-compatibility.php
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (C) 2014-2016 ServMask Inc.
|
4 |
+
*
|
5 |
+
* This program is free software: you can redistribute it and/or modify
|
6 |
+
* it under the terms of the GNU General Public License as published by
|
7 |
+
* the Free Software Foundation, either version 3 of the License, or
|
8 |
+
* (at your option) any later version.
|
9 |
+
*
|
10 |
+
* This program is distributed in the hope that it will be useful,
|
11 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
+
* GNU General Public License for more details.
|
14 |
+
*
|
15 |
+
* You should have received a copy of the GNU General Public License
|
16 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17 |
+
*
|
18 |
+
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
19 |
+
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
20 |
+
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
21 |
+
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
22 |
+
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
23 |
+
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
24 |
+
*/
|
25 |
+
|
26 |
+
class Ai1wm_Compatibility {
|
27 |
+
public static function get( $params ) {
|
28 |
+
$extensions = Ai1wm_Extensions::get();
|
29 |
+
|
30 |
+
foreach ( $extensions as $extension_name => $extension_data ) {
|
31 |
+
if ( ! isset( $params[$extension_data['short']] ) ) {
|
32 |
+
unset( $extensions[$extension_name] );
|
33 |
+
}
|
34 |
+
}
|
35 |
+
|
36 |
+
// If no extension is used, update everything that is available
|
37 |
+
if ( empty( $extensions ) ) {
|
38 |
+
$extensions = Ai1wm_Extensions::get();
|
39 |
+
}
|
40 |
+
|
41 |
+
$messages = array();
|
42 |
+
foreach ( $extensions as $extension_name => $extension_data ) {
|
43 |
+
$message = Ai1wm_Compatibility::check( $extension_data );
|
44 |
+
if ( ! empty( $message ) ) {
|
45 |
+
$messages[] = $message;
|
46 |
+
}
|
47 |
+
}
|
48 |
+
|
49 |
+
return $messages;
|
50 |
+
}
|
51 |
+
|
52 |
+
public static function check( $extension ) {
|
53 |
+
if ( $extension['version'] !== 'develop' ) {
|
54 |
+
if ( version_compare( $extension['version'], $extension['requires'], '<' ) ) {
|
55 |
+
$plugin = get_plugin_data( sprintf( '%s/%s', WP_PLUGIN_DIR, $extension['basename'] ) );
|
56 |
+
return __( sprintf(
|
57 |
+
'<strong>%s</strong> is not the latest version. ' .
|
58 |
+
'You must update the plugin before you can use it.',
|
59 |
+
$plugin['Name']
|
60 |
+
), AI1WM_PLUGIN_NAME );
|
61 |
+
}
|
62 |
+
}
|
63 |
+
}
|
64 |
+
}
|
lib/model/class-ai1wm-extensions.php
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (C) 2014-2016 ServMask Inc.
|
4 |
+
*
|
5 |
+
* This program is free software: you can redistribute it and/or modify
|
6 |
+
* it under the terms of the GNU General Public License as published by
|
7 |
+
* the Free Software Foundation, either version 3 of the License, or
|
8 |
+
* (at your option) any later version.
|
9 |
+
*
|
10 |
+
* This program is distributed in the hope that it will be useful,
|
11 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
+
* GNU General Public License for more details.
|
14 |
+
*
|
15 |
+
* You should have received a copy of the GNU General Public License
|
16 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17 |
+
*
|
18 |
+
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
19 |
+
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
20 |
+
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
21 |
+
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
22 |
+
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
23 |
+
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
24 |
+
*/
|
25 |
+
|
26 |
+
class Ai1wm_Extensions {
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Get active extensions
|
30 |
+
*
|
31 |
+
* @return array
|
32 |
+
*/
|
33 |
+
public static function get() {
|
34 |
+
$extensions = array();
|
35 |
+
|
36 |
+
// Add Dropbox Extension
|
37 |
+
if ( defined( 'AI1WMDE_PLUGIN_NAME' ) ) {
|
38 |
+
$extensions[ AI1WMDE_PLUGIN_NAME ] = array(
|
39 |
+
'key' => AI1WMDE_PLUGIN_KEY,
|
40 |
+
'about' => AI1WMDE_PLUGIN_ABOUT,
|
41 |
+
'basename' => AI1WMDE_PLUGIN_BASENAME,
|
42 |
+
'version' => AI1WMDE_VERSION,
|
43 |
+
'requires' => '3.14',
|
44 |
+
'short' => AI1WMDE_PLUGIN_SHORT,
|
45 |
+
);
|
46 |
+
}
|
47 |
+
|
48 |
+
// Add Google Drive Extension
|
49 |
+
if ( defined( 'AI1WMGE_PLUGIN_NAME' ) ) {
|
50 |
+
$extensions[ AI1WMGE_PLUGIN_NAME ] = array(
|
51 |
+
'key' => AI1WMGE_PLUGIN_KEY,
|
52 |
+
'about' => AI1WMGE_PLUGIN_ABOUT,
|
53 |
+
'basename' => AI1WMGE_PLUGIN_BASENAME,
|
54 |
+
'version' => AI1WMGE_VERSION,
|
55 |
+
'requires' => '2.15',
|
56 |
+
'short' => AI1WMGE_PLUGIN_SHORT,
|
57 |
+
);
|
58 |
+
}
|
59 |
+
|
60 |
+
// Add Amazon S3 extension
|
61 |
+
if ( defined( 'AI1WMSE_PLUGIN_NAME' ) ) {
|
62 |
+
$extensions[ AI1WMSE_PLUGIN_NAME ] = array(
|
63 |
+
'key' => AI1WMSE_PLUGIN_KEY,
|
64 |
+
'about' => AI1WMSE_PLUGIN_ABOUT,
|
65 |
+
'basename' => AI1WMSE_PLUGIN_BASENAME,
|
66 |
+
'version' => AI1WMSE_VERSION,
|
67 |
+
'requires' => '3.8',
|
68 |
+
'short' => AI1WMSE_PLUGIN_SHORT,
|
69 |
+
);
|
70 |
+
}
|
71 |
+
|
72 |
+
// Add Multisite Extension
|
73 |
+
if ( defined( 'AI1WMME_PLUGIN_NAME' ) ) {
|
74 |
+
$extensions[ AI1WMME_PLUGIN_NAME ] = array(
|
75 |
+
'key' => AI1WMME_PLUGIN_KEY,
|
76 |
+
'about' => AI1WMME_PLUGIN_ABOUT,
|
77 |
+
'basename' => AI1WMME_PLUGIN_BASENAME,
|
78 |
+
'version' => AI1WMME_VERSION,
|
79 |
+
'requires' => '3.16',
|
80 |
+
'short' => AI1WMME_PLUGIN_SHORT,
|
81 |
+
);
|
82 |
+
}
|
83 |
+
|
84 |
+
// Add Unlimited Extension
|
85 |
+
if ( defined( 'AI1WMUE_PLUGIN_NAME' ) ) {
|
86 |
+
$extensions[ AI1WMUE_PLUGIN_NAME ] = array(
|
87 |
+
'key' => AI1WMUE_PLUGIN_KEY,
|
88 |
+
'about' => AI1WMUE_PLUGIN_ABOUT,
|
89 |
+
'basename' => AI1WMUE_PLUGIN_BASENAME,
|
90 |
+
'version' => AI1WMUE_VERSION,
|
91 |
+
'requires' => '2.6',
|
92 |
+
'short' => AI1WMUE_PLUGIN_SHORT,
|
93 |
+
);
|
94 |
+
}
|
95 |
+
|
96 |
+
// Add FTP Extension
|
97 |
+
if ( defined( 'AI1WMFE_PLUGIN_NAME' ) ) {
|
98 |
+
$extensions[ AI1WMFE_PLUGIN_NAME ] = array(
|
99 |
+
'key' => AI1WMFE_PLUGIN_KEY,
|
100 |
+
'about' => AI1WMFE_PLUGIN_ABOUT,
|
101 |
+
'basename' => AI1WMFE_PLUGIN_BASENAME,
|
102 |
+
'version' => AI1WMFE_VERSION,
|
103 |
+
'requires' => '2.11',
|
104 |
+
'short' => AI1WMFE_PLUGIN_SHORT,
|
105 |
+
);
|
106 |
+
}
|
107 |
+
|
108 |
+
// Add URL Extension
|
109 |
+
if ( defined( 'AI1WMLE_PLUGIN_NAME' ) ) {
|
110 |
+
$extensions[ AI1WMLE_PLUGIN_NAME ] = array(
|
111 |
+
'key' => AI1WMLE_PLUGIN_KEY,
|
112 |
+
'about' => AI1WMLE_PLUGIN_ABOUT,
|
113 |
+
'basename' => AI1WMLE_PLUGIN_BASENAME,
|
114 |
+
'version' => AI1WMLE_VERSION,
|
115 |
+
'requires' => '2.9',
|
116 |
+
'short' => AI1WMLE_PLUGIN_SHORT,
|
117 |
+
);
|
118 |
+
}
|
119 |
+
|
120 |
+
// Add OneDrive Extension
|
121 |
+
if ( defined( 'AI1WMOE_PLUGIN_NAME' ) ) {
|
122 |
+
$extensions[ AI1WMOE_PLUGIN_NAME ] = array(
|
123 |
+
'key' => AI1WMOE_PLUGIN_KEY,
|
124 |
+
'about' => AI1WMOE_PLUGIN_ABOUT,
|
125 |
+
'basename' => AI1WMOE_PLUGIN_BASENAME,
|
126 |
+
'version' => AI1WMOE_VERSION,
|
127 |
+
'requires' => '1.6',
|
128 |
+
'short' => AI1WMOE_PLUGIN_SHORT,
|
129 |
+
);
|
130 |
+
}
|
131 |
+
|
132 |
+
return $extensions;
|
133 |
+
}
|
134 |
+
}
|
lib/model/class-ai1wm-status.php
CHANGED
@@ -45,6 +45,10 @@ class Ai1wm_Status {
|
|
45 |
self::log( array( 'type' => 'done', 'message' => $message, 'title' => $title ) );
|
46 |
}
|
47 |
|
|
|
|
|
|
|
|
|
48 |
public static function progress( $percent, $title = null ) {
|
49 |
self::log( array( 'type' => 'progress', 'percent' => $percent, 'title' => $title ) );
|
50 |
}
|
45 |
self::log( array( 'type' => 'done', 'message' => $message, 'title' => $title ) );
|
46 |
}
|
47 |
|
48 |
+
public static function blogs( $message, $title = null ) {
|
49 |
+
self::log( array( 'type' => 'blogs', 'message' => $message, 'title' => $title ) );
|
50 |
+
}
|
51 |
+
|
52 |
public static function progress( $percent, $title = null ) {
|
53 |
self::log( array( 'type' => 'progress', 'percent' => $percent, 'title' => $title ) );
|
54 |
}
|
lib/model/class-ai1wm-streams.php
CHANGED
@@ -74,9 +74,9 @@ class WP_Http_Ai1wm {
|
|
74 |
|
75 |
if ( isset( $r['headers']['Host'] ) || isset( $r['headers']['host'] ) ) {
|
76 |
if ( isset( $r['headers']['Host'] ) )
|
77 |
-
$arrURL['host'] = $r['headers']['Host'];
|
78 |
else
|
79 |
-
$arrURL['host'] = $r['headers']['host'];
|
80 |
unset( $r['headers']['Host'], $r['headers']['host'] );
|
81 |
}
|
82 |
|
74 |
|
75 |
if ( isset( $r['headers']['Host'] ) || isset( $r['headers']['host'] ) ) {
|
76 |
if ( isset( $r['headers']['Host'] ) )
|
77 |
+
$arrURL['host'] = preg_replace( '/:\d+$/', '', $r['headers']['Host'] );
|
78 |
else
|
79 |
+
$arrURL['host'] = preg_replace( '/:\d+$/', '', $r['headers']['host'] );
|
80 |
unset( $r['headers']['Host'], $r['headers']['host'] );
|
81 |
}
|
82 |
|
lib/model/class-ai1wm-updater.php
CHANGED
@@ -38,7 +38,7 @@ class Ai1wm_Updater {
|
|
38 |
return $result;
|
39 |
}
|
40 |
|
41 |
-
$extensions =
|
42 |
|
43 |
// View details page
|
44 |
if ( isset( $args->slug ) && isset( $extensions[ $args->slug ] ) && $action === 'plugin_information' ) {
|
@@ -62,7 +62,7 @@ class Ai1wm_Updater {
|
|
62 |
* @return object
|
63 |
*/
|
64 |
public static function update_plugins( $transient ) {
|
65 |
-
$extensions =
|
66 |
|
67 |
// Get current updates
|
68 |
$updates = get_site_option( AI1WM_UPDATER, array() );
|
@@ -105,7 +105,7 @@ class Ai1wm_Updater {
|
|
105 |
$updates = get_site_option( AI1WM_UPDATER, array() );
|
106 |
|
107 |
// Get extension updates
|
108 |
-
foreach (
|
109 |
$response = wp_remote_get( $extension['about'], array(
|
110 |
'timeout' => 15,
|
111 |
'headers' => array( 'Accept' => 'application/json' ),
|
@@ -154,7 +154,7 @@ class Ai1wm_Updater {
|
|
154 |
$modal = 0;
|
155 |
|
156 |
// Add link for each extension
|
157 |
-
foreach (
|
158 |
$modal++;
|
159 |
|
160 |
// Get plugin details
|
@@ -183,95 +183,4 @@ class Ai1wm_Updater {
|
|
183 |
|
184 |
return $links;
|
185 |
}
|
186 |
-
|
187 |
-
/**
|
188 |
-
* Get extensions for update.
|
189 |
-
*
|
190 |
-
* @return array
|
191 |
-
*/
|
192 |
-
public static function get_extensions() {
|
193 |
-
$extensions = array();
|
194 |
-
|
195 |
-
// Add Dropbox Extension
|
196 |
-
if ( defined( 'AI1WMDE_PLUGIN_NAME' ) ) {
|
197 |
-
$extensions[ AI1WMDE_PLUGIN_NAME ] = array(
|
198 |
-
'key' => AI1WMDE_PLUGIN_KEY,
|
199 |
-
'about' => AI1WMDE_PLUGIN_ABOUT,
|
200 |
-
'basename' => AI1WMDE_PLUGIN_BASENAME,
|
201 |
-
'version' => AI1WMDE_VERSION,
|
202 |
-
);
|
203 |
-
}
|
204 |
-
|
205 |
-
// Add Google Drive Extension
|
206 |
-
if ( defined( 'AI1WMGE_PLUGIN_NAME' ) ) {
|
207 |
-
$extensions[ AI1WMGE_PLUGIN_NAME ] = array(
|
208 |
-
'key' => AI1WMGE_PLUGIN_KEY,
|
209 |
-
'about' => AI1WMGE_PLUGIN_ABOUT,
|
210 |
-
'basename' => AI1WMGE_PLUGIN_BASENAME,
|
211 |
-
'version' => AI1WMGE_VERSION,
|
212 |
-
);
|
213 |
-
}
|
214 |
-
|
215 |
-
// Add Amazon S3 extension
|
216 |
-
if ( defined( 'AI1WMSE_PLUGIN_NAME' ) ) {
|
217 |
-
$extensions[ AI1WMSE_PLUGIN_NAME ] = array(
|
218 |
-
'key' => AI1WMSE_PLUGIN_KEY,
|
219 |
-
'about' => AI1WMSE_PLUGIN_ABOUT,
|
220 |
-
'basename' => AI1WMSE_PLUGIN_BASENAME,
|
221 |
-
'version' => AI1WMSE_VERSION,
|
222 |
-
);
|
223 |
-
}
|
224 |
-
|
225 |
-
// Add Multisite Extension
|
226 |
-
if ( defined( 'AI1WMME_PLUGIN_NAME' ) ) {
|
227 |
-
$extensions[ AI1WMME_PLUGIN_NAME ] = array(
|
228 |
-
'key' => AI1WMME_PLUGIN_KEY,
|
229 |
-
'about' => AI1WMME_PLUGIN_ABOUT,
|
230 |
-
'basename' => AI1WMME_PLUGIN_BASENAME,
|
231 |
-
'version' => AI1WMME_VERSION,
|
232 |
-
);
|
233 |
-
}
|
234 |
-
|
235 |
-
// Add Unlimited Extension
|
236 |
-
if ( defined( 'AI1WMUE_PLUGIN_NAME' ) ) {
|
237 |
-
$extensions[ AI1WMUE_PLUGIN_NAME ] = array(
|
238 |
-
'key' => AI1WMUE_PLUGIN_KEY,
|
239 |
-
'about' => AI1WMUE_PLUGIN_ABOUT,
|
240 |
-
'basename' => AI1WMUE_PLUGIN_BASENAME,
|
241 |
-
'version' => AI1WMUE_VERSION,
|
242 |
-
);
|
243 |
-
}
|
244 |
-
|
245 |
-
// Add FTP Extension
|
246 |
-
if ( defined( 'AI1WMFE_PLUGIN_NAME' ) ) {
|
247 |
-
$extensions[ AI1WMFE_PLUGIN_NAME ] = array(
|
248 |
-
'key' => AI1WMFE_PLUGIN_KEY,
|
249 |
-
'about' => AI1WMFE_PLUGIN_ABOUT,
|
250 |
-
'basename' => AI1WMFE_PLUGIN_BASENAME,
|
251 |
-
'version' => AI1WMFE_VERSION,
|
252 |
-
);
|
253 |
-
}
|
254 |
-
|
255 |
-
// Add URL Extension
|
256 |
-
if ( defined( 'AI1WMLE_PLUGIN_NAME' ) ) {
|
257 |
-
$extensions[ AI1WMLE_PLUGIN_NAME ] = array(
|
258 |
-
'key' => AI1WMLE_PLUGIN_KEY,
|
259 |
-
'about' => AI1WMLE_PLUGIN_ABOUT,
|
260 |
-
'basename' => AI1WMLE_PLUGIN_BASENAME,
|
261 |
-
'version' => AI1WMLE_VERSION,
|
262 |
-
);
|
263 |
-
}
|
264 |
-
|
265 |
-
// Add OneDrive Extension
|
266 |
-
if ( defined( 'AI1WMOE_PLUGIN_NAME' ) ) {
|
267 |
-
$extensions[ AI1WMOE_PLUGIN_NAME ] = array(
|
268 |
-
'key' => AI1WMOE_PLUGIN_KEY,
|
269 |
-
'about' => AI1WMOE_PLUGIN_ABOUT,
|
270 |
-
'basename' => AI1WMOE_PLUGIN_BASENAME,
|
271 |
-
'version' => AI1WMOE_VERSION,
|
272 |
-
);
|
273 |
-
}
|
274 |
-
|
275 |
-
return $extensions;
|
276 |
-
}
|
277 |
}
|
38 |
return $result;
|
39 |
}
|
40 |
|
41 |
+
$extensions = Ai1wm_Extensions::get();
|
42 |
|
43 |
// View details page
|
44 |
if ( isset( $args->slug ) && isset( $extensions[ $args->slug ] ) && $action === 'plugin_information' ) {
|
62 |
* @return object
|
63 |
*/
|
64 |
public static function update_plugins( $transient ) {
|
65 |
+
$extensions = Ai1wm_Extensions::get();
|
66 |
|
67 |
// Get current updates
|
68 |
$updates = get_site_option( AI1WM_UPDATER, array() );
|
105 |
$updates = get_site_option( AI1WM_UPDATER, array() );
|
106 |
|
107 |
// Get extension updates
|
108 |
+
foreach ( Ai1wm_Extensions::get() as $slug => $extension ) {
|
109 |
$response = wp_remote_get( $extension['about'], array(
|
110 |
'timeout' => 15,
|
111 |
'headers' => array( 'Accept' => 'application/json' ),
|
154 |
$modal = 0;
|
155 |
|
156 |
// Add link for each extension
|
157 |
+
foreach ( Ai1wm_Extensions::get() as $slug => $extension ) {
|
158 |
$modal++;
|
159 |
|
160 |
// Get plugin details
|
183 |
|
184 |
return $links;
|
185 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
}
|
lib/model/export/class-ai1wm-export-compatibility.php
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (C) 2014-2016 ServMask Inc.
|
4 |
+
*
|
5 |
+
* This program is free software: you can redistribute it and/or modify
|
6 |
+
* it under the terms of the GNU General Public License as published by
|
7 |
+
* the Free Software Foundation, either version 3 of the License, or
|
8 |
+
* (at your option) any later version.
|
9 |
+
*
|
10 |
+
* This program is distributed in the hope that it will be useful,
|
11 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
+
* GNU General Public License for more details.
|
14 |
+
*
|
15 |
+
* You should have received a copy of the GNU General Public License
|
16 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17 |
+
*
|
18 |
+
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
19 |
+
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
20 |
+
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
21 |
+
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
22 |
+
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
23 |
+
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
24 |
+
*/
|
25 |
+
|
26 |
+
class Ai1wm_Export_Compatibility {
|
27 |
+
|
28 |
+
public static function execute( $params ) {
|
29 |
+
$messages = Ai1wm_Compatibility::get( $params );
|
30 |
+
|
31 |
+
if ( empty( $messages ) ) {
|
32 |
+
return $params;
|
33 |
+
}
|
34 |
+
|
35 |
+
Ai1wm_Status::error( implode( $messages ) );
|
36 |
+
|
37 |
+
if ( ! isset( $params['ai1wm-manual-export'] ) ) {
|
38 |
+
if ( function_exists( 'wp_mail' ) ) {
|
39 |
+
$recipient = get_site_option( 'admin_email', '' );
|
40 |
+
$subject = __( 'Unable to backup your site', AI1WM_PLUGIN_NAME );
|
41 |
+
$message = __( sprintf( 'All-in-One WP Migration was unable to backup %s.', site_url() ) );
|
42 |
+
$message .= implode( $messages );
|
43 |
+
wp_mail( $recipient, $subject, $message );
|
44 |
+
}
|
45 |
+
}
|
46 |
+
|
47 |
+
exit;
|
48 |
+
}
|
49 |
+
}
|
lib/model/export/class-ai1wm-export-content.php
CHANGED
@@ -29,22 +29,29 @@ class Ai1wm_Export_Content {
|
|
29 |
|
30 |
// Set content offset
|
31 |
if ( isset( $params['content_offset'] ) ) {
|
32 |
-
$content_offset = $params['content_offset'];
|
33 |
} else {
|
34 |
$content_offset = 0;
|
35 |
}
|
36 |
// Set filemap offset
|
37 |
if ( isset( $params['filemap_offset'] ) ) {
|
38 |
-
$filemap_offset = $params['filemap_offset'];
|
39 |
} else {
|
40 |
$filemap_offset = 0;
|
41 |
}
|
42 |
|
43 |
// Get total files
|
44 |
-
if ( isset( $params['
|
45 |
-
$
|
46 |
} else {
|
47 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
|
50 |
// Get processed files
|
@@ -55,11 +62,11 @@ class Ai1wm_Export_Content {
|
|
55 |
}
|
56 |
|
57 |
// What percent of files have we processed?
|
58 |
-
$progress = (int) ( ( $processed / $
|
59 |
|
60 |
// Set progress
|
61 |
if ( empty( $content_offset ) ) {
|
62 |
-
Ai1wm_Status::info( sprintf( __( 'Archiving %d files...<br
|
63 |
}
|
64 |
|
65 |
// Get map file
|
@@ -84,12 +91,12 @@ class Ai1wm_Export_Content {
|
|
84 |
if ( ( $content_offset = $archive->add_file( WP_CONTENT_DIR . DIRECTORY_SEPARATOR . $path, $path, $content_offset, 3 ) ) ) {
|
85 |
|
86 |
// Set progress
|
87 |
-
if ( ( $
|
88 |
-
$progress
|
89 |
}
|
90 |
|
91 |
// Set progress
|
92 |
-
Ai1wm_Status::info( sprintf( __( 'Archiving %d files...<br
|
93 |
|
94 |
// Set content offset
|
95 |
$params['content_offset'] = $content_offset;
|
@@ -116,8 +123,8 @@ class Ai1wm_Export_Content {
|
|
116 |
// Skip bad file permissions
|
117 |
}
|
118 |
|
119 |
-
// Increment processed files
|
120 |
-
$processed
|
121 |
|
122 |
// More than 3 seconds have passed, break and do another request
|
123 |
if ( ( microtime( true ) - $start ) > 3 ) {
|
29 |
|
30 |
// Set content offset
|
31 |
if ( isset( $params['content_offset'] ) ) {
|
32 |
+
$content_offset = (int) $params['content_offset'];
|
33 |
} else {
|
34 |
$content_offset = 0;
|
35 |
}
|
36 |
// Set filemap offset
|
37 |
if ( isset( $params['filemap_offset'] ) ) {
|
38 |
+
$filemap_offset = (int) $params['filemap_offset'];
|
39 |
} else {
|
40 |
$filemap_offset = 0;
|
41 |
}
|
42 |
|
43 |
// Get total files
|
44 |
+
if ( isset( $params['total_files'] ) ) {
|
45 |
+
$total_files = (int) $params['total_files'];
|
46 |
} else {
|
47 |
+
$total_files = 1;
|
48 |
+
}
|
49 |
+
|
50 |
+
// Get total size
|
51 |
+
if ( isset( $params['total_size'] ) ) {
|
52 |
+
$total_size = (int) $params['total_size'];
|
53 |
+
} else {
|
54 |
+
$total_size = 1;
|
55 |
}
|
56 |
|
57 |
// Get processed files
|
62 |
}
|
63 |
|
64 |
// What percent of files have we processed?
|
65 |
+
$progress = (int) ( ( $processed / $total_size ) * 100 );
|
66 |
|
67 |
// Set progress
|
68 |
if ( empty( $content_offset ) ) {
|
69 |
+
Ai1wm_Status::info( sprintf( __( 'Archiving %d files...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $total_files, $progress ) );
|
70 |
}
|
71 |
|
72 |
// Get map file
|
91 |
if ( ( $content_offset = $archive->add_file( WP_CONTENT_DIR . DIRECTORY_SEPARATOR . $path, $path, $content_offset, 3 ) ) ) {
|
92 |
|
93 |
// Set progress
|
94 |
+
if ( ( $processed += $content_offset ) ) {
|
95 |
+
$progress = (int) ( ( $processed / $total_size ) * 100 );
|
96 |
}
|
97 |
|
98 |
// Set progress
|
99 |
+
Ai1wm_Status::info( sprintf( __( 'Archiving %d files...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $total_files, $progress ) );
|
100 |
|
101 |
// Set content offset
|
102 |
$params['content_offset'] = $content_offset;
|
123 |
// Skip bad file permissions
|
124 |
}
|
125 |
|
126 |
+
// Increment processed files
|
127 |
+
$processed += $archive->get_current_filesize();
|
128 |
|
129 |
// More than 3 seconds have passed, break and do another request
|
130 |
if ( ( microtime( true ) - $start ) > 3 ) {
|
lib/model/export/class-ai1wm-export-database.php
CHANGED
@@ -29,7 +29,7 @@ class Ai1wm_Export_Database {
|
|
29 |
global $wpdb;
|
30 |
|
31 |
// Set exclude database
|
32 |
-
if ( isset( $params['options']['
|
33 |
return $params;
|
34 |
}
|
35 |
|
@@ -44,7 +44,7 @@ class Ai1wm_Export_Database {
|
|
44 |
}
|
45 |
|
46 |
// Spam comments
|
47 |
-
if ( isset( $params['options']['
|
48 |
$client->set_table_query_clauses( ai1wm_table_prefix() . 'comments', " WHERE comment_approved != 'spam' " );
|
49 |
$client->set_table_query_clauses( ai1wm_table_prefix() . 'commentmeta', sprintf(
|
50 |
" WHERE comment_id IN ( SELECT comment_ID FROM `%s` WHERE comment_approved != 'spam' ) ",
|
@@ -53,7 +53,7 @@ class Ai1wm_Export_Database {
|
|
53 |
}
|
54 |
|
55 |
// Post revisions
|
56 |
-
if ( isset( $params['options']['
|
57 |
$client->set_table_query_clauses( ai1wm_table_prefix() . 'posts', " WHERE post_type != 'revision' " );
|
58 |
}
|
59 |
|
@@ -62,10 +62,10 @@ class Ai1wm_Export_Database {
|
|
62 |
|
63 |
// Find and replace
|
64 |
if ( isset( $params['options']['replace'] ) && ( $replace = $params['options']['replace'] ) ) {
|
65 |
-
for ( $i = 0; $i < count( $replace['
|
66 |
-
if ( ! empty( $replace['
|
67 |
-
$old_table_values[] = $replace['
|
68 |
-
$new_table_values[] = $replace['
|
69 |
}
|
70 |
}
|
71 |
}
|
29 |
global $wpdb;
|
30 |
|
31 |
// Set exclude database
|
32 |
+
if ( isset( $params['options']['no_database'] ) ) {
|
33 |
return $params;
|
34 |
}
|
35 |
|
44 |
}
|
45 |
|
46 |
// Spam comments
|
47 |
+
if ( isset( $params['options']['no_spam_comments'] ) ) {
|
48 |
$client->set_table_query_clauses( ai1wm_table_prefix() . 'comments', " WHERE comment_approved != 'spam' " );
|
49 |
$client->set_table_query_clauses( ai1wm_table_prefix() . 'commentmeta', sprintf(
|
50 |
" WHERE comment_id IN ( SELECT comment_ID FROM `%s` WHERE comment_approved != 'spam' ) ",
|
53 |
}
|
54 |
|
55 |
// Post revisions
|
56 |
+
if ( isset( $params['options']['no_revisions'] ) ) {
|
57 |
$client->set_table_query_clauses( ai1wm_table_prefix() . 'posts', " WHERE post_type != 'revision' " );
|
58 |
}
|
59 |
|
62 |
|
63 |
// Find and replace
|
64 |
if ( isset( $params['options']['replace'] ) && ( $replace = $params['options']['replace'] ) ) {
|
65 |
+
for ( $i = 0; $i < count( $replace['old_value'] ); $i++ ) {
|
66 |
+
if ( ! empty( $replace['old_value'][$i] ) && ! empty( $replace['new_value'][$i] ) ) {
|
67 |
+
$old_table_values[] = $replace['old_value'][$i];
|
68 |
+
$new_table_values[] = $replace['new_value'][$i];
|
69 |
}
|
70 |
}
|
71 |
}
|
lib/model/export/class-ai1wm-export-enumerate.php
CHANGED
@@ -30,64 +30,101 @@ class Ai1wm_Export_Enumerate {
|
|
30 |
// Set progress
|
31 |
Ai1wm_Status::info( __( 'Retrieving a list of all WordPress files...', AI1WM_PLUGIN_NAME ) );
|
32 |
|
33 |
-
// Total files
|
34 |
-
$total = 0;
|
35 |
-
|
36 |
-
// Create map file
|
37 |
-
$filemap = fopen( ai1wm_filemap_path( $params ) , 'a+' );
|
38 |
-
|
39 |
// Set exclude filters
|
40 |
$exclude_filters = ai1wm_content_filters();
|
41 |
|
42 |
// Exclude themes
|
43 |
-
if ( isset( $params['options']['
|
44 |
$exclude_filters[] = 'themes';
|
45 |
}
|
46 |
|
47 |
// Exclude plugins
|
48 |
-
if ( isset( $params['options']['
|
49 |
$exclude_filters = array_merge( $exclude_filters, array( 'plugins', 'mu-plugins' ) );
|
50 |
} else {
|
51 |
$exclude_filters = array_merge( $exclude_filters, ai1wm_plugin_filters() );
|
52 |
}
|
53 |
|
54 |
// Exclude media
|
55 |
-
if ( isset( $params['options']['
|
56 |
$exclude_filters[] = 'uploads';
|
57 |
}
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
try {
|
|
|
60 |
// Iterate over content directory
|
61 |
-
$iterator = new
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
|
|
70 |
|
71 |
// Write path line
|
72 |
foreach ( $iterator as $item ) {
|
73 |
if ( $item->isFile() ) {
|
74 |
if ( fwrite( $filemap, $iterator->getSubPathName() . PHP_EOL ) ) {
|
75 |
-
$
|
|
|
|
|
|
|
76 |
}
|
77 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
}
|
|
|
79 |
} catch ( Exception $e ) {
|
80 |
// Skip bad file permissions
|
81 |
}
|
82 |
|
83 |
-
//
|
84 |
-
|
|
|
|
|
85 |
|
86 |
// Set total files
|
87 |
-
$params['
|
88 |
|
89 |
-
// Set
|
90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
return $params;
|
93 |
}
|
30 |
// Set progress
|
31 |
Ai1wm_Status::info( __( 'Retrieving a list of all WordPress files...', AI1WM_PLUGIN_NAME ) );
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
// Set exclude filters
|
34 |
$exclude_filters = ai1wm_content_filters();
|
35 |
|
36 |
// Exclude themes
|
37 |
+
if ( isset( $params['options']['no_themes'] ) ) {
|
38 |
$exclude_filters[] = 'themes';
|
39 |
}
|
40 |
|
41 |
// Exclude plugins
|
42 |
+
if ( isset( $params['options']['no_plugins'] ) ) {
|
43 |
$exclude_filters = array_merge( $exclude_filters, array( 'plugins', 'mu-plugins' ) );
|
44 |
} else {
|
45 |
$exclude_filters = array_merge( $exclude_filters, ai1wm_plugin_filters() );
|
46 |
}
|
47 |
|
48 |
// Exclude media
|
49 |
+
if ( isset( $params['options']['no_media'] ) ) {
|
50 |
$exclude_filters[] = 'uploads';
|
51 |
}
|
52 |
|
53 |
+
// Get total files
|
54 |
+
if ( isset( $params['total_files'] ) ) {
|
55 |
+
$total_files = (int) $params['total_files'];
|
56 |
+
} else {
|
57 |
+
$total_files = 0;
|
58 |
+
}
|
59 |
+
|
60 |
+
// Get total size
|
61 |
+
if ( isset( $params['total_size'] ) ) {
|
62 |
+
$total_size = (int) $params['total_size'];
|
63 |
+
} else {
|
64 |
+
$total_size = 0;
|
65 |
+
}
|
66 |
+
|
67 |
+
// Create map file
|
68 |
+
$filemap = fopen( ai1wm_filemap_path( $params ) , 'a+' );
|
69 |
+
|
70 |
+
// Start time
|
71 |
+
$start = microtime( true );
|
72 |
+
|
73 |
+
// Flag to hold if all files have been processed
|
74 |
+
$completed = true;
|
75 |
+
|
76 |
try {
|
77 |
+
|
78 |
// Iterate over content directory
|
79 |
+
$iterator = new Ai1wm_Recursive_Directory_Iterator( WP_CONTENT_DIR );
|
80 |
+
|
81 |
+
// Exclude uploads, plugins or themes
|
82 |
+
$iterator = new Ai1wm_Recursive_Exclude_Filter( $iterator, $exclude_filters );
|
83 |
+
|
84 |
+
// Recursively iterate over content directory
|
85 |
+
$iterator = new RecursiveIteratorIterator( $iterator, RecursiveIteratorIterator::LEAVES_ONLY, RecursiveIteratorIterator::CATCH_GET_CHILD );
|
86 |
+
|
87 |
+
// Limit content directory
|
88 |
+
$iterator = new LimitIterator( $iterator, $total_files );
|
89 |
|
90 |
// Write path line
|
91 |
foreach ( $iterator as $item ) {
|
92 |
if ( $item->isFile() ) {
|
93 |
if ( fwrite( $filemap, $iterator->getSubPathName() . PHP_EOL ) ) {
|
94 |
+
$total_files++;
|
95 |
+
|
96 |
+
// Add current file size
|
97 |
+
$total_size += filesize( $iterator->getPathname() );
|
98 |
}
|
99 |
}
|
100 |
+
|
101 |
+
// More than 3 seconds have passed, break and do another request
|
102 |
+
if ( ( microtime( true ) - $start ) > 3 ) {
|
103 |
+
$completed = false;
|
104 |
+
break;
|
105 |
+
}
|
106 |
}
|
107 |
+
|
108 |
} catch ( Exception $e ) {
|
109 |
// Skip bad file permissions
|
110 |
}
|
111 |
|
112 |
+
// Set progress
|
113 |
+
if ( $completed ) {
|
114 |
+
Ai1wm_Status::info( __( 'Done retrieving a list of all WordPress files.', AI1WM_PLUGIN_NAME ) );
|
115 |
+
}
|
116 |
|
117 |
// Set total files
|
118 |
+
$params['total_files'] = $total_files;
|
119 |
|
120 |
+
// Set total size
|
121 |
+
$params['total_size'] = $total_size;
|
122 |
+
|
123 |
+
// Set completed flag
|
124 |
+
$params['completed'] = $completed;
|
125 |
+
|
126 |
+
// Close the filemap file
|
127 |
+
fclose( $filemap );
|
128 |
|
129 |
return $params;
|
130 |
}
|
lib/model/import/class-ai1wm-import-compatibility.php
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (C) 2014-2016 ServMask Inc.
|
4 |
+
*
|
5 |
+
* This program is free software: you can redistribute it and/or modify
|
6 |
+
* it under the terms of the GNU General Public License as published by
|
7 |
+
* the Free Software Foundation, either version 3 of the License, or
|
8 |
+
* (at your option) any later version.
|
9 |
+
*
|
10 |
+
* This program is distributed in the hope that it will be useful,
|
11 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
+
* GNU General Public License for more details.
|
14 |
+
*
|
15 |
+
* You should have received a copy of the GNU General Public License
|
16 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17 |
+
*
|
18 |
+
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
19 |
+
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
20 |
+
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
21 |
+
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
22 |
+
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
23 |
+
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
24 |
+
*/
|
25 |
+
|
26 |
+
class Ai1wm_Import_Compatibility {
|
27 |
+
|
28 |
+
public static function execute( $params ) {
|
29 |
+
$messages = Ai1wm_Compatibility::get( $params );
|
30 |
+
|
31 |
+
if ( empty( $messages ) ) {
|
32 |
+
return $params;
|
33 |
+
}
|
34 |
+
|
35 |
+
Ai1wm_Status::error( implode( $messages ) );
|
36 |
+
exit;
|
37 |
+
}
|
38 |
+
}
|
lib/model/import/class-ai1wm-import-content.php
CHANGED
@@ -42,23 +42,30 @@ class Ai1wm_Import_Content {
|
|
42 |
|
43 |
// Set content offset
|
44 |
if ( isset( $params['content_offset'] ) ) {
|
45 |
-
$content_offset = $params['content_offset'];
|
46 |
} else {
|
47 |
$content_offset = 0;
|
48 |
}
|
49 |
|
50 |
// Set archive offset
|
51 |
if ( isset( $params['archive_offset']) ) {
|
52 |
-
$archive_offset = $params['archive_offset'];
|
53 |
} else {
|
54 |
$archive_offset = 0;
|
55 |
}
|
56 |
|
57 |
// Get total files
|
58 |
-
if ( isset( $params['
|
59 |
-
$
|
60 |
} else {
|
61 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
}
|
63 |
|
64 |
// Get processed files
|
@@ -69,11 +76,11 @@ class Ai1wm_Import_Content {
|
|
69 |
}
|
70 |
|
71 |
// What percent of files have we processed?
|
72 |
-
$progress = (int) ( ( $processed / $
|
73 |
|
74 |
// Set progress
|
75 |
if ( empty( $content_offset ) ) {
|
76 |
-
Ai1wm_Status::info( sprintf( __( 'Restoring %d files...<br
|
77 |
}
|
78 |
|
79 |
// Start time
|
@@ -104,12 +111,12 @@ class Ai1wm_Import_Content {
|
|
104 |
if ( ( $content_offset = $archive->extract_one_file_to( WP_CONTENT_DIR, array( AI1WM_PACKAGE_NAME, AI1WM_MULTISITE_NAME, AI1WM_DATABASE_NAME, AI1WM_MUPLUGINS_NAME ), $old_paths, $new_paths, $content_offset, 3 ) ) ) {
|
105 |
|
106 |
// Set progress
|
107 |
-
if ( ( $
|
108 |
-
$progress
|
109 |
}
|
110 |
|
111 |
// Set progress
|
112 |
-
Ai1wm_Status::info( sprintf( __( 'Restoring %d files...<br
|
113 |
|
114 |
// Set content offset
|
115 |
$params['content_offset'] = $content_offset;
|
@@ -136,8 +143,8 @@ class Ai1wm_Import_Content {
|
|
136 |
// Skip bad file permissions
|
137 |
}
|
138 |
|
139 |
-
// Increment processed files
|
140 |
-
$processed
|
141 |
|
142 |
// More than 3 seconds have passed, break and do another request
|
143 |
if ( ( microtime( true ) - $start ) > 3 ) {
|
42 |
|
43 |
// Set content offset
|
44 |
if ( isset( $params['content_offset'] ) ) {
|
45 |
+
$content_offset = (int) $params['content_offset'];
|
46 |
} else {
|
47 |
$content_offset = 0;
|
48 |
}
|
49 |
|
50 |
// Set archive offset
|
51 |
if ( isset( $params['archive_offset']) ) {
|
52 |
+
$archive_offset = (int) $params['archive_offset'];
|
53 |
} else {
|
54 |
$archive_offset = 0;
|
55 |
}
|
56 |
|
57 |
// Get total files
|
58 |
+
if ( isset( $params['total_files'] ) ) {
|
59 |
+
$total_files = (int) $params['total_files'];
|
60 |
} else {
|
61 |
+
$total_files = 1;
|
62 |
+
}
|
63 |
+
|
64 |
+
// Get total size
|
65 |
+
if ( isset( $params['total_size'] ) ) {
|
66 |
+
$total_size = (int) $params['total_size'];
|
67 |
+
} else {
|
68 |
+
$total_size = 1;
|
69 |
}
|
70 |
|
71 |
// Get processed files
|
76 |
}
|
77 |
|
78 |
// What percent of files have we processed?
|
79 |
+
$progress = (int) ( ( $processed / $total_size ) * 100 );
|
80 |
|
81 |
// Set progress
|
82 |
if ( empty( $content_offset ) ) {
|
83 |
+
Ai1wm_Status::info( sprintf( __( 'Restoring %d files...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $total_files, $progress ) );
|
84 |
}
|
85 |
|
86 |
// Start time
|
111 |
if ( ( $content_offset = $archive->extract_one_file_to( WP_CONTENT_DIR, array( AI1WM_PACKAGE_NAME, AI1WM_MULTISITE_NAME, AI1WM_DATABASE_NAME, AI1WM_MUPLUGINS_NAME ), $old_paths, $new_paths, $content_offset, 3 ) ) ) {
|
112 |
|
113 |
// Set progress
|
114 |
+
if ( ( $processed += $content_offset ) ) {
|
115 |
+
$progress = (int) ( ( $processed / $total_size ) * 100 );
|
116 |
}
|
117 |
|
118 |
// Set progress
|
119 |
+
Ai1wm_Status::info( sprintf( __( 'Restoring %d files...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $total_files, $progress ) );
|
120 |
|
121 |
// Set content offset
|
122 |
$params['content_offset'] = $content_offset;
|
143 |
// Skip bad file permissions
|
144 |
}
|
145 |
|
146 |
+
// Increment processed files
|
147 |
+
$processed += $archive->get_current_filesize();
|
148 |
|
149 |
// More than 3 seconds have passed, break and do another request
|
150 |
if ( ( microtime( true ) - $start ) > 3 ) {
|
lib/model/import/class-ai1wm-import-database.php
CHANGED
@@ -87,25 +87,28 @@ class Ai1wm_Import_Database {
|
|
87 |
$old_domain = parse_url( $blog->Old->SiteURL, PHP_URL_HOST );
|
88 |
$new_domain = parse_url( $blog->New->SiteURL, PHP_URL_HOST );
|
89 |
|
90 |
-
//
|
91 |
-
|
|
|
|
|
|
|
92 |
|
93 |
// Add plain Site URL
|
94 |
-
if ( ! in_array( set_url_scheme( $blog->Old->SiteURL, $
|
95 |
-
$old_values[] = set_url_scheme( $blog->Old->SiteURL, $
|
96 |
-
$new_values[] = set_url_scheme( $blog->New->SiteURL );
|
97 |
}
|
98 |
|
99 |
// Add encoded Site URL
|
100 |
-
if ( ! in_array( urlencode( set_url_scheme( $blog->Old->SiteURL, $
|
101 |
-
$old_values[] = urlencode( set_url_scheme( $blog->Old->SiteURL, $
|
102 |
-
$new_values[] = urlencode( set_url_scheme( $blog->New->SiteURL ) );
|
103 |
}
|
104 |
|
105 |
// Add escaped Site URL
|
106 |
-
if ( ! in_array( addslashes( addcslashes( set_url_scheme( $blog->Old->SiteURL, $
|
107 |
-
$old_values[] = addslashes( addcslashes( set_url_scheme( $blog->Old->SiteURL, $
|
108 |
-
$new_values[] = addslashes( addcslashes( set_url_scheme( $blog->New->SiteURL ), '/' ) );
|
109 |
}
|
110 |
}
|
111 |
|
@@ -123,25 +126,28 @@ class Ai1wm_Import_Database {
|
|
123 |
$old_domain = parse_url( $blog->Old->HomeURL, PHP_URL_HOST );
|
124 |
$new_domain = parse_url( $blog->New->HomeURL, PHP_URL_HOST );
|
125 |
|
126 |
-
//
|
127 |
-
|
|
|
|
|
|
|
128 |
|
129 |
// Add plain Home URL
|
130 |
-
if ( ! in_array( set_url_scheme( $blog->Old->HomeURL, $
|
131 |
-
$old_values[] = set_url_scheme( $blog->Old->HomeURL, $
|
132 |
-
$new_values[] = set_url_scheme( $blog->New->HomeURL );
|
133 |
}
|
134 |
|
135 |
// Add encoded Home URL
|
136 |
-
if ( ! in_array( urlencode( set_url_scheme( $blog->Old->HomeURL, $
|
137 |
-
$old_values[] = urlencode( set_url_scheme( $blog->Old->HomeURL, $
|
138 |
-
$new_values[] = urlencode( set_url_scheme( $blog->New->HomeURL ) );
|
139 |
}
|
140 |
|
141 |
// Add escaped Home URL
|
142 |
-
if ( ! in_array( addslashes( addcslashes( set_url_scheme( $blog->Old->HomeURL, $
|
143 |
-
$old_values[] = addslashes( addcslashes( set_url_scheme( $blog->Old->HomeURL, $
|
144 |
-
$new_values[] = addslashes( addcslashes( set_url_scheme( $blog->New->HomeURL ), '/' ) );
|
145 |
}
|
146 |
}
|
147 |
|
@@ -174,31 +180,34 @@ class Ai1wm_Import_Database {
|
|
174 |
$old_path = parse_url( $url, PHP_URL_PATH );
|
175 |
$new_path = parse_url( site_url(), PHP_URL_PATH );
|
176 |
|
|
|
|
|
|
|
177 |
// Add domain and path
|
178 |
if ( ! in_array( sprintf( "%s','%s", $old_domain, trailingslashit( $old_path ) ), $old_values ) ) {
|
179 |
$old_values[] = sprintf( "%s','%s", $old_domain, trailingslashit( $old_path ) );
|
180 |
$new_values[] = sprintf( "%s','%s", $new_domain, trailingslashit( $new_path ) );
|
181 |
}
|
182 |
|
183 |
-
// Replace Site URL
|
184 |
-
foreach ( array( 'http', 'https' ) as $
|
185 |
|
186 |
// Add plain Site URL
|
187 |
-
if ( ! in_array( set_url_scheme( $url, $
|
188 |
-
$old_values[] = set_url_scheme( $url, $
|
189 |
-
$new_values[] = set_url_scheme( site_url() );
|
190 |
}
|
191 |
|
192 |
// Add encoded Site URL
|
193 |
-
if ( ! in_array( urlencode( set_url_scheme( $url, $
|
194 |
-
$old_values[] = urlencode( set_url_scheme( $url, $
|
195 |
-
$new_values[] = urlencode( set_url_scheme( site_url() ) );
|
196 |
}
|
197 |
|
198 |
// Add escaped Site URL
|
199 |
-
if ( ! in_array( addslashes( addcslashes( set_url_scheme( $url, $
|
200 |
-
$old_values[] = addslashes( addcslashes( set_url_scheme( $url, $
|
201 |
-
$new_values[] = addslashes( addcslashes( set_url_scheme( site_url() ), '/' ) );
|
202 |
}
|
203 |
}
|
204 |
|
@@ -231,31 +240,34 @@ class Ai1wm_Import_Database {
|
|
231 |
$old_path = parse_url( $url, PHP_URL_PATH );
|
232 |
$new_path = parse_url( home_url(), PHP_URL_PATH );
|
233 |
|
|
|
|
|
|
|
234 |
// Add domain and path
|
235 |
if ( ! in_array( sprintf( "%s','%s", $old_domain, trailingslashit( $old_path ) ), $old_values ) ) {
|
236 |
$old_values[] = sprintf( "%s','%s", $old_domain, trailingslashit( $old_path ) );
|
237 |
$new_values[] = sprintf( "%s','%s", $new_domain, trailingslashit( $new_path ) );
|
238 |
}
|
239 |
|
240 |
-
// Replace Home URL
|
241 |
-
foreach ( array( 'http', 'https' ) as $
|
242 |
|
243 |
// Add plain Home URL
|
244 |
-
if ( ! in_array( set_url_scheme( $url, $
|
245 |
-
$old_values[] = set_url_scheme( $url, $
|
246 |
-
$new_values[] = set_url_scheme( home_url() );
|
247 |
}
|
248 |
|
249 |
// Add encoded Home URL
|
250 |
-
if ( ! in_array( urlencode( set_url_scheme( $url, $
|
251 |
-
$old_values[] = urlencode( set_url_scheme( $url, $
|
252 |
-
$new_values[] = urlencode( set_url_scheme( home_url() ) );
|
253 |
}
|
254 |
|
255 |
// Add escaped Home URL
|
256 |
-
if ( ! in_array( addslashes( addcslashes( set_url_scheme( $url, $
|
257 |
-
$old_values[] = addslashes( addcslashes( set_url_scheme( $url, $
|
258 |
-
$new_values[] = addslashes( addcslashes( set_url_scheme( home_url() ), '/' ) );
|
259 |
}
|
260 |
}
|
261 |
|
@@ -304,8 +316,8 @@ class Ai1wm_Import_Database {
|
|
304 |
// Get HTTP password
|
305 |
$auth_password = get_site_option( AI1WM_AUTH_PASSWORD, false, false );
|
306 |
|
307 |
-
// Get active plugins
|
308 |
-
$
|
309 |
|
310 |
$old_prefixes = array();
|
311 |
$new_prefixes = array();
|
@@ -370,11 +382,7 @@ class Ai1wm_Import_Database {
|
|
370 |
wp_cache_flush();
|
371 |
|
372 |
// Activate plugins
|
373 |
-
|
374 |
-
if ( in_array( $plugin, ai1wm_active_plugins() ) ) {
|
375 |
-
activate_plugin( $plugin );
|
376 |
-
}
|
377 |
-
}
|
378 |
|
379 |
// Set the new URL IP
|
380 |
update_site_option( AI1WM_URL_IP, $url_ip );
|
87 |
$old_domain = parse_url( $blog->Old->SiteURL, PHP_URL_HOST );
|
88 |
$new_domain = parse_url( $blog->New->SiteURL, PHP_URL_HOST );
|
89 |
|
90 |
+
// Get scheme
|
91 |
+
$new_scheme = parse_url( $blog->New->SiteURL, PHP_URL_SCHEME );
|
92 |
+
|
93 |
+
// Replace Site URL scheme
|
94 |
+
foreach ( array( 'http', 'https' ) as $old_scheme ) {
|
95 |
|
96 |
// Add plain Site URL
|
97 |
+
if ( ! in_array( set_url_scheme( $blog->Old->SiteURL, $old_scheme ), $old_values ) ) {
|
98 |
+
$old_values[] = set_url_scheme( $blog->Old->SiteURL, $old_scheme );
|
99 |
+
$new_values[] = set_url_scheme( $blog->New->SiteURL, $new_scheme );
|
100 |
}
|
101 |
|
102 |
// Add encoded Site URL
|
103 |
+
if ( ! in_array( urlencode( set_url_scheme( $blog->Old->SiteURL, $old_scheme ) ), $old_values ) ) {
|
104 |
+
$old_values[] = urlencode( set_url_scheme( $blog->Old->SiteURL, $old_scheme ) );
|
105 |
+
$new_values[] = urlencode( set_url_scheme( $blog->New->SiteURL, $new_scheme ) );
|
106 |
}
|
107 |
|
108 |
// Add escaped Site URL
|
109 |
+
if ( ! in_array( addslashes( addcslashes( set_url_scheme( $blog->Old->SiteURL, $old_scheme ), '/' ) ), $old_values ) ) {
|
110 |
+
$old_values[] = addslashes( addcslashes( set_url_scheme( $blog->Old->SiteURL, $old_scheme ), '/' ) );
|
111 |
+
$new_values[] = addslashes( addcslashes( set_url_scheme( $blog->New->SiteURL, $new_scheme ), '/' ) );
|
112 |
}
|
113 |
}
|
114 |
|
126 |
$old_domain = parse_url( $blog->Old->HomeURL, PHP_URL_HOST );
|
127 |
$new_domain = parse_url( $blog->New->HomeURL, PHP_URL_HOST );
|
128 |
|
129 |
+
// Get scheme
|
130 |
+
$new_scheme = parse_url( $blog->New->HomeURL, PHP_URL_SCHEME );
|
131 |
+
|
132 |
+
// Replace Home URL scheme
|
133 |
+
foreach ( array( 'http', 'https' ) as $old_scheme ) {
|
134 |
|
135 |
// Add plain Home URL
|
136 |
+
if ( ! in_array( set_url_scheme( $blog->Old->HomeURL, $old_scheme ), $old_values ) ) {
|
137 |
+
$old_values[] = set_url_scheme( $blog->Old->HomeURL, $old_scheme );
|
138 |
+
$new_values[] = set_url_scheme( $blog->New->HomeURL, $new_scheme );
|
139 |
}
|
140 |
|
141 |
// Add encoded Home URL
|
142 |
+
if ( ! in_array( urlencode( set_url_scheme( $blog->Old->HomeURL, $old_scheme ) ), $old_values ) ) {
|
143 |
+
$old_values[] = urlencode( set_url_scheme( $blog->Old->HomeURL, $old_scheme ) );
|
144 |
+
$new_values[] = urlencode( set_url_scheme( $blog->New->HomeURL, $new_scheme ) );
|
145 |
}
|
146 |
|
147 |
// Add escaped Home URL
|
148 |
+
if ( ! in_array( addslashes( addcslashes( set_url_scheme( $blog->Old->HomeURL, $old_scheme ), '/' ) ), $old_values ) ) {
|
149 |
+
$old_values[] = addslashes( addcslashes( set_url_scheme( $blog->Old->HomeURL, $old_scheme ), '/' ) );
|
150 |
+
$new_values[] = addslashes( addcslashes( set_url_scheme( $blog->New->HomeURL, $new_scheme ), '/' ) );
|
151 |
}
|
152 |
}
|
153 |
|
180 |
$old_path = parse_url( $url, PHP_URL_PATH );
|
181 |
$new_path = parse_url( site_url(), PHP_URL_PATH );
|
182 |
|
183 |
+
// Get scheme
|
184 |
+
$new_scheme = parse_url( site_url(), PHP_URL_SCHEME );
|
185 |
+
|
186 |
// Add domain and path
|
187 |
if ( ! in_array( sprintf( "%s','%s", $old_domain, trailingslashit( $old_path ) ), $old_values ) ) {
|
188 |
$old_values[] = sprintf( "%s','%s", $old_domain, trailingslashit( $old_path ) );
|
189 |
$new_values[] = sprintf( "%s','%s", $new_domain, trailingslashit( $new_path ) );
|
190 |
}
|
191 |
|
192 |
+
// Replace Site URL scheme
|
193 |
+
foreach ( array( 'http', 'https' ) as $old_scheme ) {
|
194 |
|
195 |
// Add plain Site URL
|
196 |
+
if ( ! in_array( set_url_scheme( $url, $old_scheme ), $old_values ) ) {
|
197 |
+
$old_values[] = set_url_scheme( $url, $old_scheme );
|
198 |
+
$new_values[] = set_url_scheme( site_url(), $new_scheme );
|
199 |
}
|
200 |
|
201 |
// Add encoded Site URL
|
202 |
+
if ( ! in_array( urlencode( set_url_scheme( $url, $old_scheme ) ), $old_values ) ) {
|
203 |
+
$old_values[] = urlencode( set_url_scheme( $url, $old_scheme ) );
|
204 |
+
$new_values[] = urlencode( set_url_scheme( site_url(), $new_scheme ) );
|
205 |
}
|
206 |
|
207 |
// Add escaped Site URL
|
208 |
+
if ( ! in_array( addslashes( addcslashes( set_url_scheme( $url, $old_scheme ), '/' ) ), $old_values ) ) {
|
209 |
+
$old_values[] = addslashes( addcslashes( set_url_scheme( $url, $old_scheme ), '/' ) );
|
210 |
+
$new_values[] = addslashes( addcslashes( set_url_scheme( site_url(), $new_scheme ), '/' ) );
|
211 |
}
|
212 |
}
|
213 |
|
240 |
$old_path = parse_url( $url, PHP_URL_PATH );
|
241 |
$new_path = parse_url( home_url(), PHP_URL_PATH );
|
242 |
|
243 |
+
// Get scheme
|
244 |
+
$new_scheme = parse_url( home_url(), PHP_URL_SCHEME );
|
245 |
+
|
246 |
// Add domain and path
|
247 |
if ( ! in_array( sprintf( "%s','%s", $old_domain, trailingslashit( $old_path ) ), $old_values ) ) {
|
248 |
$old_values[] = sprintf( "%s','%s", $old_domain, trailingslashit( $old_path ) );
|
249 |
$new_values[] = sprintf( "%s','%s", $new_domain, trailingslashit( $new_path ) );
|
250 |
}
|
251 |
|
252 |
+
// Replace Home URL scheme
|
253 |
+
foreach ( array( 'http', 'https' ) as $old_scheme ) {
|
254 |
|
255 |
// Add plain Home URL
|
256 |
+
if ( ! in_array( set_url_scheme( $url, $old_scheme ), $old_values ) ) {
|
257 |
+
$old_values[] = set_url_scheme( $url, $old_scheme );
|
258 |
+
$new_values[] = set_url_scheme( home_url(), $new_scheme );
|
259 |
}
|
260 |
|
261 |
// Add encoded Home URL
|
262 |
+
if ( ! in_array( urlencode( set_url_scheme( $url, $old_scheme ) ), $old_values ) ) {
|
263 |
+
$old_values[] = urlencode( set_url_scheme( $url, $old_scheme ) );
|
264 |
+
$new_values[] = urlencode( set_url_scheme( home_url(), $new_scheme ) );
|
265 |
}
|
266 |
|
267 |
// Add escaped Home URL
|
268 |
+
if ( ! in_array( addslashes( addcslashes( set_url_scheme( $url, $old_scheme ), '/' ) ), $old_values ) ) {
|
269 |
+
$old_values[] = addslashes( addcslashes( set_url_scheme( $url, $old_scheme ), '/' ) );
|
270 |
+
$new_values[] = addslashes( addcslashes( set_url_scheme( home_url(), $new_scheme ), '/' ) );
|
271 |
}
|
272 |
}
|
273 |
|
316 |
// Get HTTP password
|
317 |
$auth_password = get_site_option( AI1WM_AUTH_PASSWORD, false, false );
|
318 |
|
319 |
+
// Get active ServMask plugins
|
320 |
+
$active_servmask_plugins = ai1wm_active_servmask_plugins();
|
321 |
|
322 |
$old_prefixes = array();
|
323 |
$new_prefixes = array();
|
382 |
wp_cache_flush();
|
383 |
|
384 |
// Activate plugins
|
385 |
+
activate_plugins( $active_servmask_plugins, null , is_multisite() );
|
|
|
|
|
|
|
|
|
386 |
|
387 |
// Set the new URL IP
|
388 |
update_site_option( AI1WM_URL_IP, $url_ip );
|
lib/model/import/class-ai1wm-import-done.php
CHANGED
@@ -30,6 +30,33 @@ class Ai1wm_Import_Done {
|
|
30 |
// Set shutdown handler
|
31 |
@register_shutdown_function( 'Ai1wm_Import_Done::shutdown' );
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
// Open the archive file for reading
|
34 |
$archive = new Ai1wm_Extractor( ai1wm_archive_path( $params ) );
|
35 |
|
30 |
// Set shutdown handler
|
31 |
@register_shutdown_function( 'Ai1wm_Import_Done::shutdown' );
|
32 |
|
33 |
+
// Check multisite.json file
|
34 |
+
if ( true === is_file( ai1wm_multisite_path( $params ) ) ) {
|
35 |
+
|
36 |
+
// Read multisite.json file
|
37 |
+
$handle = fopen( ai1wm_multisite_path( $params ), 'r' );
|
38 |
+
if ( $handle === false ) {
|
39 |
+
throw new Ai1wm_Import_Exception( __( 'Unable to read multisite.json file', AI1WM_PLUGIN_NAME ) );
|
40 |
+
}
|
41 |
+
|
42 |
+
// Parse multisite.json file
|
43 |
+
$multisite = fread( $handle, filesize( ai1wm_multisite_path( $params ) ) );
|
44 |
+
$multisite = json_decode( $multisite );
|
45 |
+
|
46 |
+
// Close handle
|
47 |
+
fclose( $handle );
|
48 |
+
|
49 |
+
// Activate plugins
|
50 |
+
if ( isset( $multisite->Plugins ) && ( $active_sitewide_plugins = $multisite->Plugins ) ) {
|
51 |
+
activate_plugins( $active_sitewide_plugins, null, is_multisite() );
|
52 |
+
}
|
53 |
+
}
|
54 |
+
|
55 |
+
// Set the new MS files rewriting
|
56 |
+
if ( get_site_option( AI1WM_MS_FILES_REWRITING ) ) {
|
57 |
+
update_site_option( AI1WM_MS_FILES_REWRITING, 0 );
|
58 |
+
}
|
59 |
+
|
60 |
// Open the archive file for reading
|
61 |
$archive = new Ai1wm_Extractor( ai1wm_archive_path( $params ) );
|
62 |
|
lib/model/import/class-ai1wm-import-enumerate.php
CHANGED
@@ -33,15 +33,15 @@ class Ai1wm_Import_Enumerate {
|
|
33 |
// Open the archive file for reading
|
34 |
$archive = new Ai1wm_Extractor( ai1wm_archive_path( $params ) );
|
35 |
|
36 |
-
// Get
|
37 |
-
$
|
|
|
|
|
|
|
38 |
|
39 |
// Close the archive file
|
40 |
$archive->close();
|
41 |
|
42 |
-
// Set total
|
43 |
-
$params['total'] = $total;
|
44 |
-
|
45 |
// Set progress
|
46 |
Ai1wm_Status::info( __( 'Done retrieving a list of all WordPress files.', AI1WM_PLUGIN_NAME ) );
|
47 |
|
33 |
// Open the archive file for reading
|
34 |
$archive = new Ai1wm_Extractor( ai1wm_archive_path( $params ) );
|
35 |
|
36 |
+
// Get total files
|
37 |
+
$params['total_files'] = $archive->get_total_files();
|
38 |
+
|
39 |
+
// Get total size
|
40 |
+
$params['total_size'] = $archive->get_total_size();
|
41 |
|
42 |
// Close the archive file
|
43 |
$archive->close();
|
44 |
|
|
|
|
|
|
|
45 |
// Set progress
|
46 |
Ai1wm_Status::info( __( 'Done retrieving a list of all WordPress files.', AI1WM_PLUGIN_NAME ) );
|
47 |
|
lib/vendor/servmask/archiver/class-ai1wm-extractor.php
CHANGED
@@ -46,15 +46,49 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
|
|
46 |
}
|
47 |
|
48 |
/**
|
49 |
-
* Get the
|
50 |
*
|
51 |
-
* @return int
|
52 |
* @throws \Ai1wm_Not_Accesible_Exception
|
53 |
* @throws \Ai1wm_Not_Readable_Exception
|
54 |
*/
|
55 |
-
public function
|
56 |
-
|
57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
while ( $block = $this->read_from_handle( $this->file_handle, 4377, $this->filename ) ) {
|
60 |
// end block has been reached
|
@@ -66,13 +100,13 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
|
|
66 |
$data = $this->get_data_from_block( $block );
|
67 |
|
68 |
// we have a file, increment the counter
|
69 |
-
$
|
70 |
|
71 |
// skip file content so we can move forward to the next file
|
72 |
$this->set_file_pointer( $this->file_handle, $data['size'], $this->filename );
|
73 |
}
|
74 |
|
75 |
-
return $
|
76 |
}
|
77 |
|
78 |
public function extract_one_file_to( $location, $exclude = array(), $old_paths = array(), $new_paths = array(), $offset = 0, $timeout = 0 ) {
|
@@ -142,6 +176,8 @@ class Ai1wm_Extractor extends Ai1wm_Archiver {
|
|
142 |
*
|
143 |
* @param string $location Location where to extract files
|
144 |
* @param array $files Files to extract
|
|
|
|
|
145 |
*/
|
146 |
public function extract_by_files_array( $location, $files = array(), $offset = 0, $timeout = 0 ) {
|
147 |
if ( false === is_dir( $location ) ) {
|
46 |
}
|
47 |
|
48 |
/**
|
49 |
+
* Get the total files in an archive
|
50 |
*
|
51 |
+
* @return int Total files in the archive
|
52 |
* @throws \Ai1wm_Not_Accesible_Exception
|
53 |
* @throws \Ai1wm_Not_Readable_Exception
|
54 |
*/
|
55 |
+
public function get_total_files() {
|
56 |
+
fseek( $this->file_handle, SEEK_SET, 0 );
|
57 |
+
|
58 |
+
// total files
|
59 |
+
$total_files = 0;
|
60 |
+
|
61 |
+
while ( $block = $this->read_from_handle( $this->file_handle, 4377, $this->filename ) ) {
|
62 |
+
// end block has been reached
|
63 |
+
if ( $block === $this->eof ) {
|
64 |
+
continue;
|
65 |
+
}
|
66 |
+
|
67 |
+
// get file data from the block
|
68 |
+
$data = $this->get_data_from_block( $block );
|
69 |
+
|
70 |
+
// we have a file, increment the counter
|
71 |
+
$total_files++;
|
72 |
+
|
73 |
+
// skip file content so we can move forward to the next file
|
74 |
+
$this->set_file_pointer( $this->file_handle, $data['size'], $this->filename );
|
75 |
+
}
|
76 |
+
|
77 |
+
return $total_files;
|
78 |
+
}
|
79 |
+
|
80 |
+
/**
|
81 |
+
* Get the total size of files in an archive
|
82 |
+
*
|
83 |
+
* @return int Total size of files in the archive
|
84 |
+
* @throws \Ai1wm_Not_Accesible_Exception
|
85 |
+
* @throws \Ai1wm_Not_Readable_Exception
|
86 |
+
*/
|
87 |
+
public function get_total_size() {
|
88 |
+
fseek( $this->file_handle, SEEK_SET, 0 );
|
89 |
+
|
90 |
+
// total size
|
91 |
+
$total_size = 0;
|
92 |
|
93 |
while ( $block = $this->read_from_handle( $this->file_handle, 4377, $this->filename ) ) {
|
94 |
// end block has been reached
|
100 |
$data = $this->get_data_from_block( $block );
|
101 |
|
102 |
// we have a file, increment the counter
|
103 |
+
$total_size += $data['size'];
|
104 |
|
105 |
// skip file content so we can move forward to the next file
|
106 |
$this->set_file_pointer( $this->file_handle, $data['size'], $this->filename );
|
107 |
}
|
108 |
|
109 |
+
return $total_size;
|
110 |
}
|
111 |
|
112 |
public function extract_one_file_to( $location, $exclude = array(), $old_paths = array(), $new_paths = array(), $offset = 0, $timeout = 0 ) {
|
176 |
*
|
177 |
* @param string $location Location where to extract files
|
178 |
* @param array $files Files to extract
|
179 |
+
* @param array $offset File offset
|
180 |
+
* @param int $timeout Process timeout
|
181 |
*/
|
182 |
public function extract_by_files_array( $location, $files = array(), $offset = 0, $timeout = 0 ) {
|
183 |
if ( false === is_dir( $location ) ) {
|
lib/vendor/servmask/database/class-ai1wm-database.php
CHANGED
@@ -86,7 +86,7 @@ abstract class Ai1wm_Database {
|
|
86 |
* @access protected
|
87 |
* @var array
|
88 |
*/
|
89 |
-
protected $table_prefix_columns
|
90 |
|
91 |
/**
|
92 |
* Include table prefixes
|
@@ -104,6 +104,14 @@ abstract class Ai1wm_Database {
|
|
104 |
*/
|
105 |
protected $exclude_table_prefixes = array();
|
106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
/**
|
108 |
* Constructor
|
109 |
*
|
@@ -729,14 +737,14 @@ abstract class Ai1wm_Database {
|
|
729 |
$string = '(s:\d+:".*?")';
|
730 |
$object = '(O:\d+:".+":\d+:{.*})';
|
731 |
|
732 |
-
// Number of replaces
|
733 |
-
$
|
734 |
|
735 |
// Replace serialized values
|
736 |
-
$input = preg_replace_callback( "/'($array|$string|$object)'/", array( $this, 'replace_serialized_values' ), $input
|
737 |
|
738 |
// Replace values
|
739 |
-
if ( $
|
740 |
$input = Ai1wm_Database_Utility::replace_values( $old_values, $new_values, $input );
|
741 |
}
|
742 |
|
@@ -750,6 +758,8 @@ abstract class Ai1wm_Database {
|
|
750 |
* @return string
|
751 |
*/
|
752 |
protected function replace_serialized_values( $matches ) {
|
|
|
|
|
753 |
// Unescape MySQL special characters
|
754 |
$input = Ai1wm_Database_Utility::unescape_mysql( $matches[1] );
|
755 |
|
@@ -799,7 +809,7 @@ abstract class Ai1wm_Database {
|
|
799 |
"-- Host: %s\n" .
|
800 |
"-- Database: %s\n" .
|
801 |
"-- Class: %s\n" .
|
802 |
-
"--\n
|
803 |
$this->wpdb->dbhost,
|
804 |
$this->wpdb->dbname,
|
805 |
get_class( $this )
|
86 |
* @access protected
|
87 |
* @var array
|
88 |
*/
|
89 |
+
protected $table_prefix_columns = array();
|
90 |
|
91 |
/**
|
92 |
* Include table prefixes
|
104 |
*/
|
105 |
protected $exclude_table_prefixes = array();
|
106 |
|
107 |
+
/**
|
108 |
+
* Number of serialized replaces
|
109 |
+
*
|
110 |
+
* @access protected
|
111 |
+
* @var int
|
112 |
+
*/
|
113 |
+
protected $number_of_replaces = 0;
|
114 |
+
|
115 |
/**
|
116 |
* Constructor
|
117 |
*
|
737 |
$string = '(s:\d+:".*?")';
|
738 |
$object = '(O:\d+:".+":\d+:{.*})';
|
739 |
|
740 |
+
// Number of serialized replaces
|
741 |
+
$this->number_of_replaces = 0;
|
742 |
|
743 |
// Replace serialized values
|
744 |
+
$input = preg_replace_callback( "/'($array|$string|$object)'/", array( $this, 'replace_serialized_values' ), $input );
|
745 |
|
746 |
// Replace values
|
747 |
+
if ( $this->number_of_replaces === 0 ) {
|
748 |
$input = Ai1wm_Database_Utility::replace_values( $old_values, $new_values, $input );
|
749 |
}
|
750 |
|
758 |
* @return string
|
759 |
*/
|
760 |
protected function replace_serialized_values( $matches ) {
|
761 |
+
$this->number_of_replaces++;
|
762 |
+
|
763 |
// Unescape MySQL special characters
|
764 |
$input = Ai1wm_Database_Utility::unescape_mysql( $matches[1] );
|
765 |
|
809 |
"-- Host: %s\n" .
|
810 |
"-- Database: %s\n" .
|
811 |
"-- Class: %s\n" .
|
812 |
+
"--\n",
|
813 |
$this->wpdb->dbhost,
|
814 |
$this->wpdb->dbname,
|
815 |
get_class( $this )
|
lib/view/assets/css/backups.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:none;height:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-chevron-down{display:inline-block;position:relative;-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg);margin-left:.5em!important}.ai1wm-icon-chevron-down:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:before,.ai1wm-row:after{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message,.ai1wm-right .ai1wm-http-authentication{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-row,.ai1wm-right{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:before,.ai1wm-container:after{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 #fff;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type="text"],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#F2F8F0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#F1D7D7;color:#A95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#D95C5C;border:2px solid #D95C5C;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#D95C5C}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block}.ai1wm-button-group.ai1wm-button-export{width:147px}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:180px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import{width:158px}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:6px 25px 1px 26px;height:22px;line-height:22px;text-decoration:none;color:#27ae60;text-align:left}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{-webkit-transform:translate(11px,-1px);transform:translate(11px,-1px);position:relative;display:inline-block;width:12px;height:10px}.ai1wm-line{display:inline-block;width:100%;height:2px;margin:auto;background:#27ae60;position:absolute;transition:all .2s ease-in-out}.ai1wm-line-first{top:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third,.ai1wm-line-second{top:50%}.ai1wm-line-third{top:100%}.ai1wm-button-gray{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-green{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-green-small{border:2px solid #6eb649;background-color:transparent;color:#6eb649;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue{border:2px solid #00aff0;background-color:transparent;color:#00aff0;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;background-color:transparent;color:#e74c3c;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled="disabled"],.ai1wm-button-green[disabled="disabled"],.ai1wm-button-red[disabled="disabled"],.ai1wm-button-green-small[disabled="disabled"]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled="disabled"]:hover{color:#00aff0}.ai1wm-button-red[disabled="disabled"]:hover{color:#e74c3c}.ai1wm-button-green[disabled="disabled"]:hover{color:#27ae60}.ai1wm-button-blue[disabled="disabled"]:hover,.ai1wm-button-green[disabled="disabled"]:hover,.ai1wm-button-red[disabled="disabled"]:hover,.ai1wm-button-green-small[disabled="disabled"]:hover{background:0 0}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type="radio"].ai1wm-flat-radio-button{display:none}input[type="radio"].ai1wm-flat-radio-button+a i,input[type="radio"].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type="radio"].ai1wm-flat-radio-button:checked+a i,input[type="radio"].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #D6D6D6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-feedback-cancel:active{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:none;color:#333;text-deciration:none}.ai1wm-feedback-types>li>a>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url("../img/logo.svg") no-repeat center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-growl-info{position:fixed;z-index:200000;top:0;margin-top:16px;right:16px;width:200px;padding:16px;background:#f1c40f;border:1px solid #e67e22;border-radius:5px;color:#111}#ai1wm-backup-progress{background-color:#dfdfdf;height:20px;width:350px;border-radius:15px}#ai1wm-backup-progress-bar{background-color:#00aff0;height:20px;line-height:20px;border-radius:15px;color:#fff;width:0;text-align:center}.ai1wm-backups{width:100%;margin:20px 0 0;padding:0;border-collapse:collapse}.ai1wm-backups .ai1wm-column-name{text-align:left}.ai1wm-backups .ai1wm-column-date,.ai1wm-backups .ai1wm-column-size{text-align:center}.ai1wm-backups .ai1wm-column-actions{text-align:right}.ai1wm-backups thead th{padding:4px 6px;text-align:left;font-size:1.2em}.ai1wm-backups tbody tr:first-child{border-top:1px solid #ccc}.ai1wm-backups tbody tr{border-bottom:1px solid #ccc}.ai1wm-backups tbody tr:hover{background:rgba(0,0,0,.1)}.ai1wm-backups tbody td{padding:4px 6px;box-sizing:border-box;line-height:36px}.ai1wm-backups tbody td span{font-weight:700}.ai1wm-backups tbody td.ai1wm-backup-actions{text-align:right;width:250px}.ai1wm-backups tbody td.ai1wm-backup-actions a{margin-left:4px}.ai1wm-backups tbody td.ai1wm-backup-actions span{transition:width 2s cubic-bezier(.19,1,.22,1);display:inline-block;width:0;text-align:center;visibility:hidden}.ai1wm-backups tbody td.ai1wm-backup-actions .ai1wm-button-on span{width:80px;visibility:visible}.ai1wm-authentication{margin:10px 0}.ai1wm-authentication .ai1wm-authentication-info{font-size:.7rem;line-height:1rem;margin:4px 0 8px}
|
1 |
+
@charset "UTF-8";.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:none;height:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-chevron-down{display:inline-block;position:relative;-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg);margin-left:.5em!important}.ai1wm-icon-chevron-down:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:before,.ai1wm-row:after{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message,.ai1wm-right .ai1wm-http-authentication{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-row,.ai1wm-right{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:before,.ai1wm-container:after{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 #fff;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type="text"],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#F2F8F0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#F1D7D7;color:#A95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#D95C5C;border:2px solid #D95C5C;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#D95C5C}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block}.ai1wm-button-group.ai1wm-button-export{width:147px}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:180px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import{width:158px}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:6px 25px 1px 26px;height:22px;line-height:22px;text-decoration:none;color:#27ae60;text-align:left}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{-webkit-transform:translate(11px,-1px);transform:translate(11px,-1px);position:relative;display:inline-block;width:12px;height:10px}.ai1wm-line{display:inline-block;width:100%;height:2px;margin:auto;background:#27ae60;position:absolute;transition:all .2s ease-in-out}.ai1wm-line-first{top:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third,.ai1wm-line-second{top:50%}.ai1wm-line-third{top:100%}.ai1wm-button-gray{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-green{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-green-small{border:2px solid #6eb649;background-color:transparent;color:#6eb649;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue{border:2px solid #00aff0;background-color:transparent;color:#00aff0;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;background-color:transparent;color:#e74c3c;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled="disabled"],.ai1wm-button-green[disabled="disabled"],.ai1wm-button-red[disabled="disabled"],.ai1wm-button-green-small[disabled="disabled"]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled="disabled"]:hover{color:#00aff0}.ai1wm-button-red[disabled="disabled"]:hover{color:#e74c3c}.ai1wm-button-green[disabled="disabled"]:hover{color:#27ae60}.ai1wm-button-blue[disabled="disabled"]:hover,.ai1wm-button-green[disabled="disabled"]:hover,.ai1wm-button-red[disabled="disabled"]:hover,.ai1wm-button-green-small[disabled="disabled"]:hover{background:0 0}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type="radio"].ai1wm-flat-radio-button{display:none}input[type="radio"].ai1wm-flat-radio-button+a i,input[type="radio"].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type="radio"].ai1wm-flat-radio-button:checked+a i,input[type="radio"].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #D6D6D6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-feedback-cancel:active{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:none;color:#333;text-deciration:none}.ai1wm-feedback-types>li>a>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url("../img/logo-128x128.png");background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url("../img/logo-32x32.png")}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 0}.ai1wm-modal-container section p .ai1wm-modal-sites input{width:90%}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-growl-info{position:fixed;z-index:200000;top:0;margin-top:16px;right:16px;width:200px;padding:16px;background:#f1c40f;border:1px solid #e67e22;border-radius:5px;color:#111}#ai1wm-backup-progress{background-color:#dfdfdf;height:20px;width:350px;border-radius:15px}#ai1wm-backup-progress-bar{background-color:#00aff0;height:20px;line-height:20px;border-radius:15px;color:#fff;width:0;text-align:center}.ai1wm-backups{width:100%;margin:20px 0 0;padding:0;border-collapse:collapse}.ai1wm-backups .ai1wm-column-name{text-align:left}.ai1wm-backups .ai1wm-column-date,.ai1wm-backups .ai1wm-column-size{text-align:center}.ai1wm-backups .ai1wm-column-actions{text-align:right}.ai1wm-backups thead th{padding:4px 6px;text-align:left;font-size:1.2em}.ai1wm-backups tbody tr:first-child{border-top:1px solid #ccc}.ai1wm-backups tbody tr{border-bottom:1px solid #ccc}.ai1wm-backups tbody tr:hover{background:rgba(0,0,0,.1)}.ai1wm-backups tbody td{padding:4px 6px;box-sizing:border-box;line-height:36px}.ai1wm-backups tbody td span{font-weight:700}.ai1wm-backups tbody td.ai1wm-backup-actions{text-align:right;width:250px}.ai1wm-backups tbody td.ai1wm-backup-actions a{margin-left:4px}.ai1wm-backups tbody td.ai1wm-backup-actions span{transition:width 2s cubic-bezier(.19,1,.22,1);display:inline-block;width:0;text-align:center;visibility:hidden}.ai1wm-backups tbody td.ai1wm-backup-actions .ai1wm-button-on span{width:80px;visibility:visible}.ai1wm-authentication{margin:10px 0}.ai1wm-authentication .ai1wm-authentication-info{font-size:.7rem;line-height:1rem;margin:4px 0 8px}
|
lib/view/assets/css/export.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:none;height:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-chevron-down{display:inline-block;position:relative;-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg);margin-left:.5em!important}.ai1wm-icon-chevron-down:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:before,.ai1wm-row:after{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message,.ai1wm-right .ai1wm-http-authentication{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-row,.ai1wm-right{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:before,.ai1wm-container:after{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 #fff;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type="text"],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#F2F8F0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#F1D7D7;color:#A95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#D95C5C;border:2px solid #D95C5C;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#D95C5C}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block}.ai1wm-button-group.ai1wm-button-export{width:147px}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:180px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import{width:158px}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:6px 25px 1px 26px;height:22px;line-height:22px;text-decoration:none;color:#27ae60;text-align:left}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{-webkit-transform:translate(11px,-1px);transform:translate(11px,-1px);position:relative;display:inline-block;width:12px;height:10px}.ai1wm-line{display:inline-block;width:100%;height:2px;margin:auto;background:#27ae60;position:absolute;transition:all .2s ease-in-out}.ai1wm-line-first{top:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third,.ai1wm-line-second{top:50%}.ai1wm-line-third{top:100%}.ai1wm-button-gray{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-green{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-green-small{border:2px solid #6eb649;background-color:transparent;color:#6eb649;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue{border:2px solid #00aff0;background-color:transparent;color:#00aff0;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;background-color:transparent;color:#e74c3c;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled="disabled"],.ai1wm-button-green[disabled="disabled"],.ai1wm-button-red[disabled="disabled"],.ai1wm-button-green-small[disabled="disabled"]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled="disabled"]:hover{color:#00aff0}.ai1wm-button-red[disabled="disabled"]:hover{color:#e74c3c}.ai1wm-button-green[disabled="disabled"]:hover{color:#27ae60}.ai1wm-button-blue[disabled="disabled"]:hover,.ai1wm-button-green[disabled="disabled"]:hover,.ai1wm-button-red[disabled="disabled"]:hover,.ai1wm-button-green-small[disabled="disabled"]:hover{background:0 0}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type="radio"].ai1wm-flat-radio-button{display:none}input[type="radio"].ai1wm-flat-radio-button+a i,input[type="radio"].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type="radio"].ai1wm-flat-radio-button:checked+a i,input[type="radio"].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #D6D6D6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-feedback-cancel:active{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:none;color:#333;text-deciration:none}.ai1wm-feedback-types>li>a>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url("../img/logo.svg") no-repeat center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-accordion{margin:1em 0;display:block}.ai1wm-accordion h4{cursor:pointer;color:rgba(0,116,162,.8);margin:0}.ai1wm-accordion h4 small{color:#444;font-weight:400;display:inline}.ai1wm-accordion .ai1wm-icon-arrow-right{transition:-webkit-transform .1s ease-out;transition:transform .1s ease-out}.ai1wm-accordion ul{margin:0;padding:0;list-style:none;visibility:hidden;height:0;transition:height .2s cubic-bezier(.19,1,.22,1)}.ai1wm-accordion.ai1wm-open h4 .ai1wm-icon-arrow-right{-webkit-transform:rotate(90deg);transform:rotate(90deg);display:inline-block}.ai1wm-accordion.ai1wm-open ul{height:auto;margin:.6em 0 0 2em;visibility:visible}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-query-arrow{position:relative;top:4px;float:right}.ai1wm-query.ai1wm-open{background:#ebebeb!important}.ai1wm-query.ai1wm-open p small{border-bottom:1px dashed #000}.ai1wm-query.ai1wm-open div{visibility:visible!important;height:82px!important;margin-top:8px}.ai1wm-query.ai1wm-open .ai1wm-query-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ai1wm-query{width:100%;margin:0 0 10px;list-style:none;background:0 0;border:1px solid #d8d8d8;padding:10px;border-radius:5px;box-sizing:border-box}.ai1wm-query div{transition:height .2s cubic-bezier(.19,1,.22,1);visibility:hidden;height:0}.ai1wm-query div input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#333;transition:.05s border-color ease-in-out;border-radius:5px}.ai1wm-query div input:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8)}.ai1wm-query p{margin:0;cursor:pointer}.ai1wm-query p small{display:inline;width:auto;float:none}.ai1wm-query-arrow{transition:-webkit-transform .1s ease-out;transition:transform .1s ease-out}.ai1wm-include-tables{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-plugins{display:inline-block;width:300px;vertical-align:top}.ai1wm-include-media{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-themes{display:inline-block;width:300px;vertical-align:top}.ai1wm-export-stats{margin-bottom:1em}#ai1wm-export-download{display:none;margin:0 0 2em}#ai1wm-export-download-stop{display:inline-block;margin:0 0 2em}#ai1wm-export-download.ai1wm-active{display:inline-block;-webkit-animation:ai1wm-fadein .5s;animation:ai1wm-fadein .5s}#ai1wm-export-download.ai1wm-emphasize{display:inline-block;-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}#ai1wm-export-download-size{display:block;color:#34495e}
|
1 |
+
@charset "UTF-8";.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:none;height:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-chevron-down{display:inline-block;position:relative;-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg);margin-left:.5em!important}.ai1wm-icon-chevron-down:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:before,.ai1wm-row:after{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message,.ai1wm-right .ai1wm-http-authentication{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-row,.ai1wm-right{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:before,.ai1wm-container:after{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 #fff;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type="text"],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#F2F8F0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#F1D7D7;color:#A95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#D95C5C;border:2px solid #D95C5C;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#D95C5C}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block}.ai1wm-button-group.ai1wm-button-export{width:147px}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:180px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import{width:158px}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:6px 25px 1px 26px;height:22px;line-height:22px;text-decoration:none;color:#27ae60;text-align:left}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{-webkit-transform:translate(11px,-1px);transform:translate(11px,-1px);position:relative;display:inline-block;width:12px;height:10px}.ai1wm-line{display:inline-block;width:100%;height:2px;margin:auto;background:#27ae60;position:absolute;transition:all .2s ease-in-out}.ai1wm-line-first{top:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third,.ai1wm-line-second{top:50%}.ai1wm-line-third{top:100%}.ai1wm-button-gray{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-green{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-green-small{border:2px solid #6eb649;background-color:transparent;color:#6eb649;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue{border:2px solid #00aff0;background-color:transparent;color:#00aff0;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;background-color:transparent;color:#e74c3c;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled="disabled"],.ai1wm-button-green[disabled="disabled"],.ai1wm-button-red[disabled="disabled"],.ai1wm-button-green-small[disabled="disabled"]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled="disabled"]:hover{color:#00aff0}.ai1wm-button-red[disabled="disabled"]:hover{color:#e74c3c}.ai1wm-button-green[disabled="disabled"]:hover{color:#27ae60}.ai1wm-button-blue[disabled="disabled"]:hover,.ai1wm-button-green[disabled="disabled"]:hover,.ai1wm-button-red[disabled="disabled"]:hover,.ai1wm-button-green-small[disabled="disabled"]:hover{background:0 0}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type="radio"].ai1wm-flat-radio-button{display:none}input[type="radio"].ai1wm-flat-radio-button+a i,input[type="radio"].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type="radio"].ai1wm-flat-radio-button:checked+a i,input[type="radio"].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #D6D6D6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-feedback-cancel:active{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:none;color:#333;text-deciration:none}.ai1wm-feedback-types>li>a>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url("../img/logo-128x128.png");background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}.ai1wm-accordion{margin:1em 0;display:block}.ai1wm-accordion h4{cursor:pointer;color:rgba(0,116,162,.8);margin:0}.ai1wm-accordion h4 small{color:#444;font-weight:400;display:inline}.ai1wm-accordion .ai1wm-icon-arrow-right{transition:-webkit-transform .1s ease-out;transition:transform .1s ease-out}.ai1wm-accordion ul{margin:0;padding:0;list-style:none;visibility:hidden;height:0;transition:height .2s cubic-bezier(.19,1,.22,1)}.ai1wm-accordion.ai1wm-open h4 .ai1wm-icon-arrow-right{-webkit-transform:rotate(90deg);transform:rotate(90deg);display:inline-block}.ai1wm-accordion.ai1wm-open ul{height:auto;margin:.6em 0 0 2em;visibility:visible}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url("../img/logo-32x32.png")}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 0}.ai1wm-modal-container section p .ai1wm-modal-sites input{width:90%}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-query-arrow{position:relative;top:4px;float:right}.ai1wm-query.ai1wm-open{background:#ebebeb!important}.ai1wm-query.ai1wm-open p small{border-bottom:1px dashed #000}.ai1wm-query.ai1wm-open div{visibility:visible!important;height:82px!important;margin-top:8px}.ai1wm-query.ai1wm-open .ai1wm-query-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ai1wm-query{width:100%;margin:0 0 10px;list-style:none;background:0 0;border:1px solid #d8d8d8;padding:10px;border-radius:5px;box-sizing:border-box}.ai1wm-query div{transition:height .2s cubic-bezier(.19,1,.22,1);visibility:hidden;height:0}.ai1wm-query div input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#333;transition:.05s border-color ease-in-out;border-radius:5px}.ai1wm-query div input:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8)}.ai1wm-query p{margin:0;cursor:pointer}.ai1wm-query p small{display:inline;width:auto;float:none}.ai1wm-query-arrow{transition:-webkit-transform .1s ease-out;transition:transform .1s ease-out}.ai1wm-include-tables{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-plugins{display:inline-block;width:300px;vertical-align:top}.ai1wm-include-media{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-themes{display:inline-block;width:300px;vertical-align:top}.ai1wm-export-stats{margin-bottom:1em}#ai1wm-export-download{display:none;margin:0 0 2em}#ai1wm-export-download-stop{display:inline-block;margin:0 0 2em}#ai1wm-export-download.ai1wm-active{display:inline-block;-webkit-animation:ai1wm-fadein .5s;animation:ai1wm-fadein .5s}#ai1wm-export-download.ai1wm-emphasize{display:inline-block;-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}#ai1wm-export-download-size{display:block;color:#34495e}
|
lib/view/assets/css/import.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:none;height:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-chevron-down{display:inline-block;position:relative;-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg);margin-left:.5em!important}.ai1wm-icon-chevron-down:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:before,.ai1wm-row:after{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message,.ai1wm-right .ai1wm-http-authentication{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-row,.ai1wm-right{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:before,.ai1wm-container:after{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 #fff;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type="text"],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#F2F8F0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#F1D7D7;color:#A95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#D95C5C;border:2px solid #D95C5C;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#D95C5C}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block}.ai1wm-button-group.ai1wm-button-export{width:147px}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:180px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import{width:158px}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:6px 25px 1px 26px;height:22px;line-height:22px;text-decoration:none;color:#27ae60;text-align:left}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{-webkit-transform:translate(11px,-1px);transform:translate(11px,-1px);position:relative;display:inline-block;width:12px;height:10px}.ai1wm-line{display:inline-block;width:100%;height:2px;margin:auto;background:#27ae60;position:absolute;transition:all .2s ease-in-out}.ai1wm-line-first{top:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third,.ai1wm-line-second{top:50%}.ai1wm-line-third{top:100%}.ai1wm-button-gray{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-green{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-green-small{border:2px solid #6eb649;background-color:transparent;color:#6eb649;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue{border:2px solid #00aff0;background-color:transparent;color:#00aff0;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;background-color:transparent;color:#e74c3c;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled="disabled"],.ai1wm-button-green[disabled="disabled"],.ai1wm-button-red[disabled="disabled"],.ai1wm-button-green-small[disabled="disabled"]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled="disabled"]:hover{color:#00aff0}.ai1wm-button-red[disabled="disabled"]:hover{color:#e74c3c}.ai1wm-button-green[disabled="disabled"]:hover{color:#27ae60}.ai1wm-button-blue[disabled="disabled"]:hover,.ai1wm-button-green[disabled="disabled"]:hover,.ai1wm-button-red[disabled="disabled"]:hover,.ai1wm-button-green-small[disabled="disabled"]:hover{background:0 0}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type="radio"].ai1wm-flat-radio-button{display:none}input[type="radio"].ai1wm-flat-radio-button+a i,input[type="radio"].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type="radio"].ai1wm-flat-radio-button:checked+a i,input[type="radio"].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #D6D6D6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-feedback-cancel:active{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:none;color:#333;text-deciration:none}.ai1wm-feedback-types>li>a>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url("../img/logo.svg") no-repeat center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-growl-info{position:fixed;z-index:200000;top:0;margin-top:16px;right:16px;width:200px;padding:16px;background:#f1c40f;border:1px solid #e67e22;border-radius:5px;color:#111}.ai1wm-drag-drop-area{border:3px dashed #ddd;height:200px;margin:20px 0 16px;background:#fff;text-align:center;border-radius:30px}.ai1wm-drag-drop-area.dragover{background:rgba(255,255,255,.4);border-color:green}.ai1wm-drag-over .ai1wm-drag-drop-area{border-color:#83b4d8}.ai1wm-import-form{position:relative}#ai1wm-import-init{position:absolute;top:10px;left:10%;width:80%;text-align:center}#ai1wm-import-init>p{font-size:18px;color:#9e9e9e}#ai1wm-import-init>p>i{font-size:46px}.ai1wm-unlimited-import a{text-decoration:none}.ai1wm-max-upload-size{border-bottom:1px solid #000}.ai1wm-progress-bar{position:relative;display:inline-block;background-color:#bdc3c7;height:32px;width:100%;border-radius:15px;top:35px}.ai1wm-progress-bar-meter{background-color:#2ecc71;border-radius:15px;width:0;text-align:center}.ai1wm-progress-bar-meter,.ai1wm-progress-bar-percent{display:inline-block;float:left;height:32px;line-height:32px;color:#fff}.ai1wm-progress-bar-percent{position:absolute;width:50px;left:50%;-webkit-transform:translate(-24px,0);transform:translate(-24px,0);font-size:.5em;background:0 0}
|
1 |
+
@charset "UTF-8";.ai1wm-divider{-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:none;height:0;background-color:transparent;font-size:14px;font-weight:700;text-align:center;text-transform:uppercase;color:rgba(0,0,0,.8);position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(-90deg);transform:rotateZ(-90deg)}50%{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}75%{-webkit-transform:rotateZ(-270deg);transform:rotateZ(-270deg)}100%{-webkit-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@-webkit-keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-emphasize{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-chevron-down{display:inline-block;position:relative;-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg);margin-left:.5em!important}.ai1wm-icon-chevron-down:before{content:"\e60d"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-alone{margin:0!important}@media (min-width:855px){.ai1wm-row{margin-right:399px}.ai1wm-row:before,.ai1wm-row:after{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message,.ai1wm-right .ai1wm-http-authentication{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{margin:0;padding:0;float:left;font-weight:300;font-size:22px;text-transform:uppercase}.ai1wm-holder h1 i{position:relative;top:2px}@media (max-width:854px){.ai1wm-container{margin-left:10px!important}.ai1wm-row,.ai1wm-right{margin-right:0!important}.ai1wm-right{float:left!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0 2px}.ai1wm-container:before,.ai1wm-container:after{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 #fff;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:400;font-size:.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type="text"],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#F2F8F0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#F1D7D7;color:#A95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#D95C5C;border:2px solid #D95C5C;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#D95C5C}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-left:4px solid #ffba00}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block}.ai1wm-button-group.ai1wm-button-export{width:147px}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:180px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import{width:158px}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:6px 25px 1px 26px;height:22px;line-height:22px;text-decoration:none;color:#27ae60;text-align:left}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{-webkit-transform:translate(11px,-1px);transform:translate(11px,-1px);position:relative;display:inline-block;width:12px;height:10px}.ai1wm-line{display:inline-block;width:100%;height:2px;margin:auto;background:#27ae60;position:absolute;transition:all .2s ease-in-out}.ai1wm-line-first{top:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third,.ai1wm-line-second{top:50%}.ai1wm-line-third{top:100%}.ai1wm-button-gray{border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-green{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-green-small{border:2px solid #6eb649;background-color:transparent;color:#6eb649;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue{border:2px solid #00aff0;background-color:transparent;color:#00aff0;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;background-color:transparent;color:#e74c3c;border-radius:5px;cursor:pointer;padding:5px 25px 5px 26px;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-alone{border-radius:50px!important;padding:5px 8px!important}.ai1wm-button-blue[disabled="disabled"],.ai1wm-button-green[disabled="disabled"],.ai1wm-button-red[disabled="disabled"],.ai1wm-button-green-small[disabled="disabled"]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled="disabled"]:hover{color:#00aff0}.ai1wm-button-red[disabled="disabled"]:hover{color:#e74c3c}.ai1wm-button-green[disabled="disabled"]:hover{color:#27ae60}.ai1wm-button-blue[disabled="disabled"]:hover,.ai1wm-button-green[disabled="disabled"]:hover,.ai1wm-button-red[disabled="disabled"]:hover,.ai1wm-button-green-small[disabled="disabled"]:hover{background:0 0}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i,.ai1wm-button-red i{margin-left:-.5em;margin-right:.2em}.ai1wm-message-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}input[type="radio"].ai1wm-flat-radio-button{display:none}input[type="radio"].ai1wm-flat-radio-button+a i,input[type="radio"].ai1wm-flat-radio-button+label i{vertical-align:middle;float:left;width:25px;height:25px;border-radius:50%;background:0 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type="radio"].ai1wm-flat-radio-button:checked+a i,input[type="radio"].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-list-expanded{display:block!important}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:relative;float:right}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:0;background-color:#fff;margin:6px 0 0;padding:15px 15px 10px;border:1px solid #D6D6D6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;display:none}.ai1wm-report-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited,.ai1wm-report-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited,.ai1wm-feedback-cancel:active{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-no-underline{text-decoration:none}.ai1wm-top-negative-four{top:-4px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-feedback-types>li>a{height:29px;outline:none;color:#333;text-deciration:none}.ai1wm-feedback-types>li>a>span{display:inline-block;padding:5px 0 6px 8px}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url("../img/logo-128x128.png");background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:none;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:left;line-height:1.5em}.ai1wm-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(-240px,-94px);transform:translate(-240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url("../img/logo-32x32.png")}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 0}.ai1wm-modal-container section p .ai1wm-modal-sites input{width:90%}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:left}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-growl-info{position:fixed;z-index:200000;top:0;margin-top:16px;right:16px;width:200px;padding:16px;background:#f1c40f;border:1px solid #e67e22;border-radius:5px;color:#111}.ai1wm-drag-drop-area{border:3px dashed #ddd;height:200px;margin:20px 0 16px;background:#fff;text-align:center;border-radius:30px}.ai1wm-drag-drop-area.dragover{background:rgba(255,255,255,.4);border-color:green}.ai1wm-drag-over .ai1wm-drag-drop-area{border-color:#83b4d8}.ai1wm-import-form{position:relative}#ai1wm-import-init{position:absolute;top:10px;left:10%;width:80%;text-align:center}#ai1wm-import-init>p{font-size:18px;color:#9e9e9e}#ai1wm-import-init>p>i{font-size:46px}.ai1wm-unlimited-import a{text-decoration:none}.ai1wm-max-upload-size{border-bottom:1px solid #000}.ai1wm-progress-bar{position:relative;display:inline-block;background-color:#bdc3c7;height:32px;width:100%;border-radius:15px;top:35px}.ai1wm-progress-bar-meter{background-color:#2ecc71;border-radius:15px;width:0;text-align:center}.ai1wm-progress-bar-meter,.ai1wm-progress-bar-percent{display:inline-block;float:left;height:32px;line-height:32px;color:#fff}.ai1wm-progress-bar-percent{position:absolute;width:50px;left:50%;-webkit-transform:translate(-24px,0);transform:translate(-24px,0);font-size:.5em;background:0 0}
|
lib/view/assets/img/logo-128x128.png
ADDED
Binary file
|
lib/view/assets/img/logo-20x20.png
ADDED
Binary file
|
lib/view/assets/img/logo-32x32.png
ADDED
Binary file
|
lib/view/assets/javascript/backups.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function e(a,t,i){function o(n,s){if(!t[n]){if(!a[n]){var p="function"==typeof require&&require;if(!s&&p)return p(n,!0);if(r)return r(n,!0);throw new Error("Cannot find module '"+n+"'")}var c=t[n]={exports:{}};a[n][0].call(c.exports,function(e){var t=a[n][1][e];return o(t?t:e)},c,c.exports,e,a,t,i)}return t[n].exports}for(var r="function"==typeof require&&require,n=0;n<i.length;n++)o(i[n]);return o}({1:[function(e){var a=(e("./servmask/report"),e("./servmask/feedback"),e("./servmask/util")),t=e("./import/import");jQuery(document).ready(function(e){"use strict";e(".ai1wm-backup-actions > a").hover(function(){e(this).addClass("ai1wm-button-on")},function(){e(this).removeClass("ai1wm-button-on")}),e(".ai1wm-backup-delete").click(function(a){var t=e(this);confirm("Are you sure you want to delete this file?")&&e.ajax({type:"POST",url:ai1wm_backups.ajax.url,data:{archive:t.data("archive")},success:function(a){var i=a.errors;0===i.length&&(t.closest("tr").remove(),0===e(".ai1wm-backups tbody tr").length&&(e(".ai1wm-backups").addClass("ai1wm-hide"),e(".ai1wm-backups-empty").removeClass("ai1wm-hide")))},dataType:"json"}),a.preventDefault()});var i=new t;e(".ai1wm-backup-restore").click(function(t){var o=a.random(12),r=e(this).data("archive");i.start({storage:o,archive:r,backups:!0}),i.onConfirm=function(){i.confirm({storage:o,archive:r,backups:!0,priority:150})},t.preventDefault()})})},{"./import/import":2,"./servmask/feedback":4,"./servmask/report":5,"./servmask/util":6}],2:[function(e,a){var t=e("./modal"),i=jQuery,o=function(){var e=this;this.modal=new t,this.modal.onConfirm=function(){e.onConfirm()},this.modal.onStop=function(){e.onStop()}};o.prototype.start=function(e){var a=this;i(window).bind("beforeunload",function(){return"You are about to stop importing your website, are you sure?"}),this.stop=!1,this.setStatus({type:"info",message:"Preparing to import..."}),i.post(ai1wm_import.ajax.url,i.extend({secret_key:ai1wm_import.secret_key},e)).done(function(){a.getStatus()}).fail(function(){a.setStatus({type:"error",message:"Unable to start the import. Refresh the page and try again"})})},o.prototype.confirm=function(e){var a=this;i.post(ai1wm_import.ajax.url,i.extend({secret_key:ai1wm_import.secret_key},e)).done(function(){a.getStatus(ai1wm_import.status.php)}).fail(function(){a.setStatus({type:"error",message:"Unable to confirm the import. Refresh the page and try again"})})},o.prototype.clean=function(e){var a=this;this.stop=!0,i.post(ai1wm_import.ajax.url,i.extend({secret_key:ai1wm_import.secret_key},e)).done(function(){i(window).unbind("beforeunload")}).fail(function(){a.setStatus({type:"error",message:"Unable to clean the import. Refresh the page and try again"})})},o.prototype.getStatus=function(e,a){var t=this,a=a||0;this.stop||i.ajax({cache:!1,url:e,dataType:"json"}).done(function(o){if(o)switch(t.setStatus(o),o.type){case"done":case"error":return i(window).unbind("beforeunload"),void 0;case"confirm":return}setTimeout(function(){t.getStatus(e,a)},3e3)}).fail(function(){a++,a>=6?t.setStatus({type:"error",message:"Unable to retrieve status of the import. Is your server running?"}):a>=3?t.getStatus(ai1wm_import.status.js,a):t.getStatus(ai1wm_import.status.php,a)})},o.prototype.setStatus=function(e){this.modal.render(e)},o.prototype.onConfirm=function(){throw"onConfirm event is not implemented"},o.prototype.onStop=function(){throw"onStop event is not implemented"},a.exports=o},{"./modal":3}],3:[function(e,a){var t=jQuery,i=function(){var e=this;this.error=function(a){var i=t("<div></div>"),o=t("<section></section>"),r=t("<h1></h1>"),n=t("<p></p>").html(a.message),s=t("<div></div>"),p=t("<span></span>").addClass("ai1wm-title-red").text("Unable to import"),c=t('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});s.append(c),r.append(p),o.append(r).append(n),i.append(o).append(s),e.modal.html(i).show(),e.overlay.show()},this.progress=function(a){var i=t("<div></div>"),o=t("<section></section>"),r=t("<h1></h1>"),n=(t("<p></p>"),t("<div></div>")),s=t('<span class="ai1wm-progress-bar"></span>'),p=t('<span class="ai1wm-progress-bar-meter"></span>').width(a.percent+"%"),c=t('<span class="ai1wm-progress-bar-percent">0%</span>').text(a.percent+"%"),m=t('<button class="ai1wm-button-red"><i class="ai1wm-icon-notification"></i> Stop import</button>').on("click",function(){t(this).attr("disabled","disabled"),e.onStop(),e.modal.hide(),e.overlay.hide()});s.append(p).append(c),n.append(m),r.append(s),o.append(r),i.append(o).append(n),e.modal.html(i).show(),e.overlay.show()},this.confirm=function(a){var i=t("<div></div>"),o=t("<section></section>"),r=t("<h1></h1>"),n=t("<p></p>").html(a.message),s=t("<div></div>"),p=t('<span class="ai1wm-icon-notification"></span>'),c=t('<button class="ai1wm-button-green">Continue</button>').on("click",function(){t(this).attr("disabled","disabled"),e.onConfirm()});s.append(c),r.append(p),o.append(r).append(n),i.append(o).append(s),e.modal.html(i).show(),e.overlay.show()},this.info=function(a){var i=t("<div></div>"),o=t("<section></section>"),r=t("<h1></h1>"),n=t("<p></p>").html(a.message),s=t("<div></div>"),p=t('<span class="ai1wm-loader"></span>'),c=t('<button class="ai1wm-button-red"><i class="ai1wm-icon-notification"></i> Stop import</button>').attr("disabled","disabled");s.append(c),r.append(p),o.append(r).append(n),i.append(o).append(s),e.modal.html(i).show(),e.overlay.show()},this.done=function(a){var i=t("<div></div>"),o=t("<section></section>"),r=t("<h1></h1>"),n=t("<p></p>").html(a.message),s=t("<div></div>"),p=t("<span></span>").addClass("ai1wm-title-green").text(a.title),c=t('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});s.append(c),r.append(p),o.append(r).append(n),i.append(o).append(s),e.modal.html(i).show(),e.overlay.show()},this.overlay=t('<div class="ai1wm-overlay"></div>'),this.modal=t('<div class="ai1wm-modal-container"></div>'),t("body").append(this.overlay).append(this.modal)};i.prototype.render=function(e){switch(e.type){case"error":this.error(e);break;case"confirm":this.confirm(e);break;case"progress":this.progress(e);break;case"info":this.info(e);break;case"done":this.done(e)}},a.exports=i},{}],4:[function(){jQuery(document).ready(function(e){"use strict";e(".ai1wm-feedback-type").attr("checked",!1),e("#ai1wm-feedback-type-link-1").click(function(a){var t=e("#ai1wm-feedback-type-1");t.is(":checked")?(t.attr("checked",!1),a.preventDefault()):t.attr("checked",!0)}),e("#ai1wm-feedback-type-2").click(function(){e("#ai1wm-feedback-type-1, #ai1wm-feedback-type-3").closest("li").hide(),e(".ai1wm-feedback-form").find(".ai1wm-feedback-message").attr("placeholder","Leave plugin developers any feedback here"),e(".ai1wm-feedback-form").fadeIn()}),e("#ai1wm-feedback-type-3").click(function(){e("#ai1wm-feedback-type-1, #ai1wm-feedback-type-2").closest("li").hide(),e(".ai1wm-feedback-form").find(".ai1wm-feedback-message").attr("placeholder","How may we help you?"),e(".ai1wm-feedback-form").fadeIn()}),e("#ai1wm-feedback-cancel").click(function(a){e(".ai1wm-feedback-form").fadeOut(function(){e(".ai1wm-feedback-type").attr("checked",!1).closest("li").show()}),a.preventDefault()}),e("#ai1wm-feedback-submit").click(function(){var a=e(".ai1wm-feedback-type:checked").val(),t=e(".ai1wm-feedback-email").val(),i=e(".ai1wm-feedback-message").val(),o=e(".ai1wm-feedback-terms").is(":checked");e.ajax({type:"POST",url:ai1wm_feedback.ajax.url,data:{"ai1wm-type":a,"ai1wm-email":t,"ai1wm-message":i,"ai1wm-terms":+o},success:function(a){var t=a.errors;if(t.length>0){e(".ai1wm-feedback .ai1wm-message").remove();var i=e("<div />").addClass("ai1wm-message ai1wm-error-message");e.each(t,function(e,a){i.append("<p>"+a+"</p>")}),e(".ai1wm-feedback").prepend(i)}else{var o=e("<div />").addClass("ai1wm-message ai1wm-success-message").append("<p>Thanks for submitting your feedback!</p>");e(".ai1wm-feedback").html(o)}},dataType:"json",async:!1})})})},{}],5:[function(){jQuery(document).ready(function(e){"use strict";e("#ai1wm-report-problem-button").click(function(a){e(this).next(".ai1wm-report-problem-dialog").toggleClass("ai1wm-report-active"),a.preventDefault()}),e("#ai1wm-report-cancel").click(function(a){e(this).closest(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active"),a.preventDefault()}),e("#ai1wm-report-submit").click(function(){var a=e(".ai1wm-report-email").val(),t=e(".ai1wm-report-message").val(),i=e(".ai1wm-report-terms").is(":checked");e.ajax({type:"POST",url:ai1wm_report.ajax.url,data:{"ai1wm-email":a,"ai1wm-message":t,"ai1wm-terms":+i},success:function(a){var t=a.errors;if(t.length>0){e(".ai1wm-report-problem-dialog .ai1wm-message").remove();var i=e("<div />").addClass("ai1wm-message ai1wm-error-message");e.each(t,function(e,a){i.append("<p>"+a+"</p>")}),e(".ai1wm-report-problem-dialog").prepend(i)}else{var o=e("<div />").addClass("ai1wm-message ai1wm-success-message").append("<p>Thanks for submitting your request!</p>");e(".ai1wm-report-problem-dialog").html(o),setTimeout(function(){e(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active")},2e3)}},dataType:"json",async:!1})})})},{}],6:[function(e,a){var t=jQuery;a.exports={random:function(e){for(var a="",t="abcdefghijklmnopqrstuvwxyz0123456789",i=0;e>i;i++)a+=t.charAt(Math.floor(Math.random()*t.length));return a},form:function(e){return t(e).serializeArray()},ucfirst:function(e){return e.charAt(0).toUpperCase()+e.slice(1)}}},{}]},{},[1]);
|
1 |
+
!function e(a,t,i){function o(s,r){if(!t[s]){if(!a[s]){var p="function"==typeof require&&require;if(!r&&p)return p(s,!0);if(n)return n(s,!0);throw new Error("Cannot find module '"+s+"'")}var c=t[s]={exports:{}};a[s][0].call(c.exports,function(e){var t=a[s][1][e];return o(t?t:e)},c,c.exports,e,a,t,i)}return t[s].exports}for(var n="function"==typeof require&&require,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(e){var a=(e("./servmask/report"),e("./servmask/feedback"),e("./servmask/util")),t=e("./import/import");jQuery(document).ready(function(e){"use strict";e(".ai1wm-backup-actions > a").hover(function(){e(this).addClass("ai1wm-button-on")},function(){e(this).removeClass("ai1wm-button-on")}),e(".ai1wm-backup-delete").click(function(a){var t=e(this);confirm("Are you sure you want to delete this file?")&&e.ajax({type:"POST",url:ai1wm_backups.ajax.url,data:{archive:t.data("archive")},success:function(a){var i=a.errors;0===i.length&&(t.closest("tr").remove(),0===e(".ai1wm-backups tbody tr").length&&(e(".ai1wm-backups").addClass("ai1wm-hide"),e(".ai1wm-backups-empty").removeClass("ai1wm-hide")))},dataType:"json"}),a.preventDefault()});var i=new t;e(".ai1wm-backup-restore").click(function(t){var o=a.random(12),n=e(this).data("archive");i.setParams([{name:"storage",value:o},{name:"archive",value:n},{name:"backups",value:1}]),i.start(),t.preventDefault()})})},{"./import/import":2,"./servmask/feedback":4,"./servmask/report":5,"./servmask/util":6}],2:[function(e,a){var t=e("../servmask/util"),i=e("./modal"),o=jQuery,n=function(){var e=this;this.params=[],this.modal=new i,this.modal.onConfirm=function(a){e.onConfirm(a)},this.modal.onBlogs=function(a){e.onBlogs(a)},this.modal.onStop=function(a){e.onStop(a)}};n.prototype.setParams=function(e){this.params=t.list(e)},n.prototype.start=function(e){var a=this;o(window).bind("beforeunload",function(){return"You are about to stop importing your website, are you sure?"}),this.stop=!1,this.setStatus({type:"info",message:"Preparing to import..."});var i=this.params.concat({name:"secret_key",value:ai1wm_import.secret_key});e&&(i=i.concat(t.list(e))),o.post(ai1wm_import.ajax.url,i).done(function(){a.getStatus()}).fail(function(){a.setStatus({type:"error",message:"Unable to start the import. Refresh the page and try again"})})},n.prototype.confirm=function(e){var a=this,i=this.params.concat({name:"secret_key",value:ai1wm_import.secret_key}).concat({name:"priority",value:150});e&&(i=i.concat(t.list(e))),o.post(ai1wm_import.ajax.url,i).done(function(){a.getStatus(ai1wm_import.status.php)}).fail(function(){a.setStatus({type:"error",message:"Unable to confirm the import. Refresh the page and try again"})})},n.prototype.blogs=function(e){var a=this,i=this.params.concat({name:"secret_key",value:ai1wm_import.secret_key}).concat({name:"priority",value:150});e&&(i=i.concat(t.list(e))),o.post(ai1wm_import.ajax.url,i).done(function(){a.getStatus(ai1wm_import.status.php)}).fail(function(){a.setStatus({type:"error",message:"Unable to prepare blogs the import. Refresh the page and try again"})})},n.prototype.clean=function(e){var a=this;this.stop=!0;var i=this.params.concat({name:"secret_key",value:ai1wm_import.secret_key}).concat({name:"priority",value:400});e&&(i=i.concat(t.list(e))),o.post(ai1wm_import.ajax.url,i).done(function(){o(window).unbind("beforeunload")}).fail(function(){a.setStatus({type:"error",message:"Unable to clean the import. Refresh the page and try again"})})},n.prototype.getStatus=function(e,a){var t=this,a=a||0;this.stop||o.ajax({cache:!1,url:e,dataType:"json"}).done(function(i){if(i)switch(t.setStatus(i),i.type){case"done":case"error":return o(window).unbind("beforeunload"),void 0;case"confirm":case"blogs":return}setTimeout(function(){t.getStatus(e,a)},3e3)}).fail(function(){a++,a>=6?t.setStatus({type:"error",message:"Unable to retrieve status of the import. Is your server running?"}):a>=3?t.getStatus(ai1wm_import.status.js,a):t.getStatus(ai1wm_import.status.php,a)})},n.prototype.setStatus=function(e){this.modal.render(e)},n.prototype.onConfirm=function(e){this.confirm(e)},n.prototype.onBlogs=function(e){this.blogs(e)},n.prototype.onStop=function(e){this.clean(e)},a.exports=n},{"../servmask/util":6,"./modal":3}],3:[function(e,a){var t=jQuery,i=function(){var e=this;this.error=function(a){var i=t("<div></div>"),o=t("<section></section>"),n=t("<h1></h1>"),s=t("<p></p>").html(a.message),r=t("<div></div>"),p=t("<span></span>").addClass("ai1wm-title-red").text("Unable to import"),c=t('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});r.append(c),n.append(p),o.append(n).append(s),i.append(o).append(r),e.modal.html(i).show(),e.overlay.show()},this.progress=function(a){var i=t("<div></div>"),o=t("<section></section>"),n=t("<h1></h1>"),s=(t("<p></p>"),t("<div></div>")),r=t('<span class="ai1wm-progress-bar"></span>'),p=t('<span class="ai1wm-progress-bar-meter"></span>').width(a.percent+"%"),c=t('<span class="ai1wm-progress-bar-percent">0%</span>').text(a.percent+"%"),m=t('<button class="ai1wm-button-red"><i class="ai1wm-icon-notification"></i> Stop import</button>').on("click",function(){t(this).attr("disabled","disabled"),e.onStop(),e.modal.hide(),e.overlay.hide()});r.append(p).append(c),s.append(m),n.append(r),o.append(n),i.append(o).append(s),e.modal.html(i).show(),e.overlay.show()},this.confirm=function(a){var i=t("<div></div>"),o=t("<section></section>"),n=t("<h1></h1>"),s=t("<p></p>").html(a.message),r=t("<div></div>"),p=t('<span class="ai1wm-icon-notification"></span>'),c=t('<button class="ai1wm-button-green">Continue</button>').on("click",function(){t(this).attr("disabled","disabled"),e.onConfirm()});r.append(c),n.append(p),o.append(n).append(s),i.append(o).append(r),e.modal.html(i).show(),e.overlay.show()},this.blogs=function(a){var i=t("<form></form>"),o=t("<section></section>"),n=t("<h1></h1>"),s=t("<p></p>").html(a.message),r=t("<div></div>"),p=t("<span></span>").addClass("ai1wm-title-grey").text("Update subsite name"),c=t('<button class="ai1wm-button-green">Continue</button>').on("click",function(){t(this).attr("disabled","disabled"),e.onBlogs(t(this).closest("form").serializeArray())});r.append(c),n.append(p),o.append(n).append(s),i.append(o).append(r),e.modal.html(i).show(),e.overlay.show()},this.info=function(a){var i=t("<div></div>"),o=t("<section></section>"),n=t("<h1></h1>"),s=t("<p></p>").html(a.message),r=t("<div></div>"),p=t('<span class="ai1wm-loader"></span>'),c=t('<button class="ai1wm-button-red"><i class="ai1wm-icon-notification"></i> Stop import</button>').attr("disabled","disabled");r.append(c),n.append(p),o.append(n).append(s),i.append(o).append(r),e.modal.html(i).show(),e.overlay.show()},this.done=function(a){var i=t("<div></div>"),o=t("<section></section>"),n=t("<h1></h1>"),s=t("<p></p>").html(a.message),r=t("<div></div>"),p=t("<span></span>").addClass("ai1wm-title-green").text(a.title),c=t('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});r.append(c),n.append(p),o.append(n).append(s),i.append(o).append(r),e.modal.html(i).show(),e.overlay.show()},this.overlay=t('<div class="ai1wm-overlay"></div>'),this.modal=t('<div class="ai1wm-modal-container"></div>'),t("body").append(this.overlay).append(this.modal)};i.prototype.render=function(e){switch(e.type){case"error":this.error(e);break;case"confirm":this.confirm(e);break;case"blogs":this.blogs(e);break;case"progress":this.progress(e);break;case"info":this.info(e);break;case"done":this.done(e)}},a.exports=i},{}],4:[function(){jQuery(document).ready(function(e){"use strict";e(".ai1wm-feedback-type").attr("checked",!1),e("#ai1wm-feedback-type-link-1").click(function(a){var t=e("#ai1wm-feedback-type-1");t.is(":checked")?(t.attr("checked",!1),a.preventDefault()):t.attr("checked",!0)}),e("#ai1wm-feedback-type-2").click(function(){e("#ai1wm-feedback-type-1, #ai1wm-feedback-type-3").closest("li").hide(),e(".ai1wm-feedback-form").find(".ai1wm-feedback-message").attr("placeholder","Leave plugin developers any feedback here"),e(".ai1wm-feedback-form").fadeIn()}),e("#ai1wm-feedback-type-3").click(function(){e("#ai1wm-feedback-type-1, #ai1wm-feedback-type-2").closest("li").hide(),e(".ai1wm-feedback-form").find(".ai1wm-feedback-message").attr("placeholder","How may we help you?"),e(".ai1wm-feedback-form").fadeIn()}),e("#ai1wm-feedback-cancel").click(function(a){e(".ai1wm-feedback-form").fadeOut(function(){e(".ai1wm-feedback-type").attr("checked",!1).closest("li").show()}),a.preventDefault()}),e("#ai1wm-feedback-submit").click(function(){var a=e(".ai1wm-feedback-type:checked").val(),t=e(".ai1wm-feedback-email").val(),i=e(".ai1wm-feedback-message").val(),o=e(".ai1wm-feedback-terms").is(":checked");e.ajax({type:"POST",url:ai1wm_feedback.ajax.url,data:{"ai1wm-type":a,"ai1wm-email":t,"ai1wm-message":i,"ai1wm-terms":+o},success:function(a){var t=a.errors;if(t.length>0){e(".ai1wm-feedback .ai1wm-message").remove();var i=e("<div />").addClass("ai1wm-message ai1wm-error-message");e.each(t,function(e,a){i.append("<p>"+a+"</p>")}),e(".ai1wm-feedback").prepend(i)}else{var o=e("<div />").addClass("ai1wm-message ai1wm-success-message").append("<p>Thanks for submitting your feedback!</p>");e(".ai1wm-feedback").html(o)}},dataType:"json",async:!1})})})},{}],5:[function(){jQuery(document).ready(function(e){"use strict";e("#ai1wm-report-problem-button").click(function(a){e(this).next(".ai1wm-report-problem-dialog").toggleClass("ai1wm-report-active"),a.preventDefault()}),e("#ai1wm-report-cancel").click(function(a){e(this).closest(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active"),a.preventDefault()}),e("#ai1wm-report-submit").click(function(){var a=e(".ai1wm-report-email").val(),t=e(".ai1wm-report-message").val(),i=e(".ai1wm-report-terms").is(":checked");e.ajax({type:"POST",url:ai1wm_report.ajax.url,data:{"ai1wm-email":a,"ai1wm-message":t,"ai1wm-terms":+i},success:function(a){var t=a.errors;if(t.length>0){e(".ai1wm-report-problem-dialog .ai1wm-message").remove();var i=e("<div />").addClass("ai1wm-message ai1wm-error-message");e.each(t,function(e,a){i.append("<p>"+a+"</p>")}),e(".ai1wm-report-problem-dialog").prepend(i)}else{var o=e("<div />").addClass("ai1wm-message ai1wm-success-message").append("<p>Thanks for submitting your request!</p>");e(".ai1wm-report-problem-dialog").html(o),setTimeout(function(){e(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active")},2e3)}},dataType:"json",async:!1})})})},{}],6:[function(e,a){var t=jQuery;a.exports={random:function(e){for(var a="",t="abcdefghijklmnopqrstuvwxyz0123456789",i=0;e>i;i++)a+=t.charAt(Math.floor(Math.random()*t.length));return a},form:function(e){return t(e).serializeArray()},ucfirst:function(e){return e.charAt(0).toUpperCase()+e.slice(1)},list:function(e){if(t.isPlainObject(e)){var a=[],i=decodeURIComponent(t.param(e)).split("&");return t.each(i,function(e,t){var i=t.split("=");a.push({name:i[0],value:i[1]})}),a}return e}}},{}]},{},[1]);
|
lib/view/assets/javascript/export.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function e(t,a,i){function o(r,s){if(!a[r]){if(!t[r]){var p="function"==typeof require&&require;if(!s&&p)return p(r,!0);if(n)return n(r,!0);throw new Error("Cannot find module '"+r+"'")}var c=a[r]={exports:{}};t[r][0].call(c.exports,function(e){var a=t[r][1][e];return o(a?a:e)},c,c.exports,e,t,a,i)}return a[r].exports}for(var n="function"==typeof require&&require,r=0;r<i.length;r++)o(i[r]);return o}({1:[function(e,t){var a=e("./modal"),i=jQuery,o=function(){var e=this;this.modal=new a,this.modal.onStop=function(){e.onStop()}};o.prototype.start=function(e){var t=this;i(window).bind("beforeunload",function(){return"You are about to stop exporting your website, are you sure?"}),this.stop=!1,this.setStatus({type:"info",message:"Preparing to export..."}),i.post(ai1wm_export.ajax.url,e.concat({name:"secret_key",value:ai1wm_export.secret_key})).done(function(){t.getStatus(ai1wm_export.status.php)}).fail(function(){t.setStatus({type:"error",message:"Unable to start the export. Refresh the page and try again"})})},o.prototype.clean=function(e){var t=this;this.stop=!0,i.post(ai1wm_export.ajax.url,e.concat({name:"secret_key",value:ai1wm_export.secret_key})).done(function(){i(window).unbind("beforeunload")}).fail(function(){t.setStatus({type:"error",message:"Unable to clean the export. Refresh the page and try again"})})},o.prototype.getStatus=function(e,t){var a=this,t=t||0;this.stop||i.ajax({cache:!1,url:e,dataType:"json"}).done(function(o){if(o)switch(a.setStatus(o),o.type){case"done":case"error":case"download":return i(window).unbind("beforeunload"),void 0}setTimeout(function(){a.getStatus(e,t)},3e3)}).fail(function(){t++,t>=6?a.setStatus({type:"error",message:"Unable to retrieve status of the export. Is your server running?"}):t>=3?a.getStatus(ai1wm_export.status.js,t):a.getStatus(ai1wm_export.status.php,t)})},o.prototype.setStatus=function(e){this.modal.render(e)},o.prototype.onStop=function(){throw"onStop event is not implemented"},t.exports=o},{"./modal":2}],2:[function(e,t){var a=jQuery,i=function(){var e=this;this.error=function(t){var i=a("<div></div>"),o=a("<section></section>"),n=a("<h1></h1>"),r=a("<p></p>").html(t.message),s=a("<div></div>"),p=a("<span></span>").addClass("ai1wm-title-red").text("Unable to export"),c=a('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});s.append(c),n.append(p),o.append(n).append(r),i.append(o).append(s),e.modal.html(i).show(),e.overlay.show()},this.info=function(t){var i=a("<div></div>"),o=a("<section></section>"),n=a("<h1></h1>"),r=a("<p></p>").html(t.message),s=a("<div></div>"),p=a('<span class="ai1wm-loader"></span>'),c=a('<button class="ai1wm-button-red"><i class="ai1wm-icon-notification"></i> Stop export</button>').on("click",function(){a(this).attr("disabled","disabled"),e.onStop(),e.modal.hide(),e.overlay.hide()});s.append(c),n.append(p),o.append(n).append(r),i.append(o).append(s),e.modal.html(i).show(),e.overlay.show()},this.done=function(t){var i=a("<div></div>"),o=a("<section></section>"),n=a("<h1></h1>"),r=a("<p></p>").html(t.message),s=a("<div></div>"),p=a("<span></span>").addClass("ai1wm-title-green").text(t.title),c=a('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});s.append(c),n.append(p),o.append(n).append(r),i.append(o).append(s),e.modal.html(i).show(),e.overlay.show()},this.download=function(t){var i=a("<div></div>"),o=a("<section></section>"),n=(a("<h1></h1>"),a("<p></p>").html(t.message)),r=a("<div></div>"),s=a('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});r.append(s),o.append(n),i.append(o).append(r),e.modal.html(i).show(),e.overlay.show()},this.overlay=a('<div class="ai1wm-overlay"></div>'),this.modal=a('<div class="ai1wm-modal-container"></div>'),a("body").append(this.overlay).append(this.modal)};i.prototype.render=function(e){switch(e.type){case"error":this.error(e);break;case"info":this.info(e);break;case"done":this.done(e);break;case"download":this.download(e)}},t.exports=i},{}],3:[function(e){(function(t){var a=(e("./jquery/query"),e("./jquery/find_replace"),e("./servmask/report"),e("./servmask/feedback"),e("./servmask/util")),i=(e("./servmask/deprecated"),e("./export/export"));jQuery(document).ready(function(e){"use strict";var t=new i;e("#ai1wm-export-file").click(function(e){var i=a.random(12),o=a.form("#ai1wm-export-form").concat({name:"storage",value:i});t.start(o),t.onStop=function(){t.clean(o.concat({name:"priority",value:350}))},e.preventDefault()}),e(".ai1wm-accordion > .ai1wm-title").click(function(){e(this).parent().toggleClass("ai1wm-active")}),e("#ai1wm-add-new-replace-button").ai1wm_find_replace(),e(".ai1wm-expandable > p:first, .ai1wm-expandable > h4:first, .ai1wm-expandable > div.ai1wm-button-main").on("click",function(){e(this).parent().toggleClass("ai1wm-open")}),e(".ai1wm-collapsable").ai1wm_query()}),t.Ai1wm={Util:a,Export:i}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./export/export":1,"./jquery/find_replace":4,"./jquery/query":5,"./servmask/deprecated":6,"./servmask/feedback":8,"./servmask/report":9,"./servmask/util":10}],4:[function(){!function(e){e.fn.ai1wm_find_replace=function(){return e(this).click(function(t){t.preventDefault();var a=e("#ai1wm-queries > li:first").clone();a.find("input").val(""),a.find(".ai1wm-query-find-text").html("<text>"),a.find(".ai1wm-query-replace-text").html("<another-text>"),e("#ai1wm-queries > li").removeClass("ai1wm-open"),e(a).addClass("ai1wm-open"),e("#ai1wm-queries").append(a),e(a).ai1wm_query(),e(a).find("p:first").on("click",function(){e(this).parent().toggleClass("ai1wm-open")})}),this}}(jQuery)},{}],5:[function(){!function(e){e.fn.ai1wm_query=function(){var t=e(this).find("input.ai1wm-query-find-input"),a=e(this).find("input.ai1wm-query-replace-input"),i=e(this).find("small.ai1wm-query-find-text"),o=e(this).find("small.ai1wm-query-replace-text");return t.on("change paste input keypress keydown keyup",function(){var t=e(this).val().length>0?e(this).val():"<text>";i.text(t)}),a.on("change paste input keypress keydown keyup",function(){var t=e(this).val().length>0?e(this).val():"<another-text>";o.text(t)}),this}}(jQuery)},{}],6:[function(e){var t=(e("./util"),e("./dialog")),a={s3:"Amazon S3 Extension",url:"URL Extension",ftp:"FTP Extension",gdrive:"Google Drive Extension",dropbox:"Dropbox Extension"};window.Ai1wmExportController=function(e){this._export={},this._provider=e},window.Ai1wmExportController.prototype.start=function(){new t("<strong>All in One WP Migration</strong> is not compatible with current version of <strong>"+a[this._provider]+'</strong>. Please contact <a href="mailto:support@servmask.com">support@servmask.com</a> for more details.')},window.Ai1wmImportController=function(e){this._import={},this._provider=e},window.Ai1wmImportController.prototype.init=function(){},window.Ai1wmImportController.prototype.download=function(){new t("<strong>All in One WP Migration</strong> is not compatible with current version of <strong>"+a[this._provider]+'</strong>. Please contact <a href="mailto:support@servmask.com">support@servmask.com</a> for more details.')}},{"./dialog":7,"./util":10}],7:[function(e,t){var a=jQuery,i=function(e){var t=this;this.overlay=a('<div class="ai1wm-overlay"></div>'),this.container=a("<div></div>"),this.modal=a('<div class="ai1wm-modal-container"></div>'),this.section=a("<section></section>"),this.message=a("<p></p>").addClass("ai1wm-dialog-message").html(e),this.action=a("<div></div>"),this.closeButton=a('<button class="ai1wm-button-red">Close</button>').on("click",function(){t.modal.hide(),t.overlay.hide()}),this.action.append(this.closeButton),this.section.append(this.message),this.container.append(this.section).append(this.action),this.modal.html(this.container).show(),this.overlay.show(),a("body").append(this.overlay).append(this.modal)};t.exports=i},{}],8:[function(){jQuery(document).ready(function(e){"use strict";e(".ai1wm-feedback-type").attr("checked",!1),e("#ai1wm-feedback-type-link-1").click(function(t){var a=e("#ai1wm-feedback-type-1");a.is(":checked")?(a.attr("checked",!1),t.preventDefault()):a.attr("checked",!0)}),e("#ai1wm-feedback-type-2").click(function(){e("#ai1wm-feedback-type-1, #ai1wm-feedback-type-3").closest("li").hide(),e(".ai1wm-feedback-form").find(".ai1wm-feedback-message").attr("placeholder","Leave plugin developers any feedback here"),e(".ai1wm-feedback-form").fadeIn()}),e("#ai1wm-feedback-type-3").click(function(){e("#ai1wm-feedback-type-1, #ai1wm-feedback-type-2").closest("li").hide(),e(".ai1wm-feedback-form").find(".ai1wm-feedback-message").attr("placeholder","How may we help you?"),e(".ai1wm-feedback-form").fadeIn()}),e("#ai1wm-feedback-cancel").click(function(t){e(".ai1wm-feedback-form").fadeOut(function(){e(".ai1wm-feedback-type").attr("checked",!1).closest("li").show()}),t.preventDefault()}),e("#ai1wm-feedback-submit").click(function(){var t=e(".ai1wm-feedback-type:checked").val(),a=e(".ai1wm-feedback-email").val(),i=e(".ai1wm-feedback-message").val(),o=e(".ai1wm-feedback-terms").is(":checked");e.ajax({type:"POST",url:ai1wm_feedback.ajax.url,data:{"ai1wm-type":t,"ai1wm-email":a,"ai1wm-message":i,"ai1wm-terms":+o},success:function(t){var a=t.errors;if(a.length>0){e(".ai1wm-feedback .ai1wm-message").remove();var i=e("<div />").addClass("ai1wm-message ai1wm-error-message");e.each(a,function(e,t){i.append("<p>"+t+"</p>")}),e(".ai1wm-feedback").prepend(i)}else{var o=e("<div />").addClass("ai1wm-message ai1wm-success-message").append("<p>Thanks for submitting your feedback!</p>");e(".ai1wm-feedback").html(o)}},dataType:"json",async:!1})})})},{}],9:[function(){jQuery(document).ready(function(e){"use strict";e("#ai1wm-report-problem-button").click(function(t){e(this).next(".ai1wm-report-problem-dialog").toggleClass("ai1wm-report-active"),t.preventDefault()}),e("#ai1wm-report-cancel").click(function(t){e(this).closest(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active"),t.preventDefault()}),e("#ai1wm-report-submit").click(function(){var t=e(".ai1wm-report-email").val(),a=e(".ai1wm-report-message").val(),i=e(".ai1wm-report-terms").is(":checked");e.ajax({type:"POST",url:ai1wm_report.ajax.url,data:{"ai1wm-email":t,"ai1wm-message":a,"ai1wm-terms":+i},success:function(t){var a=t.errors;if(a.length>0){e(".ai1wm-report-problem-dialog .ai1wm-message").remove();var i=e("<div />").addClass("ai1wm-message ai1wm-error-message");e.each(a,function(e,t){i.append("<p>"+t+"</p>")}),e(".ai1wm-report-problem-dialog").prepend(i)}else{var o=e("<div />").addClass("ai1wm-message ai1wm-success-message").append("<p>Thanks for submitting your request!</p>");e(".ai1wm-report-problem-dialog").html(o),setTimeout(function(){e(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active")},2e3)}},dataType:"json",async:!1})})})},{}],10:[function(e,t){var a=jQuery;t.exports={random:function(e){for(var t="",a="abcdefghijklmnopqrstuvwxyz0123456789",i=0;e>i;i++)t+=a.charAt(Math.floor(Math.random()*a.length));return t},form:function(e){return a(e).serializeArray()},ucfirst:function(e){return e.charAt(0).toUpperCase()+e.slice(1)}}},{}]},{},[3]);
|
1 |
+
!function e(t,a,i){function o(r,s){if(!a[r]){if(!t[r]){var c="function"==typeof require&&require;if(!s&&c)return c(r,!0);if(n)return n(r,!0);throw new Error("Cannot find module '"+r+"'")}var p=a[r]={exports:{}};t[r][0].call(p.exports,function(e){var a=t[r][1][e];return o(a?a:e)},p,p.exports,e,t,a,i)}return a[r].exports}for(var n="function"==typeof require&&require,r=0;r<i.length;r++)o(i[r]);return o}({1:[function(e,t){var a=e("../servmask/util"),i=e("./modal"),o=jQuery,n=function(){var e=this;this.params=[],this.modal=new i,this.modal.onStop=function(t){e.onStop(t)}};n.prototype.setParams=function(e){this.params=a.list(e)},n.prototype.start=function(e){var t=this;o(window).bind("beforeunload",function(){return"You are about to stop exporting your website, are you sure?"}),this.stop=!1,this.setStatus({type:"info",message:"Preparing to export..."});var i=this.params.concat({name:"secret_key",value:ai1wm_export.secret_key});e&&(i=i.concat(a.list(e))),o.post(ai1wm_export.ajax.url,i).done(function(){t.getStatus(ai1wm_export.status.php)}).fail(function(){t.setStatus({type:"error",message:"Unable to start the export. Refresh the page and try again"})})},n.prototype.clean=function(e){var t=this;this.stop=!0;var i=this.params.concat({name:"secret_key",value:ai1wm_export.secret_key}).concat({name:"priority",value:350});e&&(i=i.concat(a.list(e))),o.post(ai1wm_export.ajax.url,i).done(function(){o(window).unbind("beforeunload")}).fail(function(){t.setStatus({type:"error",message:"Unable to clean the export. Refresh the page and try again"})})},n.prototype.getStatus=function(e,t){var a=this,t=t||0;this.stop||o.ajax({cache:!1,url:e,dataType:"json"}).done(function(i){if(i)switch(a.setStatus(i),i.type){case"done":case"error":case"download":return o(window).unbind("beforeunload"),void 0}setTimeout(function(){a.getStatus(e,t)},3e3)}).fail(function(){t++,t>=6?a.setStatus({type:"error",message:"Unable to retrieve status of the export. Is your server running?"}):t>=3?a.getStatus(ai1wm_export.status.js,t):a.getStatus(ai1wm_export.status.php,t)})},n.prototype.setStatus=function(e){this.modal.render(e)},n.prototype.onStop=function(e){this.clean(e)},t.exports=n},{"../servmask/util":10,"./modal":2}],2:[function(e,t){var a=jQuery,i=function(){var e=this;this.error=function(t){var i=a("<div></div>"),o=a("<section></section>"),n=a("<h1></h1>"),r=a("<p></p>").html(t.message),s=a("<div></div>"),c=a("<span></span>").addClass("ai1wm-title-red").text("Unable to export"),p=a('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});s.append(p),n.append(c),o.append(n).append(r),i.append(o).append(s),e.modal.html(i).show(),e.overlay.show()},this.info=function(t){var i=a("<div></div>"),o=a("<section></section>"),n=a("<h1></h1>"),r=a("<p></p>").html(t.message),s=a("<div></div>"),c=a('<span class="ai1wm-loader"></span>'),p=a('<button class="ai1wm-button-red"><i class="ai1wm-icon-notification"></i> Stop export</button>').on("click",function(){a(this).attr("disabled","disabled"),e.onStop(),e.modal.hide(),e.overlay.hide()});s.append(p),n.append(c),o.append(n).append(r),i.append(o).append(s),e.modal.html(i).show(),e.overlay.show()},this.done=function(t){var i=a("<div></div>"),o=a("<section></section>"),n=a("<h1></h1>"),r=a("<p></p>").html(t.message),s=a("<div></div>"),c=a("<span></span>").addClass("ai1wm-title-green").text(t.title),p=a('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});s.append(p),n.append(c),o.append(n).append(r),i.append(o).append(s),e.modal.html(i).show(),e.overlay.show()},this.download=function(t){var i=a("<div></div>"),o=a("<section></section>"),n=(a("<h1></h1>"),a("<p></p>").html(t.message)),r=a("<div></div>"),s=a('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});r.append(s),o.append(n),i.append(o).append(r),e.modal.html(i).show(),e.overlay.show()},this.overlay=a('<div class="ai1wm-overlay"></div>'),this.modal=a('<div class="ai1wm-modal-container"></div>'),a("body").append(this.overlay).append(this.modal)};i.prototype.render=function(e){switch(e.type){case"error":this.error(e);break;case"info":this.info(e);break;case"done":this.done(e);break;case"download":this.download(e)}},t.exports=i},{}],3:[function(e){(function(t){var a=(e("./jquery/query"),e("./jquery/find_replace"),e("./servmask/report"),e("./servmask/feedback"),e("./servmask/util")),i=(e("./servmask/deprecated"),e("./export/export"));jQuery(document).ready(function(e){"use strict";var t=new i;e("#ai1wm-export-file").click(function(e){var i=a.random(12),o=a.form("#ai1wm-export-form").concat({name:"storage",value:i});t.setParams(o),t.start(),e.preventDefault()}),e(".ai1wm-accordion > .ai1wm-title").click(function(){e(this).parent().toggleClass("ai1wm-active")}),e("#ai1wm-add-new-replace-button").ai1wm_find_replace(),e(".ai1wm-expandable > p:first, .ai1wm-expandable > h4:first, .ai1wm-expandable > div.ai1wm-button-main").on("click",function(){e(this).parent().toggleClass("ai1wm-open")}),e(".ai1wm-collapsable").ai1wm_query()}),t.Ai1wm={Util:a,Export:i}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./export/export":1,"./jquery/find_replace":4,"./jquery/query":5,"./servmask/deprecated":6,"./servmask/feedback":8,"./servmask/report":9,"./servmask/util":10}],4:[function(){!function(e){e.fn.ai1wm_find_replace=function(){return e(this).click(function(t){t.preventDefault();var a=e("#ai1wm-queries > li:first").clone();a.find("input").val(""),a.find(".ai1wm-query-find-text").html("<text>"),a.find(".ai1wm-query-replace-text").html("<another-text>"),e("#ai1wm-queries > li").removeClass("ai1wm-open"),e(a).addClass("ai1wm-open"),e("#ai1wm-queries").append(a),e(a).ai1wm_query(),e(a).find("p:first").on("click",function(){e(this).parent().toggleClass("ai1wm-open")})}),this}}(jQuery)},{}],5:[function(){!function(e){e.fn.ai1wm_query=function(){var t=e(this).find("input.ai1wm-query-find-input"),a=e(this).find("input.ai1wm-query-replace-input"),i=e(this).find("small.ai1wm-query-find-text"),o=e(this).find("small.ai1wm-query-replace-text");return t.on("change paste input keypress keydown keyup",function(){var t=e(this).val().length>0?e(this).val():"<text>";i.text(t)}),a.on("change paste input keypress keydown keyup",function(){var t=e(this).val().length>0?e(this).val():"<another-text>";o.text(t)}),this}}(jQuery)},{}],6:[function(e){var t=(e("./util"),e("./dialog")),a={s3:"Amazon S3 Extension",url:"URL Extension",ftp:"FTP Extension",gdrive:"Google Drive Extension",dropbox:"Dropbox Extension"};window.Ai1wmExportController=function(e){this._export={},this._provider=e},window.Ai1wmExportController.prototype.start=function(){new t("<strong>All in One WP Migration</strong> is not compatible with current version of <strong>"+a[this._provider]+'</strong>. Please contact <a href="mailto:support@servmask.com">support@servmask.com</a> for more details.')},window.Ai1wmImportController=function(e){this._import={},this._provider=e},window.Ai1wmImportController.prototype.init=function(){},window.Ai1wmImportController.prototype.download=function(){new t("<strong>All in One WP Migration</strong> is not compatible with current version of <strong>"+a[this._provider]+'</strong>. Please contact <a href="mailto:support@servmask.com">support@servmask.com</a> for more details.')}},{"./dialog":7,"./util":10}],7:[function(e,t){var a=jQuery,i=function(e){var t=this;this.overlay=a('<div class="ai1wm-overlay"></div>'),this.container=a("<div></div>"),this.modal=a('<div class="ai1wm-modal-container"></div>'),this.section=a("<section></section>"),this.message=a("<p></p>").addClass("ai1wm-dialog-message").html(e),this.action=a("<div></div>"),this.closeButton=a('<button class="ai1wm-button-red">Close</button>').on("click",function(){t.modal.hide(),t.overlay.hide()}),this.action.append(this.closeButton),this.section.append(this.message),this.container.append(this.section).append(this.action),this.modal.html(this.container).show(),this.overlay.show(),a("body").append(this.overlay).append(this.modal)};t.exports=i},{}],8:[function(){jQuery(document).ready(function(e){"use strict";e(".ai1wm-feedback-type").attr("checked",!1),e("#ai1wm-feedback-type-link-1").click(function(t){var a=e("#ai1wm-feedback-type-1");a.is(":checked")?(a.attr("checked",!1),t.preventDefault()):a.attr("checked",!0)}),e("#ai1wm-feedback-type-2").click(function(){e("#ai1wm-feedback-type-1, #ai1wm-feedback-type-3").closest("li").hide(),e(".ai1wm-feedback-form").find(".ai1wm-feedback-message").attr("placeholder","Leave plugin developers any feedback here"),e(".ai1wm-feedback-form").fadeIn()}),e("#ai1wm-feedback-type-3").click(function(){e("#ai1wm-feedback-type-1, #ai1wm-feedback-type-2").closest("li").hide(),e(".ai1wm-feedback-form").find(".ai1wm-feedback-message").attr("placeholder","How may we help you?"),e(".ai1wm-feedback-form").fadeIn()}),e("#ai1wm-feedback-cancel").click(function(t){e(".ai1wm-feedback-form").fadeOut(function(){e(".ai1wm-feedback-type").attr("checked",!1).closest("li").show()}),t.preventDefault()}),e("#ai1wm-feedback-submit").click(function(){var t=e(".ai1wm-feedback-type:checked").val(),a=e(".ai1wm-feedback-email").val(),i=e(".ai1wm-feedback-message").val(),o=e(".ai1wm-feedback-terms").is(":checked");e.ajax({type:"POST",url:ai1wm_feedback.ajax.url,data:{"ai1wm-type":t,"ai1wm-email":a,"ai1wm-message":i,"ai1wm-terms":+o},success:function(t){var a=t.errors;if(a.length>0){e(".ai1wm-feedback .ai1wm-message").remove();var i=e("<div />").addClass("ai1wm-message ai1wm-error-message");e.each(a,function(e,t){i.append("<p>"+t+"</p>")}),e(".ai1wm-feedback").prepend(i)}else{var o=e("<div />").addClass("ai1wm-message ai1wm-success-message").append("<p>Thanks for submitting your feedback!</p>");e(".ai1wm-feedback").html(o)}},dataType:"json",async:!1})})})},{}],9:[function(){jQuery(document).ready(function(e){"use strict";e("#ai1wm-report-problem-button").click(function(t){e(this).next(".ai1wm-report-problem-dialog").toggleClass("ai1wm-report-active"),t.preventDefault()}),e("#ai1wm-report-cancel").click(function(t){e(this).closest(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active"),t.preventDefault()}),e("#ai1wm-report-submit").click(function(){var t=e(".ai1wm-report-email").val(),a=e(".ai1wm-report-message").val(),i=e(".ai1wm-report-terms").is(":checked");e.ajax({type:"POST",url:ai1wm_report.ajax.url,data:{"ai1wm-email":t,"ai1wm-message":a,"ai1wm-terms":+i},success:function(t){var a=t.errors;if(a.length>0){e(".ai1wm-report-problem-dialog .ai1wm-message").remove();var i=e("<div />").addClass("ai1wm-message ai1wm-error-message");e.each(a,function(e,t){i.append("<p>"+t+"</p>")}),e(".ai1wm-report-problem-dialog").prepend(i)}else{var o=e("<div />").addClass("ai1wm-message ai1wm-success-message").append("<p>Thanks for submitting your request!</p>");e(".ai1wm-report-problem-dialog").html(o),setTimeout(function(){e(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active")},2e3)}},dataType:"json",async:!1})})})},{}],10:[function(e,t){var a=jQuery;t.exports={random:function(e){for(var t="",a="abcdefghijklmnopqrstuvwxyz0123456789",i=0;e>i;i++)t+=a.charAt(Math.floor(Math.random()*a.length));return t},form:function(e){return a(e).serializeArray()},ucfirst:function(e){return e.charAt(0).toUpperCase()+e.slice(1)},list:function(e){if(a.isPlainObject(e)){var t=[],i=decodeURIComponent(a.param(e)).split("&");return a.each(i,function(e,a){var i=a.split("=");t.push({name:i[0],value:i[1]})}),t}return e}}},{}]},{},[3]);
|
lib/view/assets/javascript/import.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function e(t,o,a){function i(n,s){if(!o[n]){if(!t[n]){var p="function"==typeof require&&require;if(!s&&p)return p(n,!0);if(r)return r(n,!0);throw new Error("Cannot find module '"+n+"'")}var d=o[n]={exports:{}};t[n][0].call(d.exports,function(e){var o=t[n][1][e];return i(o?o:e)},d,d.exports,e,t,o,a)}return o[n].exports}for(var r="function"==typeof require&&require,n=0;n<a.length;n++)i(a[n]);return i}({1:[function(e){var t=(e("./servmask/report"),e("./servmask/feedback"),e("./servmask/deprecated"),e("./import/uploader"));jQuery(document).ready(function(e){"use strict";var o=new t;o.init(),e(".ai1wm-expandable > div.ai1wm-button-main").on("click",function(){e(this).parent().toggleClass("ai1wm-open")})})},{"./import/uploader":4,"./servmask/deprecated":5,"./servmask/feedback":7,"./servmask/report":8}],2:[function(e,t){var o=e("./modal"),a=jQuery,i=function(){var e=this;this.modal=new o,this.modal.onConfirm=function(){e.onConfirm()},this.modal.onStop=function(){e.onStop()}};i.prototype.start=function(e){var t=this;a(window).bind("beforeunload",function(){return"You are about to stop importing your website, are you sure?"}),this.stop=!1,this.setStatus({type:"info",message:"Preparing to import..."}),a.post(ai1wm_import.ajax.url,a.extend({secret_key:ai1wm_import.secret_key},e)).done(function(){t.getStatus()}).fail(function(){t.setStatus({type:"error",message:"Unable to start the import. Refresh the page and try again"})})},i.prototype.confirm=function(e){var t=this;a.post(ai1wm_import.ajax.url,a.extend({secret_key:ai1wm_import.secret_key},e)).done(function(){t.getStatus(ai1wm_import.status.php)}).fail(function(){t.setStatus({type:"error",message:"Unable to confirm the import. Refresh the page and try again"})})},i.prototype.clean=function(e){var t=this;this.stop=!0,a.post(ai1wm_import.ajax.url,a.extend({secret_key:ai1wm_import.secret_key},e)).done(function(){a(window).unbind("beforeunload")}).fail(function(){t.setStatus({type:"error",message:"Unable to clean the import. Refresh the page and try again"})})},i.prototype.getStatus=function(e,t){var o=this,t=t||0;this.stop||a.ajax({cache:!1,url:e,dataType:"json"}).done(function(i){if(i)switch(o.setStatus(i),i.type){case"done":case"error":return a(window).unbind("beforeunload"),void 0;case"confirm":return}setTimeout(function(){o.getStatus(e,t)},3e3)}).fail(function(){t++,t>=6?o.setStatus({type:"error",message:"Unable to retrieve status of the import. Is your server running?"}):t>=3?o.getStatus(ai1wm_import.status.js,t):o.getStatus(ai1wm_import.status.php,t)})},i.prototype.setStatus=function(e){this.modal.render(e)},i.prototype.onConfirm=function(){throw"onConfirm event is not implemented"},i.prototype.onStop=function(){throw"onStop event is not implemented"},t.exports=i},{"./modal":3}],3:[function(e,t){var o=jQuery,a=function(){var e=this;this.error=function(t){var a=o("<div></div>"),i=o("<section></section>"),r=o("<h1></h1>"),n=o("<p></p>").html(t.message),s=o("<div></div>"),p=o("<span></span>").addClass("ai1wm-title-red").text("Unable to import"),d=o('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});s.append(d),r.append(p),i.append(r).append(n),a.append(i).append(s),e.modal.html(a).show(),e.overlay.show()},this.progress=function(t){var a=o("<div></div>"),i=o("<section></section>"),r=o("<h1></h1>"),n=(o("<p></p>"),o("<div></div>")),s=o('<span class="ai1wm-progress-bar"></span>'),p=o('<span class="ai1wm-progress-bar-meter"></span>').width(t.percent+"%"),d=o('<span class="ai1wm-progress-bar-percent">0%</span>').text(t.percent+"%"),c=o('<button class="ai1wm-button-red"><i class="ai1wm-icon-notification"></i> Stop import</button>').on("click",function(){o(this).attr("disabled","disabled"),e.onStop(),e.modal.hide(),e.overlay.hide()});s.append(p).append(d),n.append(c),r.append(s),i.append(r),a.append(i).append(n),e.modal.html(a).show(),e.overlay.show()},this.confirm=function(t){var a=o("<div></div>"),i=o("<section></section>"),r=o("<h1></h1>"),n=o("<p></p>").html(t.message),s=o("<div></div>"),p=o('<span class="ai1wm-icon-notification"></span>'),d=o('<button class="ai1wm-button-green">Continue</button>').on("click",function(){o(this).attr("disabled","disabled"),e.onConfirm()});s.append(d),r.append(p),i.append(r).append(n),a.append(i).append(s),e.modal.html(a).show(),e.overlay.show()},this.info=function(t){var a=o("<div></div>"),i=o("<section></section>"),r=o("<h1></h1>"),n=o("<p></p>").html(t.message),s=o("<div></div>"),p=o('<span class="ai1wm-loader"></span>'),d=o('<button class="ai1wm-button-red"><i class="ai1wm-icon-notification"></i> Stop import</button>').attr("disabled","disabled");s.append(d),r.append(p),i.append(r).append(n),a.append(i).append(s),e.modal.html(a).show(),e.overlay.show()},this.done=function(t){var a=o("<div></div>"),i=o("<section></section>"),r=o("<h1></h1>"),n=o("<p></p>").html(t.message),s=o("<div></div>"),p=o("<span></span>").addClass("ai1wm-title-green").text(t.title),d=o('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});s.append(d),r.append(p),i.append(r).append(n),a.append(i).append(s),e.modal.html(a).show(),e.overlay.show()},this.overlay=o('<div class="ai1wm-overlay"></div>'),this.modal=o('<div class="ai1wm-modal-container"></div>'),o("body").append(this.overlay).append(this.modal)};a.prototype.render=function(e){switch(e.type){case"error":this.error(e);break;case"confirm":this.confirm(e);break;case"progress":this.progress(e);break;case"info":this.info(e);break;case"done":this.done(e)}},t.exports=a},{}],4:[function(e,t){(function(o){var a=e("../servmask/util"),i=e("./import"),r=jQuery,n=function(){this.uploader=new plupload.Uploader(ai1wm_uploader)};n.prototype.init=function(){this.uploader.init(),this.uploader.bind("Init",this.onInit),this.uploader.bind("FilesAdded",this.onFilesAdded),this.uploader.bind("BeforeUpload",this.onBeforeUpload),this.uploader.bind("UploadProgress",this.onUploadProgress),this.uploader.bind("FileUploaded",this.onFileUploaded),this.uploader.bind("Error",this.onError),plupload.addFileFilter("ai1wm_archive_size",function(e,t,o){e=parseInt(e,10),t.size=t.hasOwnProperty("size")?parseInt(t.size,10):0,0===e||t.size<=e?o(!0):(this.trigger("Error",{code:plupload.FILE_SIZE_ERROR,message:ai1wm_import.oversize}),o(!1))}),plupload.addFileFilter("ai1wm_archive_extension",function(e,t,o){var a=t.name.substr((~-t.name.lastIndexOf(".")>>>0)+2);r.inArray(a,e)>-1?o(!0):(this.trigger("Error",{code:plupload.FILE_EXTENSION_ERROR,message:ai1wm_import.invalid_extension}),o(!1))})},n.prototype.onInit=function(e){var t=r("#ai1wm-plupload-upload-ui");e.features.dragdrop&&!r(document.body).hasClass("mobile")?r("#ai1wm-drag-drop-area").bind("dragover.wp-uploader",function(){t.addClass("ai1wm-drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){t.removeClass("ai1wm-drag-over")}):r("#ai1wm-drag-drop-area").unbind(".wp-uploader"),"html4"==e.runtime&&r(".upload-flash-bypass").hide(),this.model=new i},n.prototype.onFilesAdded=function(e){e.refresh(),e.start(),r(window).bind("beforeunload",function(){return"You are about to stop importing your website, are you sure?"})},n.prototype.onBeforeUpload=function(e,t){var o=this;this.storage=a.random(12),this.archive=t.name,r.extend(e.settings.multipart_params,{storage:this.storage,archive:this.archive}),this.model.onConfirm=function(){o.model.confirm({storage:o.storage,archive:o.archive,priority:150})},this.model.onStop=function(){e.stop(),e.splice(),o.model.clean({storage:o.storage,archive:o.archive,priority:400})},this.model.setStatus({type:"progress",percent:1})},n.prototype.onUploadProgress=function(e,t){this.model.setStatus({type:"progress",percent:t.percent})},n.prototype.onFileUploaded=function(){this.model.start({storage:this.storage,archive:this.archive})},n.prototype.onError=function(e,t){this.model.setStatus({type:"error",message:t.message})},t.exports=n,o.Ai1wm={Util:a,Import:i}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../servmask/util":9,"./import":2}],5:[function(e){var t=(e("./util"),e("./dialog")),o={s3:"Amazon S3 Extension",url:"URL Extension",ftp:"FTP Extension",gdrive:"Google Drive Extension",dropbox:"Dropbox Extension"};window.Ai1wmExportController=function(e){this._export={},this._provider=e},window.Ai1wmExportController.prototype.start=function(){new t("<strong>All in One WP Migration</strong> is not compatible with current version of <strong>"+o[this._provider]+'</strong>. Please contact <a href="mailto:support@servmask.com">support@servmask.com</a> for more details.')},window.Ai1wmImportController=function(e){this._import={},this._provider=e},window.Ai1wmImportController.prototype.init=function(){},window.Ai1wmImportController.prototype.download=function(){new t("<strong>All in One WP Migration</strong> is not compatible with current version of <strong>"+o[this._provider]+'</strong>. Please contact <a href="mailto:support@servmask.com">support@servmask.com</a> for more details.')}},{"./dialog":6,"./util":9}],6:[function(e,t){var o=jQuery,a=function(e){var t=this;this.overlay=o('<div class="ai1wm-overlay"></div>'),this.container=o("<div></div>"),this.modal=o('<div class="ai1wm-modal-container"></div>'),this.section=o("<section></section>"),this.message=o("<p></p>").addClass("ai1wm-dialog-message").html(e),this.action=o("<div></div>"),this.closeButton=o('<button class="ai1wm-button-red">Close</button>').on("click",function(){t.modal.hide(),t.overlay.hide()}),this.action.append(this.closeButton),this.section.append(this.message),this.container.append(this.section).append(this.action),this.modal.html(this.container).show(),this.overlay.show(),o("body").append(this.overlay).append(this.modal)};t.exports=a},{}],7:[function(){jQuery(document).ready(function(e){"use strict";e(".ai1wm-feedback-type").attr("checked",!1),e("#ai1wm-feedback-type-link-1").click(function(t){var o=e("#ai1wm-feedback-type-1");o.is(":checked")?(o.attr("checked",!1),t.preventDefault()):o.attr("checked",!0)}),e("#ai1wm-feedback-type-2").click(function(){e("#ai1wm-feedback-type-1, #ai1wm-feedback-type-3").closest("li").hide(),e(".ai1wm-feedback-form").find(".ai1wm-feedback-message").attr("placeholder","Leave plugin developers any feedback here"),e(".ai1wm-feedback-form").fadeIn()}),e("#ai1wm-feedback-type-3").click(function(){e("#ai1wm-feedback-type-1, #ai1wm-feedback-type-2").closest("li").hide(),e(".ai1wm-feedback-form").find(".ai1wm-feedback-message").attr("placeholder","How may we help you?"),e(".ai1wm-feedback-form").fadeIn()}),e("#ai1wm-feedback-cancel").click(function(t){e(".ai1wm-feedback-form").fadeOut(function(){e(".ai1wm-feedback-type").attr("checked",!1).closest("li").show()}),t.preventDefault()}),e("#ai1wm-feedback-submit").click(function(){var t=e(".ai1wm-feedback-type:checked").val(),o=e(".ai1wm-feedback-email").val(),a=e(".ai1wm-feedback-message").val(),i=e(".ai1wm-feedback-terms").is(":checked");e.ajax({type:"POST",url:ai1wm_feedback.ajax.url,data:{"ai1wm-type":t,"ai1wm-email":o,"ai1wm-message":a,"ai1wm-terms":+i},success:function(t){var o=t.errors;if(o.length>0){e(".ai1wm-feedback .ai1wm-message").remove();var a=e("<div />").addClass("ai1wm-message ai1wm-error-message");e.each(o,function(e,t){a.append("<p>"+t+"</p>")}),e(".ai1wm-feedback").prepend(a)}else{var i=e("<div />").addClass("ai1wm-message ai1wm-success-message").append("<p>Thanks for submitting your feedback!</p>");e(".ai1wm-feedback").html(i)}},dataType:"json",async:!1})})})},{}],8:[function(){jQuery(document).ready(function(e){"use strict";e("#ai1wm-report-problem-button").click(function(t){e(this).next(".ai1wm-report-problem-dialog").toggleClass("ai1wm-report-active"),t.preventDefault()}),e("#ai1wm-report-cancel").click(function(t){e(this).closest(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active"),t.preventDefault()}),e("#ai1wm-report-submit").click(function(){var t=e(".ai1wm-report-email").val(),o=e(".ai1wm-report-message").val(),a=e(".ai1wm-report-terms").is(":checked");e.ajax({type:"POST",url:ai1wm_report.ajax.url,data:{"ai1wm-email":t,"ai1wm-message":o,"ai1wm-terms":+a},success:function(t){var o=t.errors;if(o.length>0){e(".ai1wm-report-problem-dialog .ai1wm-message").remove();var a=e("<div />").addClass("ai1wm-message ai1wm-error-message");e.each(o,function(e,t){a.append("<p>"+t+"</p>")}),e(".ai1wm-report-problem-dialog").prepend(a)}else{var i=e("<div />").addClass("ai1wm-message ai1wm-success-message").append("<p>Thanks for submitting your request!</p>");e(".ai1wm-report-problem-dialog").html(i),setTimeout(function(){e(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active")},2e3)}},dataType:"json",async:!1})})})},{}],9:[function(e,t){var o=jQuery;t.exports={random:function(e){for(var t="",o="abcdefghijklmnopqrstuvwxyz0123456789",a=0;e>a;a++)t+=o.charAt(Math.floor(Math.random()*o.length));return t},form:function(e){return o(e).serializeArray()},ucfirst:function(e){return e.charAt(0).toUpperCase()+e.slice(1)}}},{}]},{},[1]);
|
1 |
+
!function e(t,a,o){function i(n,s){if(!a[n]){if(!t[n]){var p="function"==typeof require&&require;if(!s&&p)return p(n,!0);if(r)return r(n,!0);throw new Error("Cannot find module '"+n+"'")}var d=a[n]={exports:{}};t[n][0].call(d.exports,function(e){var a=t[n][1][e];return i(a?a:e)},d,d.exports,e,t,a,o)}return a[n].exports}for(var r="function"==typeof require&&require,n=0;n<o.length;n++)i(o[n]);return i}({1:[function(e){var t=(e("./servmask/report"),e("./servmask/feedback"),e("./servmask/deprecated"),e("./import/uploader"));jQuery(document).ready(function(e){"use strict";var a=new t;a.init(),e(".ai1wm-expandable > div.ai1wm-button-main").on("click",function(){e(this).parent().toggleClass("ai1wm-open")})})},{"./import/uploader":4,"./servmask/deprecated":5,"./servmask/feedback":7,"./servmask/report":8}],2:[function(e,t){var a=e("../servmask/util"),o=e("./modal"),i=jQuery,r=function(){var e=this;this.params=[],this.modal=new o,this.modal.onConfirm=function(t){e.onConfirm(t)},this.modal.onBlogs=function(t){e.onBlogs(t)},this.modal.onStop=function(t){e.onStop(t)}};r.prototype.setParams=function(e){this.params=a.list(e)},r.prototype.start=function(e){var t=this;i(window).bind("beforeunload",function(){return"You are about to stop importing your website, are you sure?"}),this.stop=!1,this.setStatus({type:"info",message:"Preparing to import..."});var o=this.params.concat({name:"secret_key",value:ai1wm_import.secret_key});e&&(o=o.concat(a.list(e))),i.post(ai1wm_import.ajax.url,o).done(function(){t.getStatus()}).fail(function(){t.setStatus({type:"error",message:"Unable to start the import. Refresh the page and try again"})})},r.prototype.confirm=function(e){var t=this,o=this.params.concat({name:"secret_key",value:ai1wm_import.secret_key}).concat({name:"priority",value:150});e&&(o=o.concat(a.list(e))),i.post(ai1wm_import.ajax.url,o).done(function(){t.getStatus(ai1wm_import.status.php)}).fail(function(){t.setStatus({type:"error",message:"Unable to confirm the import. Refresh the page and try again"})})},r.prototype.blogs=function(e){var t=this,o=this.params.concat({name:"secret_key",value:ai1wm_import.secret_key}).concat({name:"priority",value:150});e&&(o=o.concat(a.list(e))),i.post(ai1wm_import.ajax.url,o).done(function(){t.getStatus(ai1wm_import.status.php)}).fail(function(){t.setStatus({type:"error",message:"Unable to prepare blogs the import. Refresh the page and try again"})})},r.prototype.clean=function(e){var t=this;this.stop=!0;var o=this.params.concat({name:"secret_key",value:ai1wm_import.secret_key}).concat({name:"priority",value:400});e&&(o=o.concat(a.list(e))),i.post(ai1wm_import.ajax.url,o).done(function(){i(window).unbind("beforeunload")}).fail(function(){t.setStatus({type:"error",message:"Unable to clean the import. Refresh the page and try again"})})},r.prototype.getStatus=function(e,t){var a=this,t=t||0;this.stop||i.ajax({cache:!1,url:e,dataType:"json"}).done(function(o){if(o)switch(a.setStatus(o),o.type){case"done":case"error":return i(window).unbind("beforeunload"),void 0;case"confirm":case"blogs":return}setTimeout(function(){a.getStatus(e,t)},3e3)}).fail(function(){t++,t>=6?a.setStatus({type:"error",message:"Unable to retrieve status of the import. Is your server running?"}):t>=3?a.getStatus(ai1wm_import.status.js,t):a.getStatus(ai1wm_import.status.php,t)})},r.prototype.setStatus=function(e){this.modal.render(e)},r.prototype.onConfirm=function(e){this.confirm(e)},r.prototype.onBlogs=function(e){this.blogs(e)},r.prototype.onStop=function(e){this.clean(e)},t.exports=r},{"../servmask/util":9,"./modal":3}],3:[function(e,t){var a=jQuery,o=function(){var e=this;this.error=function(t){var o=a("<div></div>"),i=a("<section></section>"),r=a("<h1></h1>"),n=a("<p></p>").html(t.message),s=a("<div></div>"),p=a("<span></span>").addClass("ai1wm-title-red").text("Unable to import"),d=a('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});s.append(d),r.append(p),i.append(r).append(n),o.append(i).append(s),e.modal.html(o).show(),e.overlay.show()},this.progress=function(t){var o=a("<div></div>"),i=a("<section></section>"),r=a("<h1></h1>"),n=(a("<p></p>"),a("<div></div>")),s=a('<span class="ai1wm-progress-bar"></span>'),p=a('<span class="ai1wm-progress-bar-meter"></span>').width(t.percent+"%"),d=a('<span class="ai1wm-progress-bar-percent">0%</span>').text(t.percent+"%"),c=a('<button class="ai1wm-button-red"><i class="ai1wm-icon-notification"></i> Stop import</button>').on("click",function(){a(this).attr("disabled","disabled"),e.onStop(),e.modal.hide(),e.overlay.hide()});s.append(p).append(d),n.append(c),r.append(s),i.append(r),o.append(i).append(n),e.modal.html(o).show(),e.overlay.show()},this.confirm=function(t){var o=a("<div></div>"),i=a("<section></section>"),r=a("<h1></h1>"),n=a("<p></p>").html(t.message),s=a("<div></div>"),p=a('<span class="ai1wm-icon-notification"></span>'),d=a('<button class="ai1wm-button-green">Continue</button>').on("click",function(){a(this).attr("disabled","disabled"),e.onConfirm()});s.append(d),r.append(p),i.append(r).append(n),o.append(i).append(s),e.modal.html(o).show(),e.overlay.show()},this.blogs=function(t){var o=a("<form></form>"),i=a("<section></section>"),r=a("<h1></h1>"),n=a("<p></p>").html(t.message),s=a("<div></div>"),p=a("<span></span>").addClass("ai1wm-title-grey").text("Update subsite name"),d=a('<button class="ai1wm-button-green">Continue</button>').on("click",function(){a(this).attr("disabled","disabled"),e.onBlogs(a(this).closest("form").serializeArray())});s.append(d),r.append(p),i.append(r).append(n),o.append(i).append(s),e.modal.html(o).show(),e.overlay.show()},this.info=function(t){var o=a("<div></div>"),i=a("<section></section>"),r=a("<h1></h1>"),n=a("<p></p>").html(t.message),s=a("<div></div>"),p=a('<span class="ai1wm-loader"></span>'),d=a('<button class="ai1wm-button-red"><i class="ai1wm-icon-notification"></i> Stop import</button>').attr("disabled","disabled");s.append(d),r.append(p),i.append(r).append(n),o.append(i).append(s),e.modal.html(o).show(),e.overlay.show()},this.done=function(t){var o=a("<div></div>"),i=a("<section></section>"),r=a("<h1></h1>"),n=a("<p></p>").html(t.message),s=a("<div></div>"),p=a("<span></span>").addClass("ai1wm-title-green").text(t.title),d=a('<button class="ai1wm-button-red">Close</button>').on("click",function(){e.modal.hide(),e.overlay.hide()});s.append(d),r.append(p),i.append(r).append(n),o.append(i).append(s),e.modal.html(o).show(),e.overlay.show()},this.overlay=a('<div class="ai1wm-overlay"></div>'),this.modal=a('<div class="ai1wm-modal-container"></div>'),a("body").append(this.overlay).append(this.modal)};o.prototype.render=function(e){switch(e.type){case"error":this.error(e);break;case"confirm":this.confirm(e);break;case"blogs":this.blogs(e);break;case"progress":this.progress(e);break;case"info":this.info(e);break;case"done":this.done(e)}},t.exports=o},{}],4:[function(e,t){(function(a){var o=e("../servmask/util"),i=e("./import"),r=jQuery,n=function(){this.uploader=new plupload.Uploader(ai1wm_uploader)};n.prototype.init=function(){this.uploader.init(),this.uploader.bind("Init",this.onInit),this.uploader.bind("FilesAdded",this.onFilesAdded),this.uploader.bind("BeforeUpload",this.onBeforeUpload),this.uploader.bind("UploadProgress",this.onUploadProgress),this.uploader.bind("FileUploaded",this.onFileUploaded),this.uploader.bind("Error",this.onError),plupload.addFileFilter("ai1wm_archive_size",function(e,t,a){e=parseInt(e,10),t.size=t.hasOwnProperty("size")?parseInt(t.size,10):0,0===e||t.size<=e?a(!0):(this.trigger("Error",{code:plupload.FILE_SIZE_ERROR,message:ai1wm_import.oversize}),a(!1))}),plupload.addFileFilter("ai1wm_archive_extension",function(e,t,a){var o=t.name.substr((~-t.name.lastIndexOf(".")>>>0)+2);r.inArray(o,e)>-1?a(!0):(this.trigger("Error",{code:plupload.FILE_EXTENSION_ERROR,message:ai1wm_import.invalid_extension}),a(!1))})},n.prototype.onInit=function(e){var t=r("#ai1wm-plupload-upload-ui");e.features.dragdrop&&!r(document.body).hasClass("mobile")?r("#ai1wm-drag-drop-area").bind("dragover.wp-uploader",function(){t.addClass("ai1wm-drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){t.removeClass("ai1wm-drag-over")}):r("#ai1wm-drag-drop-area").unbind(".wp-uploader"),"html4"==e.runtime&&r(".upload-flash-bypass").hide(),this.model=new i},n.prototype.onFilesAdded=function(e){e.refresh(),e.start(),r(window).bind("beforeunload",function(){return"You are about to stop importing your website, are you sure?"})},n.prototype.onBeforeUpload=function(e,t){var a=this;this.storage=o.random(12),this.archive=t.name,r.extend(e.settings.multipart_params,{storage:this.storage,archive:this.archive}),a.model.setParams([{name:"storage",value:this.storage},{name:"archive",value:this.archive}]),this.model.onStop=function(){e.stop(),e.splice(),a.model.clean()},this.model.setStatus({type:"progress",percent:1})},n.prototype.onUploadProgress=function(e,t){this.model.setStatus({type:"progress",percent:t.percent})},n.prototype.onFileUploaded=function(){this.model.start()},n.prototype.onError=function(e,t){this.model.setStatus({type:"error",message:t.message})},t.exports=n,a.Ai1wm={Util:o,Import:i}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../servmask/util":9,"./import":2}],5:[function(e){var t=(e("./util"),e("./dialog")),a={s3:"Amazon S3 Extension",url:"URL Extension",ftp:"FTP Extension",gdrive:"Google Drive Extension",dropbox:"Dropbox Extension"};window.Ai1wmExportController=function(e){this._export={},this._provider=e},window.Ai1wmExportController.prototype.start=function(){new t("<strong>All in One WP Migration</strong> is not compatible with current version of <strong>"+a[this._provider]+'</strong>. Please contact <a href="mailto:support@servmask.com">support@servmask.com</a> for more details.')},window.Ai1wmImportController=function(e){this._import={},this._provider=e},window.Ai1wmImportController.prototype.init=function(){},window.Ai1wmImportController.prototype.download=function(){new t("<strong>All in One WP Migration</strong> is not compatible with current version of <strong>"+a[this._provider]+'</strong>. Please contact <a href="mailto:support@servmask.com">support@servmask.com</a> for more details.')}},{"./dialog":6,"./util":9}],6:[function(e,t){var a=jQuery,o=function(e){var t=this;this.overlay=a('<div class="ai1wm-overlay"></div>'),this.container=a("<div></div>"),this.modal=a('<div class="ai1wm-modal-container"></div>'),this.section=a("<section></section>"),this.message=a("<p></p>").addClass("ai1wm-dialog-message").html(e),this.action=a("<div></div>"),this.closeButton=a('<button class="ai1wm-button-red">Close</button>').on("click",function(){t.modal.hide(),t.overlay.hide()}),this.action.append(this.closeButton),this.section.append(this.message),this.container.append(this.section).append(this.action),this.modal.html(this.container).show(),this.overlay.show(),a("body").append(this.overlay).append(this.modal)};t.exports=o},{}],7:[function(){jQuery(document).ready(function(e){"use strict";e(".ai1wm-feedback-type").attr("checked",!1),e("#ai1wm-feedback-type-link-1").click(function(t){var a=e("#ai1wm-feedback-type-1");a.is(":checked")?(a.attr("checked",!1),t.preventDefault()):a.attr("checked",!0)}),e("#ai1wm-feedback-type-2").click(function(){e("#ai1wm-feedback-type-1, #ai1wm-feedback-type-3").closest("li").hide(),e(".ai1wm-feedback-form").find(".ai1wm-feedback-message").attr("placeholder","Leave plugin developers any feedback here"),e(".ai1wm-feedback-form").fadeIn()}),e("#ai1wm-feedback-type-3").click(function(){e("#ai1wm-feedback-type-1, #ai1wm-feedback-type-2").closest("li").hide(),e(".ai1wm-feedback-form").find(".ai1wm-feedback-message").attr("placeholder","How may we help you?"),e(".ai1wm-feedback-form").fadeIn()}),e("#ai1wm-feedback-cancel").click(function(t){e(".ai1wm-feedback-form").fadeOut(function(){e(".ai1wm-feedback-type").attr("checked",!1).closest("li").show()}),t.preventDefault()}),e("#ai1wm-feedback-submit").click(function(){var t=e(".ai1wm-feedback-type:checked").val(),a=e(".ai1wm-feedback-email").val(),o=e(".ai1wm-feedback-message").val(),i=e(".ai1wm-feedback-terms").is(":checked");e.ajax({type:"POST",url:ai1wm_feedback.ajax.url,data:{"ai1wm-type":t,"ai1wm-email":a,"ai1wm-message":o,"ai1wm-terms":+i},success:function(t){var a=t.errors;if(a.length>0){e(".ai1wm-feedback .ai1wm-message").remove();var o=e("<div />").addClass("ai1wm-message ai1wm-error-message");e.each(a,function(e,t){o.append("<p>"+t+"</p>")}),e(".ai1wm-feedback").prepend(o)}else{var i=e("<div />").addClass("ai1wm-message ai1wm-success-message").append("<p>Thanks for submitting your feedback!</p>");e(".ai1wm-feedback").html(i)}},dataType:"json",async:!1})})})},{}],8:[function(){jQuery(document).ready(function(e){"use strict";e("#ai1wm-report-problem-button").click(function(t){e(this).next(".ai1wm-report-problem-dialog").toggleClass("ai1wm-report-active"),t.preventDefault()}),e("#ai1wm-report-cancel").click(function(t){e(this).closest(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active"),t.preventDefault()}),e("#ai1wm-report-submit").click(function(){var t=e(".ai1wm-report-email").val(),a=e(".ai1wm-report-message").val(),o=e(".ai1wm-report-terms").is(":checked");e.ajax({type:"POST",url:ai1wm_report.ajax.url,data:{"ai1wm-email":t,"ai1wm-message":a,"ai1wm-terms":+o},success:function(t){var a=t.errors;if(a.length>0){e(".ai1wm-report-problem-dialog .ai1wm-message").remove();var o=e("<div />").addClass("ai1wm-message ai1wm-error-message");e.each(a,function(e,t){o.append("<p>"+t+"</p>")}),e(".ai1wm-report-problem-dialog").prepend(o)}else{var i=e("<div />").addClass("ai1wm-message ai1wm-success-message").append("<p>Thanks for submitting your request!</p>");e(".ai1wm-report-problem-dialog").html(i),setTimeout(function(){e(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active")},2e3)}},dataType:"json",async:!1})})})},{}],9:[function(e,t){var a=jQuery;t.exports={random:function(e){for(var t="",a="abcdefghijklmnopqrstuvwxyz0123456789",o=0;e>o;o++)t+=a.charAt(Math.floor(Math.random()*a.length));return t},form:function(e){return a(e).serializeArray()},ucfirst:function(e){return e.charAt(0).toUpperCase()+e.slice(1)},list:function(e){if(a.isPlainObject(e)){var t=[],o=decodeURIComponent(a.param(e)).split("&");return a.each(o,function(e,a){var o=a.split("=");t.push({name:o[0],value:o[1]})}),t}return e}}},{}]},{},[1]);
|
lib/view/export/advanced-settings.php
CHANGED
@@ -7,27 +7,27 @@
|
|
7 |
</h4>
|
8 |
<ul>
|
9 |
<li>
|
10 |
-
<input type="checkbox" id="ai1wm-no-spam-comments" name="options[
|
11 |
<label for="ai1wm-no-spam-comments"><?php _e( 'Do <strong>not</strong> export spam comments', AI1WM_PLUGIN_NAME ); ?></label>
|
12 |
</li>
|
13 |
<li>
|
14 |
-
<input type="checkbox" id="ai1wm-no-revisions" name="options[
|
15 |
<label for="ai1wm-no-revisions"><?php _e( 'Do <strong>not</strong> export post revisions', AI1WM_PLUGIN_NAME ); ?></label>
|
16 |
</li>
|
17 |
<li>
|
18 |
-
<input type="checkbox" id="ai1wm-no-media" name="options[
|
19 |
<label for="ai1wm-no-media"><?php _e( 'Do <strong>not</strong> export media library (files)', AI1WM_PLUGIN_NAME ); ?></label>
|
20 |
</li>
|
21 |
<li>
|
22 |
-
<input type="checkbox" id="ai1wm-no-themes" name="options[
|
23 |
<label for="ai1wm-no-themes"><?php _e( 'Do <strong>not</strong> export themes (files)', AI1WM_PLUGIN_NAME ); ?></label>
|
24 |
</li>
|
25 |
<li>
|
26 |
-
<input type="checkbox" id="ai1wm-no-plugins" name="options[
|
27 |
<label for="ai1wm-no-plugins"><?php _e( 'Do <strong>not</strong> export plugins (files)', AI1WM_PLUGIN_NAME ); ?></label>
|
28 |
</li>
|
29 |
<li>
|
30 |
-
<input type="checkbox" id="ai1wm-no-database" name="options[
|
31 |
<label for="ai1wm-no-database"><?php _e( 'Do <strong>not</strong> export database (sql)', AI1WM_PLUGIN_NAME ); ?></label>
|
32 |
</li>
|
33 |
</ul>
|
7 |
</h4>
|
8 |
<ul>
|
9 |
<li>
|
10 |
+
<input type="checkbox" id="ai1wm-no-spam-comments" name="options[no_spam_comments]" />
|
11 |
<label for="ai1wm-no-spam-comments"><?php _e( 'Do <strong>not</strong> export spam comments', AI1WM_PLUGIN_NAME ); ?></label>
|
12 |
</li>
|
13 |
<li>
|
14 |
+
<input type="checkbox" id="ai1wm-no-revisions" name="options[no_revisions]" />
|
15 |
<label for="ai1wm-no-revisions"><?php _e( 'Do <strong>not</strong> export post revisions', AI1WM_PLUGIN_NAME ); ?></label>
|
16 |
</li>
|
17 |
<li>
|
18 |
+
<input type="checkbox" id="ai1wm-no-media" name="options[no_media]" />
|
19 |
<label for="ai1wm-no-media"><?php _e( 'Do <strong>not</strong> export media library (files)', AI1WM_PLUGIN_NAME ); ?></label>
|
20 |
</li>
|
21 |
<li>
|
22 |
+
<input type="checkbox" id="ai1wm-no-themes" name="options[no_themes]" />
|
23 |
<label for="ai1wm-no-themes"><?php _e( 'Do <strong>not</strong> export themes (files)', AI1WM_PLUGIN_NAME ); ?></label>
|
24 |
</li>
|
25 |
<li>
|
26 |
+
<input type="checkbox" id="ai1wm-no-plugins" name="options[no_plugins]" />
|
27 |
<label for="ai1wm-no-plugins"><?php _e( 'Do <strong>not</strong> export plugins (files)', AI1WM_PLUGIN_NAME ); ?></label>
|
28 |
</li>
|
29 |
<li>
|
30 |
+
<input type="checkbox" id="ai1wm-no-database" name="options[no_database]" />
|
31 |
<label for="ai1wm-no-database"><?php _e( 'Do <strong>not</strong> export database (sql)', AI1WM_PLUGIN_NAME ); ?></label>
|
32 |
</li>
|
33 |
</ul>
|
lib/view/export/find-replace.php
CHANGED
@@ -11,8 +11,8 @@
|
|
11 |
<span class="ai1wm-query-arrow ai1wm-icon-chevron-right"></span>
|
12 |
</p>
|
13 |
<div>
|
14 |
-
<input class="ai1wm-query-find-input" type="text" placeholder="<?php _e( 'Find', AI1WM_PLUGIN_NAME ); ?>" name="options[replace][
|
15 |
-
<input class="ai1wm-query-replace-input" type="text" placeholder="<?php _e( 'Replace with', AI1WM_PLUGIN_NAME ); ?>" name="options[replace][
|
16 |
</div>
|
17 |
</li>
|
18 |
</ul>
|
11 |
<span class="ai1wm-query-arrow ai1wm-icon-chevron-right"></span>
|
12 |
</p>
|
13 |
<div>
|
14 |
+
<input class="ai1wm-query-find-input" type="text" placeholder="<?php _e( 'Find', AI1WM_PLUGIN_NAME ); ?>" name="options[replace][old_value][]" />
|
15 |
+
<input class="ai1wm-query-replace-input" type="text" placeholder="<?php _e( 'Replace with', AI1WM_PLUGIN_NAME ); ?>" name="options[replace][new_value][]" />
|
16 |
</div>
|
17 |
</li>
|
18 |
</ul>
|
lib/view/export/index.php
CHANGED
@@ -44,6 +44,7 @@
|
|
44 |
|
45 |
<?php do_action( 'ai1wm_export_left_end' ); ?>
|
46 |
|
|
|
47 |
</form>
|
48 |
</div>
|
49 |
</div>
|
44 |
|
45 |
<?php do_action( 'ai1wm_export_left_end' ); ?>
|
46 |
|
47 |
+
<input type="hidden" name="ai1wm-manual-export" value="1" />
|
48 |
</form>
|
49 |
</div>
|
50 |
</div>
|
lib/view/main/admin-head.php
CHANGED
@@ -56,7 +56,7 @@
|
|
56 |
.toplevel_page_site-migration-export > div.wp-menu-image:before {
|
57 |
line-height: 27px !important;
|
58 |
content: '';
|
59 |
-
background: url('<?php echo esc_url( AI1WM_URL ); ?>/lib/view/assets/img/logo.
|
60 |
speak: none !important;
|
61 |
font-style: normal !important;
|
62 |
font-weight: normal !important;
|
@@ -73,7 +73,7 @@
|
|
73 |
position: relative;
|
74 |
display: inline-block;
|
75 |
content: '';
|
76 |
-
background: url('<?php echo esc_url( AI1WM_URL ); ?>/lib/view/assets/img/logo.
|
77 |
speak: none !important;
|
78 |
font-style: normal !important;
|
79 |
font-weight: normal !important;
|
56 |
.toplevel_page_site-migration-export > div.wp-menu-image:before {
|
57 |
line-height: 27px !important;
|
58 |
content: '';
|
59 |
+
background: url('<?php echo esc_url( AI1WM_URL ); ?>/lib/view/assets/img/logo-20x20.png') no-repeat center center;
|
60 |
speak: none !important;
|
61 |
font-style: normal !important;
|
62 |
font-weight: normal !important;
|
73 |
position: relative;
|
74 |
display: inline-block;
|
75 |
content: '';
|
76 |
+
background: url('<?php echo esc_url( AI1WM_URL ); ?>/lib/view/assets/img/logo-20x20.png') no-repeat center center;
|
77 |
speak: none !important;
|
78 |
font-style: normal !important;
|
79 |
font-weight: normal !important;
|
loader.php
CHANGED
@@ -178,6 +178,10 @@ require_once AI1WM_CONTROLLER_PATH .
|
|
178 |
DIRECTORY_SEPARATOR .
|
179 |
'class-ai1wm-report-controller.php';
|
180 |
|
|
|
|
|
|
|
|
|
181 |
require_once AI1WM_EXPORT_PATH .
|
182 |
DIRECTORY_SEPARATOR .
|
183 |
'class-ai1wm-export-resolve.php';
|
@@ -210,6 +214,10 @@ require_once AI1WM_EXPORT_PATH .
|
|
210 |
DIRECTORY_SEPARATOR .
|
211 |
'class-ai1wm-export-clean.php';
|
212 |
|
|
|
|
|
|
|
|
|
213 |
require_once AI1WM_IMPORT_PATH .
|
214 |
DIRECTORY_SEPARATOR .
|
215 |
'class-ai1wm-import-upload.php';
|
@@ -254,6 +262,14 @@ require_once AI1WM_MODEL_PATH .
|
|
254 |
DIRECTORY_SEPARATOR .
|
255 |
'class-ai1wm-deprecated.php';
|
256 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
require_once AI1WM_MODEL_PATH .
|
258 |
DIRECTORY_SEPARATOR .
|
259 |
'class-ai1wm-backups.php';
|
178 |
DIRECTORY_SEPARATOR .
|
179 |
'class-ai1wm-report-controller.php';
|
180 |
|
181 |
+
require_once AI1WM_EXPORT_PATH .
|
182 |
+
DIRECTORY_SEPARATOR .
|
183 |
+
'class-ai1wm-export-compatibility.php';
|
184 |
+
|
185 |
require_once AI1WM_EXPORT_PATH .
|
186 |
DIRECTORY_SEPARATOR .
|
187 |
'class-ai1wm-export-resolve.php';
|
214 |
DIRECTORY_SEPARATOR .
|
215 |
'class-ai1wm-export-clean.php';
|
216 |
|
217 |
+
require_once AI1WM_IMPORT_PATH .
|
218 |
+
DIRECTORY_SEPARATOR .
|
219 |
+
'class-ai1wm-import-compatibility.php';
|
220 |
+
|
221 |
require_once AI1WM_IMPORT_PATH .
|
222 |
DIRECTORY_SEPARATOR .
|
223 |
'class-ai1wm-import-upload.php';
|
262 |
DIRECTORY_SEPARATOR .
|
263 |
'class-ai1wm-deprecated.php';
|
264 |
|
265 |
+
require_once AI1WM_MODEL_PATH .
|
266 |
+
DIRECTORY_SEPARATOR .
|
267 |
+
'class-ai1wm-extensions.php';
|
268 |
+
|
269 |
+
require_once AI1WM_MODEL_PATH .
|
270 |
+
DIRECTORY_SEPARATOR .
|
271 |
+
'class-ai1wm-compatibility.php';
|
272 |
+
|
273 |
require_once AI1WM_MODEL_PATH .
|
274 |
DIRECTORY_SEPARATOR .
|
275 |
'class-ai1wm-backups.php';
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: yani.iliev, bangelov, pimjitsawang
|
|
3 |
Tags: db migration, migration, wordpress migration, db backup, db restore, website backup, website restore, website migration, website deploy, wordpress deploy, db backup, database export, database serialization, database find replace
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 4.5
|
6 |
-
Stable tag: 5.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
All-in-One WP Migration is the only tool that you will ever need to migrate a WordPress site.
|
@@ -75,6 +75,15 @@ All in One WP Plugin is the first plugin to offer true mobile experience on Word
|
|
75 |
3. Plugin Menu
|
76 |
|
77 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
= 5.40 =
|
79 |
* Test plugin up to WordPress 4.5
|
80 |
|
3 |
Tags: db migration, migration, wordpress migration, db backup, db restore, website backup, website restore, website migration, website deploy, wordpress deploy, db backup, database export, database serialization, database find replace
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 4.5
|
6 |
+
Stable tag: 5.41
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
All-in-One WP Migration is the only tool that you will ever need to migrate a WordPress site.
|
75 |
3. Plugin Menu
|
76 |
|
77 |
== Changelog ==
|
78 |
+
= 5.41 =
|
79 |
+
* Fix an issue when replacing serialized values on import
|
80 |
+
* List files in chunks
|
81 |
+
* Convert svg images to png
|
82 |
+
* Check if backups are readable before displaying them on "Backups" page
|
83 |
+
* Display version incompatibility notification on export/import/restore screen
|
84 |
+
* Fix double port issue on Bitnami
|
85 |
+
* Fix an issue on multisite export with cloud extensions
|
86 |
+
|
87 |
= 5.40 =
|
88 |
* Test plugin up to WordPress 4.5
|
89 |
|