All-in-One WP Migration - Version 5.53

Version Description

  • Send HTTP basic authorization header on upload (fetch method)
  • Add Accept-Encoding, Accept-Charset and Accept-Language on export/import
  • Do not replace already replaced values on database import/export
  • Set silent mode when activating sidewide plugins
  • Replace old media style URLs with the new media style URLs on database import
  • Replace user_level and capabilities user meta keys if tables have empty prefix on export
  • Create separate action for extracting must-use plugins
  • Add option "Do not export must-use plugins" in advanced settings
  • Fix an issue with SSL that produces "Unable to resolve URL..."
Download this release

Release Info

Developer bangelov
Plugin Icon 128x128 All-in-One WP Migration
Version 5.53
Comparing to
See all releases

Code changes from version 5.52 to 5.53

Files changed (40) hide show
  1. all-in-one-wp-migration.php +1 -1
  2. constants.php +1 -1
  3. functions.php +6 -6
  4. lib/controller/class-ai1wm-export-controller.php +8 -2
  5. lib/controller/class-ai1wm-import-controller.php +10 -6
  6. lib/controller/class-ai1wm-main-controller.php +1 -0
  7. lib/controller/class-ai1wm-resolve-controller.php +1 -1
  8. lib/model/class-ai1wm-compatibility.php +2 -2
  9. lib/model/class-ai1wm-deprecated.php +2 -0
  10. lib/model/class-ai1wm-extensions.php +1 -1
  11. lib/model/class-ai1wm-http.php +68 -60
  12. lib/model/class-ai1wm-updater.php +1 -1
  13. lib/model/export/class-ai1wm-export-config.php +8 -8
  14. lib/model/export/class-ai1wm-export-database.php +11 -4
  15. lib/model/export/class-ai1wm-export-enumerate.php +6 -2
  16. lib/model/{class-ai1wm-config.php → http/class-ai1wm-http-abstract.php} +29 -1
  17. lib/model/http/class-ai1wm-http-curl.php +33 -5
  18. lib/model/http/class-ai1wm-http-factory.php +1 -1
  19. lib/model/http/class-ai1wm-http-stream.php +28 -10
  20. lib/model/import/class-ai1wm-import-blogs.php +7 -7
  21. lib/model/import/class-ai1wm-import-content.php +14 -14
  22. lib/model/import/class-ai1wm-import-database.php +105 -100
  23. lib/model/import/class-ai1wm-import-done.php +5 -55
  24. lib/model/import/class-ai1wm-import-plugins.php +53 -0
  25. lib/model/import/class-ai1wm-import-upload.php +1 -1
  26. lib/vendor/servmask/database/class-ai1wm-database-utility.php +2 -11
  27. lib/view/assets/css/backups.min.css +1 -1
  28. lib/view/assets/css/export.min.css +1 -1
  29. lib/view/assets/css/import.min.css +1 -1
  30. lib/view/assets/css/updater.min.css +1 -1
  31. lib/view/assets/javascript/backups.min.js +1 -1
  32. lib/view/assets/javascript/import.min.js +2 -1
  33. lib/view/backups/index.php +6 -6
  34. lib/view/common/maintenance-mode.php +2 -0
  35. lib/view/export/advanced-settings.php +8 -2
  36. lib/view/export/export-buttons.php +1 -1
  37. lib/view/import/import-buttons.php +4 -4
  38. lib/view/main/backups-notice.php +1 -1
  39. loader.php +8 -4
  40. readme.txt +12 -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.52
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.53
9
* Text Domain: all-in-one-wp-migration
10
* Domain Path: /languages
11
* Network: True
constants.php CHANGED
@@ -38,7 +38,7 @@ if ( function_exists( 'gethostname' ) && in_array( gethostname(), $local ) ) {
38
// ==================
39
// = Plugin Version =
40
// ==================
41
- define( 'AI1WM_VERSION', '5.52' );
42
43
// ===============
44
// = Plugin Name =
38
// ==================
39
// = Plugin Version =
40
// ==================
41
+ define( 'AI1WM_VERSION', '5.53' );
42
43
// ===============
44
// = Plugin Name =
functions.php CHANGED
@@ -265,7 +265,7 @@ function ai1wm_parse_size( $size, $default = null ) {
265
266
// Parse size format
267
if ( preg_match( '/([0-9]+)\s*(k|m|g)?(b?(ytes?)?)/i', $size, $match ) ) {
268
- return $match[1] * $suffixes[strtolower( $match[2] )];
269
}
270
271
return $default;
@@ -348,7 +348,7 @@ function ai1wm_storage_folder() {
348
* @param integer $blog_id Blog ID
349
* @return boolean
350
*/
351
- function ai1wm_main_site( $blog_id = null) {
352
return $blog_id === null || $blog_id === 0 || $blog_id === 1;
353
}
354
@@ -388,7 +388,7 @@ function ai1wm_files_path( $blog_id = null ) {
388
*/
389
function ai1wm_blogsdir_path( $blog_id = null ) {
390
if ( ai1wm_main_site( $blog_id ) ) {
391
- return "/wp-content/blogs.dir/";
392
}
393
394
return "/wp-content/blogs.dir/{$blog_id}/files/";
@@ -402,7 +402,7 @@ function ai1wm_blogsdir_path( $blog_id = null ) {
402
*/
403
function ai1wm_blogsdir_url( $blog_id = null ) {
404
if ( ai1wm_main_site( $blog_id ) ) {
405
- return get_site_url( $blog_id, "/wp-content/blogs.dir/" );
406
}
407
408
return get_site_url( $blog_id, "/wp-content/blogs.dir/{$blog_id}/files/" );
@@ -416,7 +416,7 @@ function ai1wm_blogsdir_url( $blog_id = null ) {
416
*/
417
function ai1wm_uploads_path( $blog_id = null ) {
418
if ( ai1wm_main_site( $blog_id ) ) {
419
- return "/wp-content/uploads/";
420
}
421
422
return "/wp-content/uploads/sites/{$blog_id}/";
@@ -430,7 +430,7 @@ function ai1wm_uploads_path( $blog_id = null ) {
430
*/
431
function ai1wm_uploads_url( $blog_id = null ) {
432
if ( ai1wm_main_site( $blog_id ) ) {
433
- return get_site_url( $blog_id, "/wp-content/uploads/" );
434
}
435
436
return get_site_url( $blog_id, "/wp-content/uploads/sites/{$blog_id}/" );
265
266
// Parse size format
267
if ( preg_match( '/([0-9]+)\s*(k|m|g)?(b?(ytes?)?)/i', $size, $match ) ) {
268
+ return $match[1] * $suffixes[ strtolower( $match[2] ) ];
269
}
270
271
return $default;
348
* @param integer $blog_id Blog ID
349
* @return boolean
350
*/
351
+ function ai1wm_main_site( $blog_id = null ) {
352
return $blog_id === null || $blog_id === 0 || $blog_id === 1;
353
}
354
388
*/
389
function ai1wm_blogsdir_path( $blog_id = null ) {
390
if ( ai1wm_main_site( $blog_id ) ) {
391
+ return '/wp-content/blogs.dir/';
392
}
393
394
return "/wp-content/blogs.dir/{$blog_id}/files/";
402
*/
403
function ai1wm_blogsdir_url( $blog_id = null ) {
404
if ( ai1wm_main_site( $blog_id ) ) {
405
+ return get_site_url( $blog_id, '/wp-content/blogs.dir/' );
406
}
407
408
return get_site_url( $blog_id, "/wp-content/blogs.dir/{$blog_id}/files/" );
416
*/
417
function ai1wm_uploads_path( $blog_id = null ) {
418
if ( ai1wm_main_site( $blog_id ) ) {
419
+ return '/wp-content/uploads/';
420
}
421
422
return "/wp-content/uploads/sites/{$blog_id}/";
430
*/
431
function ai1wm_uploads_url( $blog_id = null ) {
432
if ( ai1wm_main_site( $blog_id ) ) {
433
+ return get_site_url( $blog_id, '/wp-content/uploads/' );
434
}
435
436
return get_site_url( $blog_id, "/wp-content/uploads/sites/{$blog_id}/" );
lib/controller/class-ai1wm-export-controller.php CHANGED
@@ -64,8 +64,8 @@ class Ai1wm_Export_Controller {
64
// Get hook
65
if ( isset( $wp_filter['ai1wm_export'] ) && ( $filters = $wp_filter['ai1wm_export'] ) && ksort( $filters ) ) {
66
while ( $hooks = current( $filters ) ) {
67
- if ( $priority == key( $filters ) ) {
68
- foreach ( $hooks as $hook ) {
69
try {
70
$params = call_user_func_array( $hook['function'], array( $params ) );
71
} catch ( Exception $e ) {
@@ -87,6 +87,12 @@ class Ai1wm_Export_Controller {
87
88
// Do request
89
if ( $completed === false || ( $next = next( $filters ) ) && ( $params['priority'] = key( $filters ) ) ) {
90
return Ai1wm_Http::get( admin_url( 'admin-ajax.php?action=ai1wm_export' ), $params );
91
}
92
}
64
// Get hook
65
if ( isset( $wp_filter['ai1wm_export'] ) && ( $filters = $wp_filter['ai1wm_export'] ) && ksort( $filters ) ) {
66
while ( $hooks = current( $filters ) ) {
67
+ if ( $priority === key( $filters ) ) {
68
+ foreach ( $hooks as $hook ) {
69
try {
70
$params = call_user_func_array( $hook['function'], array( $params ) );
71
} catch ( Exception $e ) {
87
88
// Do request
89
if ( $completed === false || ( $next = next( $filters ) ) && ( $params['priority'] = key( $filters ) ) ) {
90
+
91
+ // Check the status, maybe we need to stop it
92
+ if ( ! is_file( ai1wm_export_path( $params ) ) ) {
93
+ exit;
94
+ }
95
+
96
return Ai1wm_Http::get( admin_url( 'admin-ajax.php?action=ai1wm_export' ), $params );
97
}
98
}
lib/controller/class-ai1wm-import-controller.php CHANGED
@@ -64,17 +64,15 @@ class Ai1wm_Import_Controller {
64
// Get hook
65
if ( isset( $wp_filter['ai1wm_import'] ) && ( $filters = $wp_filter['ai1wm_import'] ) && ksort( $filters ) ) {
66
while ( $hooks = current( $filters ) ) {
67
- if ( $priority == key( $filters ) ) {
68
- foreach ( $hooks as $hook ) {
69
try {
70
$params = call_user_func_array( $hook['function'], array( $params ) );
71
- }
72
- catch ( Ai1wm_Import_Retry_Exception $exception ) {
73
status_header( $exception->getCode() );
74
echo json_encode( array( 'message' => $exception->getMessage() ) );
75
exit;
76
- }
77
- catch ( Exception $e ) {
78
Ai1wm_Status::error( $e->getMessage(), __( 'Unable to import', AI1WM_PLUGIN_NAME ) );
79
exit;
80
}
@@ -93,6 +91,12 @@ class Ai1wm_Import_Controller {
93
94
// Do request
95
if ( $completed === false || ( $next = next( $filters ) ) && ( $params['priority'] = key( $filters ) ) ) {
96
return Ai1wm_Http::get( admin_url( 'admin-ajax.php?action=ai1wm_import' ), $params );
97
}
98
}
64
// Get hook
65
if ( isset( $wp_filter['ai1wm_import'] ) && ( $filters = $wp_filter['ai1wm_import'] ) && ksort( $filters ) ) {
66
while ( $hooks = current( $filters ) ) {
67
+ if ( $priority === key( $filters ) ) {
68
+ foreach ( $hooks as $hook ) {
69
try {
70
$params = call_user_func_array( $hook['function'], array( $params ) );
71
+ } catch ( Ai1wm_Import_Retry_Exception $exception ) {
72
status_header( $exception->getCode() );
73
echo json_encode( array( 'message' => $exception->getMessage() ) );
74
exit;
75
+ } catch ( Exception $e ) {
76
Ai1wm_Status::error( $e->getMessage(), __( 'Unable to import', AI1WM_PLUGIN_NAME ) );
77
exit;
78
}
91
92
// Do request
93
if ( $completed === false || ( $next = next( $filters ) ) && ( $params['priority'] = key( $filters ) ) ) {
94
+
95
+ // Check the status, maybe we need to stop it
96
+ if ( ! is_file( ai1wm_import_path( $params ) ) ) {
97
+ exit;
98
+ }
99
+
100
return Ai1wm_Http::get( admin_url( 'admin-ajax.php?action=ai1wm_import' ), $params );
101
}
102
}
lib/controller/class-ai1wm-main-controller.php CHANGED
@@ -130,6 +130,7 @@ class Ai1wm_Main_Controller {
130
add_filter( 'ai1wm_import', 'Ai1wm_Import_Blogs::execute', 150 );
131
add_filter( 'ai1wm_import', 'Ai1wm_Import_Enumerate::execute', 200 );
132
add_filter( 'ai1wm_import', 'Ai1wm_Import_Content::execute', 250 );
133
add_filter( 'ai1wm_import', 'Ai1wm_Import_Database::execute', 300 );
134
add_filter( 'ai1wm_import', 'Ai1wm_Import_Done::execute', 350 );
135
add_filter( 'ai1wm_import', 'Ai1wm_Import_Clean::execute', 400 );
130
add_filter( 'ai1wm_import', 'Ai1wm_Import_Blogs::execute', 150 );
131
add_filter( 'ai1wm_import', 'Ai1wm_Import_Enumerate::execute', 200 );
132
add_filter( 'ai1wm_import', 'Ai1wm_Import_Content::execute', 250 );
133
+ add_filter( 'ai1wm_import', 'Ai1wm_Import_Plugins::execute', 270 );
134
add_filter( 'ai1wm_import', 'Ai1wm_Import_Database::execute', 300 );
135
add_filter( 'ai1wm_import', 'Ai1wm_Import_Done::execute', 350 );
136
add_filter( 'ai1wm_import', 'Ai1wm_Import_Clean::execute', 400 );
lib/controller/class-ai1wm-resolve-controller.php CHANGED
@@ -51,7 +51,7 @@ class Ai1wm_Resolve_Controller {
51
}
52
53
// Set IP address
54
- if ( isset( $params['url_ip'] ) && ( $ip = $params['url_ip' ] ) ) {
55
update_option( AI1WM_URL_IP, $ip );
56
}
57
51
}
52
53
// Set IP address
54
+ if ( isset( $params['url_ip'] ) && ( $ip = $params['url_ip'] ) ) {
55
update_option( AI1WM_URL_IP, $ip );
56
}
57
lib/model/class-ai1wm-compatibility.php CHANGED
@@ -28,8 +28,8 @@ class Ai1wm_Compatibility {
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
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
lib/model/class-ai1wm-deprecated.php CHANGED
@@ -26,3 +26,5 @@
26
class Ai1wm_Export_Abstract {}
27
28
class Ai1wm_Import_Abstract {}
26
class Ai1wm_Export_Abstract {}
27
28
class Ai1wm_Import_Abstract {}
29
+
30
+ class Ai1wm_Config {}
lib/model/class-ai1wm-extensions.php CHANGED
@@ -76,7 +76,7 @@ class Ai1wm_Extensions {
76
'about' => AI1WMME_PLUGIN_ABOUT,
77
'basename' => AI1WMME_PLUGIN_BASENAME,
78
'version' => AI1WMME_VERSION,
79
- 'requires' => '3.24',
80
'short' => AI1WMME_PLUGIN_SHORT,
81
);
82
}
76
'about' => AI1WMME_PLUGIN_ABOUT,
77
'basename' => AI1WMME_PLUGIN_BASENAME,
78
'version' => AI1WMME_VERSION,
79
+ 'requires' => '3.25',
80
'short' => AI1WMME_PLUGIN_SHORT,
81
);
82
}
lib/model/class-ai1wm-http.php CHANGED
@@ -25,12 +25,7 @@
25
26
class Ai1wm_Http {
27
28
- public static function get( $url, $params = array() ) {
29
-
30
- // Check the status, maybe we need to stop it
31
- if ( ! is_file( ai1wm_export_path( $params ) ) && ! is_file( ai1wm_import_path( $params ) ) ) {
32
- exit;
33
- }
34
35
// Get IP address
36
$ip = get_option( AI1WM_URL_IP );
@@ -38,11 +33,38 @@ class Ai1wm_Http {
38
// Get adapter
39
$adapter = get_option( AI1WM_URL_ADAPTER );
40
41
- // HTTP request
42
- Ai1wm_Http::request( $url, $ip, $adapter, $params );
43
}
44
45
- public static function resolve( $url ) {
46
47
// Reset IP address and adapter
48
delete_option( AI1WM_URL_IP );
@@ -54,6 +76,9 @@ class Ai1wm_Http {
54
// Set host
55
$host = parse_url( $url, PHP_URL_HOST );
56
57
// Set server IP address
58
if ( ! empty( $_SERVER['SERVER_ADDR'] ) ) {
59
$server = $_SERVER['SERVER_ADDR'];
@@ -75,24 +100,47 @@ class Ai1wm_Http {
75
$ip = "[$ip]";
76
}
77
78
- // HTTP request
79
- Ai1wm_Http::request( $url, $ip, $adapter, array(
80
- 'secret_key' => $secret_key,
81
- 'url_ip' => $ip,
82
'url_adapter' => $adapter,
83
) );
84
85
- // HTTP response
86
- for ( $i = 0; $i < 5; $i++, sleep( 1 ) ) {
87
88
- // Flush WP cache
89
- ai1wm_cache_flush();
90
91
- // Is valid adapter?
92
- if ( get_option( AI1WM_URL_IP ) && get_option( AI1WM_URL_ADAPTER ) ) {
93
- return;
94
}
95
}
96
}
97
}
98
@@ -103,44 +151,4 @@ class Ai1wm_Http {
103
AI1WM_PLUGIN_NAME
104
) );
105
}
106
-
107
- public static function request( $url, $ip, $adapter, $params = array() ) {
108
- // Set host
109
- $host = parse_url( $url, PHP_URL_HOST );
110
-
111
- // Set port
112
- $port = parse_url( $url, PHP_URL_PORT );
113
-
114
- // Set accept header
115
- $headers = array( "Accept: */*" );
116
-
117
- // Set URL
118
- if ( ! empty( $ip ) ) {
119
- $url = str_replace( "//{$host}", "//{$ip}", $url );
120
- }
121
-
122
- // Set host header
123
- if ( ! empty( $port ) ) {
124
- $headers[] = "Host: {$host}:{$port}";
125
- } else {
126
- $headers[] = "Host: {$host}";
127
- }
128
-
129
- // Set user agent header
130
- if ( ! empty( $_SERVER['HTTP_USER_AGENT'] ) ) {
131
- $headers[] = "User-Agent: {$_SERVER['HTTP_USER_AGENT']}";
132
- } else {
133
- $headers[] = "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko)";
134
- }
135
-
136
- // Add authorization header
137
- if ( ( $user = get_option( AI1WM_AUTH_USER ) ) && ( $password = get_option( AI1WM_AUTH_PASSWORD ) ) ) {
138
- if ( ( $hash = base64_encode( "{$user}:{$password}" ) ) ) {
139
- $headers[] = "Authorization: Basic {$hash}";
140
- }
141
- }
142
-
143
- // HTTP request
144
- Ai1wm_Http_Factory::create( $adapter )->get( add_query_arg( ai1wm_urlencode( $params ), $url ), $headers );
145
- }
146
}
25
26
class Ai1wm_Http {
27
28
+ public static function get( $url, $params = array(), Ai1wm_Http_Abstract $client = null ) {
29
30
// Get IP address
31
$ip = get_option( AI1WM_URL_IP );
33
// Get adapter
34
$adapter = get_option( AI1WM_URL_ADAPTER );
35
36
+ // Get host
37
+ $host = parse_url( $url, PHP_URL_HOST );
38
+
39
+ // Get port
40
+ $port = parse_url( $url, PHP_URL_PORT );
41
+
42
+ // Set HTTP client
43
+ if ( is_null( $client ) ) {
44
+ $client = Ai1wm_Http_Factory::create( $adapter );
45
+ }
46
+
47
+ // Set HTTP host
48
+ if ( empty( $port ) ) {
49
+ $client->set_header( 'Host', $host );
50
+ } else {
51
+ $client->set_header( 'Host', "{$host}:{$port}" );
52
+ }
53
+
54
+ // Set HTTP authorization
55
+ if ( ( $user = get_option( AI1WM_AUTH_USER ) ) && ( $password = get_option( AI1WM_AUTH_PASSWORD ) ) ) {
56
+ if ( ( $hash = base64_encode( "{$user}:{$password}" ) ) ) {
57
+ $client->set_header( 'Authorization', "Basic {$hash}" );
58
+ }
59
+ }
60
+
61
+ $blocking = false;
62
+
63
+ // Run non-blocking HTTP request
64
+ $client->get( add_query_arg( ai1wm_urlencode( $params ), str_replace( "//{$host}", "//{$ip}", $url ) ), $blocking );
65
}
66
67
+ public static function resolve( $url, $params = array(), Ai1wm_Http_Abstract $client = null ) {
68
69
// Reset IP address and adapter
70
delete_option( AI1WM_URL_IP );
76
// Set host
77
$host = parse_url( $url, PHP_URL_HOST );
78
79
+ // Get port
80
+ $port = parse_url( $url, PHP_URL_PORT );
81
+
82
// Set server IP address
83
if ( ! empty( $_SERVER['SERVER_ADDR'] ) ) {
84
$server = $_SERVER['SERVER_ADDR'];
100
$ip = "[$ip]";
101
}
102
103
+ // Set HTTP params
104
+ $params = array_merge( $params, array(
105
+ 'secret_key' => $secret_key,
106
+ 'url_ip' => $ip,
107
'url_adapter' => $adapter,
108
) );
109
110
+ // Set HTTP client
111
+ if ( is_null( $client ) ) {
112
+ $client = Ai1wm_Http_Factory::create( $adapter );
113
+ }
114
115
+ // Set HTTP host
116
+ if ( empty( $port ) ) {
117
+ $client->set_header( 'Host', $host );
118
+ } else {
119
+ $client->set_header( 'Host', "{$host}:{$port}" );
120
+ }
121
122
+ // Set HTTP authorization
123
+ if ( ( $user = get_option( AI1WM_AUTH_USER ) ) && ( $password = get_option( AI1WM_AUTH_PASSWORD ) ) ) {
124
+ if ( ( $hash = base64_encode( "{$user}:{$password}" ) ) ) {
125
+ $client->set_header( 'Authorization', "Basic {$hash}" );
126
}
127
}
128
+
129
+ $blocking = true;
130
+
131
+ // Run blocking HTTP request
132
+ $client->get( add_query_arg( ai1wm_urlencode( $params ), str_replace( "//{$host}", "//{$ip}", $url ) ), $blocking );
133
+
134
+ // Flush WP cache
135
+ ai1wm_cache_flush();
136
+
137
+ // Is valid adapter?
138
+ if ( get_option( AI1WM_URL_IP ) && get_option( AI1WM_URL_ADAPTER ) ) {
139
+ return;
140
+ }
141
+
142
+ // Reset HTTP client
143
+ $client = null;
144
}
145
}
146
151
AI1WM_PLUGIN_NAME
152
) );
153
}
154
}
lib/model/class-ai1wm-updater.php CHANGED
@@ -69,7 +69,7 @@ class Ai1wm_Updater {
69
70
// Get extension updates
71
foreach ( $updates as $slug => $update ) {
72
- if ( isset( $extensions[ $slug ]) && ( $extension = $extensions[ $slug ] ) ) {
73
if ( get_option( $extension['key'] ) ) {
74
if ( version_compare( $extension['version'], $update['version'], '<' ) ) {
75
69
70
// Get extension updates
71
foreach ( $updates as $slug => $update ) {
72
+ if ( isset( $extensions[ $slug ] ) && ( $extension = $extensions[ $slug ] ) ) {
73
if ( get_option( $extension['key'] ) ) {
74
if ( version_compare( $extension['version'], $update['version'], '<' ) ) {
75
lib/model/export/class-ai1wm-export-config.php CHANGED
@@ -38,31 +38,31 @@ class Ai1wm_Export_Config {
38
$options = wp_load_alloptions();
39
40
// Set config
41
- $config = new Ai1wm_Config;
42
43
// Set Site URL
44
if ( isset( $options['siteurl'] ) ) {
45
- $config->SiteURL = untrailingslashit( $options['siteurl'] );
46
} else {
47
- $config->SiteURL = site_url();
48
}
49
50
// Set Home URL
51
if ( isset( $options['home'] ) ) {
52
- $config->HomeURL = untrailingslashit( $options['home'] );
53
} else {
54
- $config->HomeURL = home_url();
55
}
56
57
// Set Plugin Version
58
- $config->Plugin = (object) array( 'Version' => AI1WM_VERSION );
59
60
// Set WordPress Version and Content
61
- $config->WordPress = (object) array( 'Version' => $wp_version, 'Content' => WP_CONTENT_DIR );
62
63
// Set No Replace Email
64
if ( isset( $params['options']['no_email_replace'] ) ) {
65
- $config->NoEmailReplace = true;
66
}
67
68
// Save package.json file
38
$options = wp_load_alloptions();
39
40
// Set config
41
+ $config = array();
42
43
// Set Site URL
44
if ( isset( $options['siteurl'] ) ) {
45
+ $config['SiteURL'] = untrailingslashit( $options['siteurl'] );
46
} else {
47
+ $config['SiteURL'] = site_url();
48
}
49
50
// Set Home URL
51
if ( isset( $options['home'] ) ) {
52
+ $config['HomeURL'] = untrailingslashit( $options['home'] );
53
} else {
54
+ $config['HomeURL'] = home_url();
55
}
56
57
// Set Plugin Version
58
+ $config['Plugin'] = array( 'Version' => AI1WM_VERSION );
59
60
// Set WordPress Version and Content
61
+ $config['WordPress'] = array( 'Version' => $wp_version, 'Content' => WP_CONTENT_DIR );
62
63
// Set No Replace Email
64
if ( isset( $params['options']['no_email_replace'] ) ) {
65
+ $config['NoEmailReplace'] = true;
66
}
67
68
// Save package.json file
lib/model/export/class-ai1wm-export-database.php CHANGED
@@ -63,9 +63,9 @@ class Ai1wm_Export_Database {
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
}
@@ -78,10 +78,17 @@ class Ai1wm_Export_Database {
78
$old_table_prefixes[] = ai1wm_table_prefix();
79
$new_table_prefixes[] = ai1wm_servmask_prefix();
80
} else {
81
foreach ( $client->get_tables() as $table_name ) {
82
$old_table_prefixes[] = $table_name;
83
$new_table_prefixes[] = ai1wm_servmask_prefix() . $table_name;
84
}
85
}
86
87
$include_table_prefixes = array();
@@ -110,7 +117,7 @@ class Ai1wm_Export_Database {
110
// Set current table index
111
if ( isset( $params['current_table_index'] ) ) {
112
$current_table_index = (int) $params['current_table_index'];
113
- } else {
114
$current_table_index = 0;
115
}
116
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
}
78
$old_table_prefixes[] = ai1wm_table_prefix();
79
$new_table_prefixes[] = ai1wm_servmask_prefix();
80
} else {
81
+ // Set table prefixes based on table name
82
foreach ( $client->get_tables() as $table_name ) {
83
$old_table_prefixes[] = $table_name;
84
$new_table_prefixes[] = ai1wm_servmask_prefix() . $table_name;
85
}
86
+
87
+ // Set table prefixes based on user meta
88
+ foreach ( array( 'capabilities', 'user_level', 'user_roles' ) as $user_meta ) {
89
+ $old_table_prefixes[] = $user_meta;
90
+ $new_table_prefixes[] = ai1wm_servmask_prefix() . $user_meta;
91
+ }
92
}
93
94
$include_table_prefixes = array();
117
// Set current table index
118
if ( isset( $params['current_table_index'] ) ) {
119
$current_table_index = (int) $params['current_table_index'];
120
+ } else {
121
$current_table_index = 0;
122
}
123
lib/model/export/class-ai1wm-export-enumerate.php CHANGED
@@ -58,9 +58,14 @@ class Ai1wm_Export_Enumerate {
58
$exclude_filters = array_merge( $exclude_filters, $inactive_themes );
59
}
60
61
// Exclude plugins
62
if ( isset( $params['options']['no_plugins'] ) ) {
63
- $exclude_filters = array_merge( $exclude_filters, array( 'plugins', 'mu-plugins' ) );
64
} else {
65
$inactive_plugins = array();
66
@@ -125,7 +130,6 @@ class Ai1wm_Export_Enumerate {
125
}
126
}
127
}
128
-
129
} catch ( Exception $e ) {
130
// Skip bad file permissions
131
}
58
$exclude_filters = array_merge( $exclude_filters, $inactive_themes );
59
}
60
61
+ // Exclude must-use plugins
62
+ if ( isset( $params['options']['no_muplugins'] ) ) {
63
+ $exclude_filters = array_merge( $exclude_filters, array( 'mu-plugins' ) );
64
+ }
65
+
66
// Exclude plugins
67
if ( isset( $params['options']['no_plugins'] ) ) {
68
+ $exclude_filters = array_merge( $exclude_filters, array( 'plugins' ) );
69
} else {
70
$inactive_plugins = array();
71
130
}
131
}
132
}
133
} catch ( Exception $e ) {
134
// Skip bad file permissions
135
}
lib/model/{class-ai1wm-config.php → http/class-ai1wm-http-abstract.php} RENAMED
@@ -23,4 +23,32 @@
23
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
*/
25
26
- class Ai1wm_Config {}
23
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
*/
25
26
+ abstract class Ai1wm_Http_Abstract {
27
+
28
+ protected $headers = array(
29
+ 'Accept' => '*/*',
30
+ 'Accept-Encoding' => '*',
31
+ 'Accept-Charset' => '*',
32
+ 'Accept-Language' => '*',
33
+ 'User-Agent' => 'Mozilla/5.0',
34
+ );
35
+
36
+ public function __construct() {
37
+ // Set user agent
38
+ if ( isset( $_SERVER['HTTP_USER_AGENT'] ) ) {
39
+ $this->headers['User-Agent'] = $_SERVER['HTTP_USER_AGENT'];
40
+ }
41
+ }
42
+
43
+ public function set_header( $key, $value ) {
44
+ $this->headers[ $key ] = $value;
45
+
46
+ return $this;
47
+ }
48
+
49
+ public function get_header( $key ) {
50
+ return $this->headers[ $key ];
51
+ }
52
+
53
+ abstract public function get( $url, $blocking = false );
54
+ }
lib/model/http/class-ai1wm-http-curl.php CHANGED
@@ -23,16 +23,33 @@
23
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
*/
25
26
- class Ai1wm_Http_Curl {
27
28
- public function get( $url, $headers = array() ) {
29
// Set cURL client
30
$handle = curl_init();
31
32
// Set cURL options
33
curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, 5 );
34
curl_setopt( $handle, CURLOPT_TIMEOUT, 5 );
35
- curl_setopt( $handle, CURLOPT_URL, $url ) ;
36
curl_setopt( $handle, CURLOPT_FOLLOWLOCATION, true );
37
curl_setopt( $handle, CURLOPT_RETURNTRANSFER, true );
38
curl_setopt( $handle, CURLOPT_SSL_VERIFYHOST, false );
@@ -41,9 +58,20 @@ class Ai1wm_Http_Curl {
41
curl_setopt( $handle, CURLOPT_HTTPHEADER, $headers );
42
43
// Send data to server
44
- curl_exec( $handle );
45
46
// Close cURL handle
47
curl_close( $handle );
48
}
49
- }
23
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
*/
25
26
+ class Ai1wm_Http_Curl extends Ai1wm_Http_Abstract {
27
+
28
+ public function get( $url, $blocking = false ) {
29
+
30
+ $headers = array();
31
+
32
+ // Set headers
33
+ foreach ( $this->headers as $key => $value ) {
34
+ $headers[] = "{$key}: {$value}";
35
+ }
36
+
37
+ // Set scheme
38
+ $scheme = parse_url( $url, PHP_URL_SCHEME );
39
+
40
+ // Set host
41
+ $host = parse_url( $url, PHP_URL_HOST );
42
+
43
+ // Set port
44
+ $port = parse_url( $url, PHP_URL_PORT );
45
46
// Set cURL client
47
$handle = curl_init();
48
49
// Set cURL options
50
curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, 5 );
51
curl_setopt( $handle, CURLOPT_TIMEOUT, 5 );
52
+ curl_setopt( $handle, CURLOPT_URL, $url );
53
curl_setopt( $handle, CURLOPT_FOLLOWLOCATION, true );
54
curl_setopt( $handle, CURLOPT_RETURNTRANSFER, true );
55
curl_setopt( $handle, CURLOPT_SSL_VERIFYHOST, false );
58
curl_setopt( $handle, CURLOPT_HTTPHEADER, $headers );
59
60
// Send data to server
61
+ if ( ! curl_exec( $handle ) ) {
62
+ if ( $scheme === 'https' ) {
63
+ if ( empty( $port ) ) {
64
+ curl_setopt( $handle, CURLOPT_URL, str_replace( "https://{$host}", "http://{$host}:443", $url ) );
65
+ } else {
66
+ curl_setopt( $handle, CURLOPT_URL, str_replace( "https://{$host}:{$port}", "http://{$host}:{$port}", $url ) );
67
+ }
68
+
69
+ // Re-send data to server
70
+ curl_exec( $handle );
71
+ }
72
+ }
73
74
// Close cURL handle
75
curl_close( $handle );
76
}
77
+ }
lib/model/http/class-ai1wm-http-factory.php CHANGED
@@ -33,4 +33,4 @@ class Ai1wm_Http_Factory {
33
return new Ai1wm_Http_Stream;
34
}
35
36
- }
33
return new Ai1wm_Http_Stream;
34
}
35
36
+ }
lib/model/http/class-ai1wm-http-stream.php CHANGED
@@ -23,9 +23,20 @@
23
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
*/
25
26
- class Ai1wm_Http_Stream {
27
28
- public function get( $url, $headers = array() ) {
29
// Set host
30
$host = parse_url( $url, PHP_URL_HOST );
31
@@ -40,7 +51,7 @@ class Ai1wm_Http_Stream {
40
41
// Set port
42
if ( empty( $port ) ) {
43
- if ( parse_url( $url, PHP_URL_SCHEME ) === 'https' ) {
44
$port = 443;
45
} else {
46
$port = 80;
@@ -54,12 +65,14 @@ class Ai1wm_Http_Stream {
54
'verify_peer_name' => false,
55
'capture_peer_cert' => false,
56
'allow_self_signed' => true,
57
- )
58
) );
59
60
// Set stream client
61
- if ( parse_url( $url, PHP_URL_SCHEME ) === 'https' ) {
62
- $handle = stream_socket_client( "ssl://{$host}:{$port}", $errno, $errstr, 5, STREAM_CLIENT_CONNECT, $context );
63
} else {
64
$handle = stream_socket_client( "tcp://{$host}:{$port}", $errno, $errstr, 5, STREAM_CLIENT_CONNECT, $context );
65
}
@@ -80,11 +93,16 @@ class Ai1wm_Http_Stream {
80
trigger_error( sprintf( 'fwrite wrote only %d instead of %d' , $length, strlen( $request ) ) );
81
}
82
83
- // Set non blocking
84
- stream_set_blocking( $handle, 0 );
85
86
// Close stream handle
87
fclose( $handle );
88
}
89
-
90
- }
23
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
24
*/
25
26
+ class Ai1wm_Http_Stream extends Ai1wm_Http_Abstract {
27
+
28
+ public function get( $url, $blocking = false ) {
29
+
30
+ $headers = array();
31
+
32
+ // Set headers
33
+ foreach ( $this->headers as $key => $value ) {
34
+ $headers[] = "{$key}: {$value}";
35
+ }
36
+
37
+ // Set scheme
38
+ $scheme = parse_url( $url, PHP_URL_SCHEME );
39
40
// Set host
41
$host = parse_url( $url, PHP_URL_HOST );
42
51
52
// Set port
53
if ( empty( $port ) ) {
54
+ if ( $scheme === 'https' ) {
55
$port = 443;
56
} else {
57
$port = 80;
65
'verify_peer_name' => false,
66
'capture_peer_cert' => false,
67
'allow_self_signed' => true,
68
+ ),
69
) );
70
71
// Set stream client
72
+ if ( $scheme === 'https' ) {
73
+ if ( ! ( $handle = stream_socket_client( "ssl://{$host}:{$port}", $errno, $errstr, 5, STREAM_CLIENT_CONNECT, $context ) ) ) {
74
+ $handle = stream_socket_client( "tcp://{$host}:{$port}", $errno, $errstr, 5, STREAM_CLIENT_CONNECT, $context );
75
+ }
76
} else {
77
$handle = stream_socket_client( "tcp://{$host}:{$port}", $errno, $errstr, 5, STREAM_CLIENT_CONNECT, $context );
78
}
93
trigger_error( sprintf( 'fwrite wrote only %d instead of %d' , $length, strlen( $request ) ) );
94
}
95
96
+ // Set blocking/non-blocking mode on a stream
97
+ if ( $blocking ) {
98
+ while ( ! feof( $handle ) ) {
99
+ fread( $handle, 1024 );
100
+ }
101
+ } else {
102
+ stream_set_blocking( $handle, 0 );
103
+ }
104
105
// Close stream handle
106
fclose( $handle );
107
}
108
+ }
lib/model/import/class-ai1wm-import-blogs.php CHANGED
@@ -43,23 +43,23 @@ class Ai1wm_Import_Blogs {
43
44
// Parse multisite.json file
45
$multisite = fread( $handle, filesize( ai1wm_multisite_path( $params ) ) );
46
- $multisite = json_decode( $multisite );
47
48
// Close handle
49
fclose( $handle );
50
51
// Validate
52
- if ( empty( $multisite->Network ) ) {
53
- if ( isset( $multisite->Sites ) && ( $sites = $multisite->Sites ) ) {
54
if ( count( $sites ) === 1 && ( $site = current( $sites ) ) ) {
55
$blogs[] = array(
56
'Old' => array(
57
- 'Id' => (int) $site->BlogID,
58
- 'SiteURL' => $site->SiteURL,
59
- 'HomeURL' => $site->HomeURL,
60
),
61
'New' => array(
62
- 'Id' => 1,
63
'SiteURL' => site_url(),
64
'HomeURL' => home_url(),
65
),
43
44
// Parse multisite.json file
45
$multisite = fread( $handle, filesize( ai1wm_multisite_path( $params ) ) );
46
+ $multisite = json_decode( $multisite, true );
47
48
// Close handle
49
fclose( $handle );
50
51
// Validate
52
+ if ( empty( $multisite['Network'] ) ) {
53
+ if ( isset( $multisite['Sites'] ) && ( $sites = $multisite['Sites'] ) ) {
54
if ( count( $sites ) === 1 && ( $site = current( $sites ) ) ) {
55
$blogs[] = array(
56
'Old' => array(
57
+ 'BlogID' => $site['BlogID'],
58
+ 'SiteURL' => $site['SiteURL'],
59
+ 'HomeURL' => $site['HomeURL'],
60
),
61
'New' => array(
62
+ 'BlogID' => null,
63
'SiteURL' => site_url(),
64
'HomeURL' => home_url(),
65
),
lib/model/import/class-ai1wm-import-content.php CHANGED
@@ -35,7 +35,7 @@ class Ai1wm_Import_Content {
35
36
// Parse blogs.json file
37
$blogs = fread( $handle, filesize( ai1wm_blogs_path( $params ) ) );
38
- $blogs = json_decode( $blogs );
39
40
// Close handle
41
fclose( $handle );
@@ -48,7 +48,7 @@ class Ai1wm_Import_Content {
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;
@@ -100,32 +100,32 @@ class Ai1wm_Import_Content {
100
101
// Set extract paths
102
foreach ( $blogs as $blog ) {
103
- if ( ai1wm_main_site( $blog->Old->Id ) === false ) {
104
if ( defined( 'UPLOADBLOGSDIR' ) ) {
105
// Old sites dir style
106
- $old_paths[] = ai1wm_files_path( $blog->Old->Id );
107
- $new_paths[] = ai1wm_files_path( $blogs->New->Id );
108
109
// New sites dir style
110
- $old_paths[] = ai1wm_sites_path( $blog->Old->Id );
111
- $new_paths[] = ai1wm_files_path( $blog->New->Id );
112
} else {
113
// Old sites dir style
114
- $old_paths[] = ai1wm_files_path( $blog->Old->Id );
115
- $new_paths[] = ai1wm_sites_path( $blog->New->Id );
116
117
// New sites dir style
118
- $old_paths[] = ai1wm_sites_path( $blog->Old->Id );
119
- $new_paths[] = ai1wm_sites_path( $blog->New->Id );
120
}
121
}
122
}
123
124
// Set base site extract paths (should be added at the end of arrays)
125
foreach ( $blogs as $blog ) {
126
- if ( ai1wm_main_site( $blog->Old->Id ) === true ) {
127
- $old_paths[] = ai1wm_sites_path( $blog->Old->Id );
128
- $new_paths[] = ai1wm_sites_path( $blog->New->Id );
129
}
130
}
131
35
36
// Parse blogs.json file
37
$blogs = fread( $handle, filesize( ai1wm_blogs_path( $params ) ) );
38
+ $blogs = json_decode( $blogs, true );
39
40
// Close handle
41
fclose( $handle );
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;
100
101
// Set extract paths
102
foreach ( $blogs as $blog ) {
103
+ if ( ai1wm_main_site( $blog['Old']['BlogID'] ) === false ) {
104
if ( defined( 'UPLOADBLOGSDIR' ) ) {
105
// Old sites dir style
106
+ $old_paths[] = ai1wm_files_path( $blog['Old']['BlogID'] );
107
+ $new_paths[] = ai1wm_files_path( $blog['New']['BlogID'] );
108
109
// New sites dir style
110
+ $old_paths[] = ai1wm_sites_path( $blog['Old']['BlogID'] );
111
+ $new_paths[] = ai1wm_files_path( $blog['New']['BlogID'] );
112
} else {
113
// Old sites dir style
114
+ $old_paths[] = ai1wm_files_path( $blog['Old']['BlogID'] );
115
+ $new_paths[] = ai1wm_sites_path( $blog['New']['BlogID'] );
116
117
// New sites dir style
118
+ $old_paths[] = ai1wm_sites_path( $blog['Old']['BlogID'] );
119
+ $new_paths[] = ai1wm_sites_path( $blog['New']['BlogID'] );
120
}
121
}
122
}
123
124
// Set base site extract paths (should be added at the end of arrays)
125
foreach ( $blogs as $blog ) {
126
+ if ( ai1wm_main_site( $blog['Old']['BlogID'] ) === true ) {
127
+ $old_paths[] = ai1wm_sites_path( $blog['Old']['BlogID'] );
128
+ $new_paths[] = ai1wm_sites_path( $blog['New']['BlogID'] );
129
}
130
}
131
lib/model/import/class-ai1wm-import-database.php CHANGED
@@ -41,7 +41,7 @@ class Ai1wm_Import_Database {
41
42
// Parse blogs.json file
43
$blogs = fread( $handle, filesize( ai1wm_blogs_path( $params ) ) );
44
- $blogs = json_decode( $blogs );
45
46
// Close handle
47
fclose( $handle );
@@ -54,7 +54,7 @@ class Ai1wm_Import_Database {
54
55
// Parse package.json file
56
$config = fread( $handle, filesize( ai1wm_package_path( $params ) ) );
57
- $config = json_decode( $config );
58
59
// Close handle
60
fclose( $handle );
@@ -69,14 +69,14 @@ class Ai1wm_Import_Database {
69
foreach ( $blogs as $blog ) {
70
71
// Get blogs dir Upload Path
72
- if ( ! in_array( sprintf( "'%s'", trim( ai1wm_blogsdir_path( $blog->Old->Id ), '/' ) ), $old_values ) ) {
73
- $old_values[] = sprintf( "'%s'", trim( ai1wm_blogsdir_path( $blog->Old->Id ), '/' ) );
74
$new_values[] = sprintf( "'%s'", get_option( 'upload_path' ) );
75
}
76
77
- // Get sites Upload Path
78
- if ( ! in_array( sprintf( "'%s'", trim( ai1wm_uploads_path( $blog->Old->Id ), '/' ) ), $old_values ) ) {
79
- $old_values[] = sprintf( "'%s'", trim( ai1wm_uploads_path( $blog->Old->Id ), '/' ) );
80
$new_values[] = sprintf( "'%s'", get_option( 'upload_path' ) );
81
}
82
@@ -84,151 +84,156 @@ class Ai1wm_Import_Database {
84
if ( defined( 'UPLOADBLOGSDIR' ) ) {
85
86
// Get Upload Path
87
- if ( ! in_array( ai1wm_blogsdir_path( $blog->Old->Id ), $old_values ) ) {
88
- $old_values[] = ai1wm_blogsdir_path( $blog->Old->Id );
89
- $new_values[] = ai1wm_blogsdir_path( $blog->New->Id );
90
}
91
92
// Get escaped Upload Path
93
- if ( ! in_array( addslashes( addcslashes( ai1wm_blogsdir_path( $blog->Old->Id ), '\/' ) ), $old_values ) ) {
94
- $old_values[] = addslashes( addcslashes( ai1wm_blogsdir_path( $blog->Old->Id ), '\/' ) );
95
- $new_values[] = addslashes( addcslashes( ai1wm_blogsdir_path( $blog->New->Id ), '\/' ) );
96
}
97
98
// Get Upload Path
99
- if ( ! in_array( ai1wm_uploads_path( $blog->Old->Id ), $old_values ) ) {
100
- $old_values[] = ai1wm_uploads_path( $blog->Old->Id );
101
- $new_values[] = ai1wm_blogsdir_path( $blog->New->Id );
102
}
103
104
// Get escaped Upload Path
105
- if ( ! in_array( addslashes( addcslashes( ai1wm_uploads_path( $blog->Old->Id ), '\/' ) ), $old_values ) ) {
106
- $old_values[] = addslashes( addcslashes( ai1wm_uploads_path( $blog->Old->Id ), '\/' ) );
107
- $new_values[] = addslashes( addcslashes( ai1wm_blogsdir_path( $blog->New->Id ), '\/' ) );
108
}
109
-
110
} else {
111
112
// Get Upload Path
113
- if ( ! in_array( ai1wm_blogsdir_path( $blog->Old->Id ), $old_values ) ) {
114
- $old_values[] = ai1wm_blogsdir_path( $blog->Old->Id );
115
- $new_values[] = ai1wm_uploads_path( $blog->New->Id );
116
}
117
118
// Get escaped Upload Path
119
- if ( ! in_array( addslashes( addcslashes( ai1wm_blogsdir_path( $blog->Old->Id ), '\/' ) ), $old_values ) ) {
120
- $old_values[] = addslashes( addcslashes( ai1wm_blogsdir_path( $blog->Old->Id ), '\/' ) );
121
- $new_values[] = addslashes( addcslashes( ai1wm_uploads_path( $blog->New->Id ), '\/' ) );
122
}
123
124
// Get Upload Path
125
- if ( ! in_array( ai1wm_uploads_path( $blog->Old->Id ), $old_values ) ) {
126
- $old_values[] = ai1wm_uploads_path( $blog->Old->Id );
127
- $new_values[] = ai1wm_uploads_path( $blog->New->Id );
128
}
129
130
// Get escaped Upload Path
131
- if ( ! in_array( addslashes( addcslashes( ai1wm_uploads_path( $blog->Old->Id ), '\/' ) ), $old_values ) ) {
132
- $old_values[] = addslashes( addcslashes( ai1wm_uploads_path( $blog->Old->Id ), '\/' ) );
133
- $new_values[] = addslashes( addcslashes( ai1wm_uploads_path( $blog->New->Id ), '\/' ) );
134
}
135
}
136
137
// Get Site URL
138
- if ( isset( $blog->Old->SiteURL ) && ( $blog->Old->SiteURL !== $blog->New->SiteURL ) ) {
139
140
// Get domain
141
- $old_domain = parse_url( $blog->Old->SiteURL, PHP_URL_HOST );
142
- $new_domain = parse_url( $blog->New->SiteURL, PHP_URL_HOST );
143
144
// Get scheme
145
- $new_scheme = parse_url( $blog->New->SiteURL, PHP_URL_SCHEME );
146
147
// Replace Site URL scheme
148
foreach ( array( 'http', 'https' ) as $old_scheme ) {
149
150
// Add plain Site URL
151
- if ( ! in_array( set_url_scheme( $blog->Old->SiteURL, $old_scheme ), $old_values ) ) {
152
- $old_values[] = set_url_scheme( $blog->Old->SiteURL, $old_scheme );
153
- $new_values[] = set_url_scheme( $blog->New->SiteURL, $new_scheme );
154
}
155
156
// Add encoded Site URL
157
- if ( ! in_array( urlencode( set_url_scheme( $blog->Old->SiteURL, $old_scheme ) ), $old_values ) ) {
158
- $old_values[] = urlencode( set_url_scheme( $blog->Old->SiteURL, $old_scheme ) );
159
- $new_values[] = urlencode( set_url_scheme( $blog->New->SiteURL, $new_scheme ) );
160
}
161
162
// Add escaped Site URL
163
- if ( ! in_array( addslashes( addcslashes( set_url_scheme( $blog->Old->SiteURL, $old_scheme ), '/' ) ), $old_values ) ) {
164
- $old_values[] = addslashes( addcslashes( set_url_scheme( $blog->Old->SiteURL, $old_scheme ), '/' ) );
165
- $new_values[] = addslashes( addcslashes( set_url_scheme( $blog->New->SiteURL, $new_scheme ), '/' ) );
166
}
167
}
168
169
// Add email
170
- if ( ! isset( $config->NoEmailReplace ) ) {
171
- if ( ! in_array( sprintf( "@%s", $old_domain ), $old_values ) ) {
172
- $old_values[] = sprintf( "@%s", $old_domain );
173
- $new_values[] = sprintf( "@%s", $new_domain );
174
}
175
}
176
}
177
178
// Get Home URL
179
- if ( isset( $blog->Old->HomeURL ) && ( $blog->Old->HomeURL !== $blog->New->HomeURL ) ) {
180
181
// Get domain
182
- $old_domain = parse_url( $blog->Old->HomeURL, PHP_URL_HOST );
183
- $new_domain = parse_url( $blog->New->HomeURL, PHP_URL_HOST );
184
185
// Get scheme
186
- $new_scheme = parse_url( $blog->New->HomeURL, PHP_URL_SCHEME );
187
188
// Replace Home URL scheme
189
foreach ( array( 'http', 'https' ) as $old_scheme ) {
190
191
// Add plain Home URL
192
- if ( ! in_array( set_url_scheme( $blog->Old->HomeURL, $old_scheme ), $old_values ) ) {
193
- $old_values[] = set_url_scheme( $blog->Old->HomeURL, $old_scheme );
194
- $new_values[] = set_url_scheme( $blog->New->HomeURL, $new_scheme );
195
}
196
197
// Add encoded Home URL
198
- if ( ! in_array( urlencode( set_url_scheme( $blog->Old->HomeURL, $old_scheme ) ), $old_values ) ) {
199
- $old_values[] = urlencode( set_url_scheme( $blog->Old->HomeURL, $old_scheme ) );
200
- $new_values[] = urlencode( set_url_scheme( $blog->New->HomeURL, $new_scheme ) );
201
}
202
203
// Add escaped Home URL
204
- if ( ! in_array( addslashes( addcslashes( set_url_scheme( $blog->Old->HomeURL, $old_scheme ), '/' ) ), $old_values ) ) {
205
- $old_values[] = addslashes( addcslashes( set_url_scheme( $blog->Old->HomeURL, $old_scheme ), '/' ) );
206
- $new_values[] = addslashes( addcslashes( set_url_scheme( $blog->New->HomeURL, $new_scheme ), '/' ) );
207
}
208
}
209
210
// Add email
211
- if ( ! isset( $config->NoEmailReplace ) ) {
212
- if ( ! in_array( sprintf( "@%s", $old_domain ), $old_values ) ) {
213
- $old_values[] = sprintf( "@%s", $old_domain );
214
- $new_values[] = sprintf( "@%s", $new_domain );
215
}
216
}
217
}
218
}
219
220
// Get Site URL
221
- if ( isset( $config->SiteURL ) && ( $config->SiteURL !== site_url() ) ) {
222
223
// Get www URL
224
- if ( stripos( $config->SiteURL, '//www.' ) !== false ) {
225
- $www = str_ireplace( '//www.', '//', $config->SiteURL );
226
} else {
227
- $www = str_ireplace( '//', '//www.', $config->SiteURL );
228
}
229
230
// Replace Site URL
231
- foreach ( array( $config->SiteURL, $www ) as $url ) {
232
233
// Get domain
234
$old_domain = parse_url( $url, PHP_URL_HOST );
@@ -270,27 +275,27 @@ class Ai1wm_Import_Database {
270
}
271
272
// Add email
273
- if ( ! isset( $config->NoEmailReplace ) ) {
274
- if ( ! in_array( sprintf( "@%s", $old_domain ), $old_values ) ) {
275
- $old_values[] = sprintf( "@%s", $old_domain );
276
- $new_values[] = sprintf( "@%s", $new_domain );
277
}
278
}
279
}
280
}
281
282
// Get Home URL
283
- if ( isset( $config->HomeURL ) && ( $config->HomeURL !== home_url() ) ) {
284
285
// Get www URL
286
- if ( stripos( $config->HomeURL, '//www.' ) !== false ) {
287
- $www = str_ireplace( '//www.', '//', $config->HomeURL );
288
} else {
289
- $www = str_ireplace( '//', '//www.', $config->HomeURL );
290
}
291
292
// Replace Home URL
293
- foreach ( array( $config->HomeURL, $www ) as $url ) {
294
295
// Get domain
296
$old_domain = parse_url( $url, PHP_URL_HOST );
@@ -332,33 +337,33 @@ class Ai1wm_Import_Database {
332
}
333
334
// Add email
335
- if ( ! isset( $config->NoEmailReplace ) ) {
336
- if ( ! in_array( sprintf( "@%s", $old_domain ), $old_values ) ) {
337
- $old_values[] = sprintf( "@%s", $old_domain );
338
- $new_values[] = sprintf( "@%s", $new_domain );
339
}
340
}
341
}
342
}
343
344
// Get WordPress Content
345
- if ( isset( $config->WordPress->Content ) && ( $config->WordPress->Content !== WP_CONTENT_DIR ) ) {
346
347
// Add plain WordPress Content
348
- if ( ! in_array( $config->WordPress->Content, $old_values ) ) {
349
- $old_values[] = $config->WordPress->Content;
350
$new_values[] = WP_CONTENT_DIR;
351
}
352
353
// Add encoded WordPress Content
354
- if ( ! in_array( urlencode( $config->WordPress->Content ), $old_values ) ) {
355
- $old_values[] = urlencode( $config->WordPress->Content );
356
$new_values[] = urlencode( WP_CONTENT_DIR );
357
}
358
359
// Add escaped WordPress Content
360
- if ( ! in_array( addslashes( addcslashes( $config->WordPress->Content, '\/' ) ), $old_values ) ) {
361
- $old_values[] = addslashes( addcslashes( $config->WordPress->Content, '\/' ) );
362
$new_values[] = addslashes( addcslashes( WP_CONTENT_DIR, '\/' ) );
363
}
364
}
@@ -390,25 +395,25 @@ class Ai1wm_Import_Database {
390
391
// Set site table prefixes
392
foreach ( $blogs as $blog ) {
393
- if ( ai1wm_main_site( $blog->Old->Id ) === false ) {
394
- $old_prefixes[] = ai1wm_servmask_prefix( $blog->Old->Id );
395
- $new_prefixes[] = ai1wm_table_prefix( $blog->New->Id );
396
}
397
}
398
399
// Set base table prefixes
400
foreach ( $blogs as $blog ) {
401
- if ( ai1wm_main_site( $blog->Old->Id ) === true ) {
402
$old_prefixes[] = ai1wm_servmask_prefix( 'basesite' );
403
- $new_prefixes[] = ai1wm_table_prefix( $blog->New->Id );
404
}
405
}
406
407
// Set site table prefixes
408
foreach ( $blogs as $blog ) {
409
- if ( ai1wm_main_site( $blog->Old->Id ) === true ) {
410
- $old_prefixes[] = ai1wm_servmask_prefix( $blog->Old->Id );
411
- $new_prefixes[] = ai1wm_table_prefix( $blog->New->Id );
412
}
413
}
414
@@ -430,7 +435,7 @@ class Ai1wm_Import_Database {
430
->set_new_replace_values( $new_values );
431
432
// Flush database
433
- if ( ( $version = $config->Plugin->Version ) ) {
434
if ( $version !== 'develop' && version_compare( $version, '4.10', '<' ) ) {
435
$client->set_include_table_prefixes( array( ai1wm_table_prefix() ) );
436
$client->flush();
41
42
// Parse blogs.json file
43
$blogs = fread( $handle, filesize( ai1wm_blogs_path( $params ) ) );
44
+ $blogs = json_decode( $blogs, true );
45
46
// Close handle
47
fclose( $handle );
54
55
// Parse package.json file
56
$config = fread( $handle, filesize( ai1wm_package_path( $params ) ) );
57
+ $config = json_decode( $config, true );
58
59
// Close handle
60
fclose( $handle );
69
foreach ( $blogs as $blog ) {
70
71
// Get blogs dir Upload Path
72
+ if ( ! in_array( sprintf( "'%s'", trim( ai1wm_blogsdir_path( $blog['Old']['BlogID'] ), '/' ) ), $old_values ) ) {
73
+ $old_values[] = sprintf( "'%s'", trim( ai1wm_blogsdir_path( $blog['Old']['BlogID'] ), '/' ) );
74
$new_values[] = sprintf( "'%s'", get_option( 'upload_path' ) );
75
}
76
77
+ // Get sites dir Upload Path
78
+ if ( ! in_array( sprintf( "'%s'", trim( ai1wm_uploads_path( $blog['Old']['BlogID'] ), '/' ) ), $old_values ) ) {
79
+ $old_values[] = sprintf( "'%s'", trim( ai1wm_uploads_path( $blog['Old']['BlogID'] ), '/' ) );
80
$new_values[] = sprintf( "'%s'", get_option( 'upload_path' ) );
81
}
82
84
if ( defined( 'UPLOADBLOGSDIR' ) ) {
85
86
// Get Upload Path
87
+ if ( ! in_array( ai1wm_blogsdir_path( $blog['Old']['BlogID'] ), $old_values ) ) {
88
+ $old_values[] = ai1wm_blogsdir_path( $blog['Old']['BlogID'] );
89
+ $new_values[] = ai1wm_blogsdir_path( $blog['New']['BlogID'] );
90
}
91
92
// Get escaped Upload Path
93
+ if ( ! in_array( addslashes( addcslashes( ai1wm_blogsdir_path( $blog['Old']['BlogID'] ), '\/' ) ), $old_values ) ) {
94
+ $old_values[] = addslashes( addcslashes( ai1wm_blogsdir_path( $blog['Old']['BlogID'] ), '\/' ) );
95
+ $new_values[] = addslashes( addcslashes( ai1wm_blogsdir_path( $blog['New']['BlogID'] ), '\/' ) );
96
}
97
98
// Get Upload Path
99
+ if ( ! in_array( ai1wm_uploads_path( $blog['Old']['BlogID'] ), $old_values ) ) {
100
+ $old_values[] = ai1wm_uploads_path( $blog['Old']['BlogID'] );
101
+ $new_values[] = ai1wm_blogsdir_path( $blog['New']['BlogID'] );
102
}
103
104
// Get escaped Upload Path
105
+ if ( ! in_array( addslashes( addcslashes( ai1wm_uploads_path( $blog['Old']['BlogID'] ), '\/' ) ), $old_values ) ) {
106
+ $old_values[] = addslashes( addcslashes( ai1wm_uploads_path( $blog['Old']['BlogID'] ), '\/' ) );
107
+ $new_values[] = addslashes( addcslashes( ai1wm_blogsdir_path( $blog['New']['BlogID'] ), '\/' ) );
108
}
109
} else {
110
111
+ // Get files dir Upload URL
112
+ if ( ! in_array( sprintf( '%s/%s/', untrailingslashit( $blog['Old']['HomeURL'] ), 'files' ), $old_values ) ) {
113
+ $old_values[] = sprintf( '%s/%s/', untrailingslashit( $blog['Old']['HomeURL'] ), 'files' );
114
+ $new_values[] = ai1wm_uploads_url( $blog['New']['BlogID'] );
115
+ }
116
+
117
// Get Upload Path
118
+ if ( ! in_array( ai1wm_blogsdir_path( $blog['Old']['BlogID'] ), $old_values ) ) {
119
+ $old_values[] = ai1wm_blogsdir_path( $blog['Old']['BlogID'] );
120
+ $new_values[] = ai1wm_uploads_path( $blog['New']['BlogID'] );
121
}
122
123
// Get escaped Upload Path
124
+ if ( ! in_array( addslashes( addcslashes( ai1wm_blogsdir_path( $blog['Old']['BlogID'] ), '\/' ) ), $old_values ) ) {
125
+ $old_values[] = addslashes( addcslashes( ai1wm_blogsdir_path( $blog['Old']['BlogID'] ), '\/' ) );
126
+ $new_values[] = addslashes( addcslashes( ai1wm_uploads_path( $blog['New']['BlogID'] ), '\/' ) );
127
}
128
129
// Get Upload Path
130
+ if ( ! in_array( ai1wm_uploads_path( $blog['Old']['BlogID'] ), $old_values ) ) {
131
+ $old_values[] = ai1wm_uploads_path( $blog['Old']['BlogID'] );
132
+ $new_values[] = ai1wm_uploads_path( $blog['New']['BlogID'] );
133
}
134
135
// Get escaped Upload Path
136
+ if ( ! in_array( addslashes( addcslashes( ai1wm_uploads_path( $blog['Old']['BlogID'] ), '\/' ) ), $old_values ) ) {
137
+ $old_values[] = addslashes( addcslashes( ai1wm_uploads_path( $blog['Old']['BlogID'] ), '\/' ) );
138
+ $new_values[] = addslashes( addcslashes( ai1wm_uploads_path( $blog['New']['BlogID'] ), '\/' ) );
139
}
140
}
141
142
// Get Site URL
143
+ if ( isset( $blog['Old']['SiteURL'] ) && ( $blog['Old']['SiteURL'] !== $blog['New']['SiteURL'] ) ) {
144
145
// Get domain
146
+ $old_domain = parse_url( $blog['Old']['SiteURL'], PHP_URL_HOST );
147
+ $new_domain = parse_url( $blog['New']['SiteURL'], PHP_URL_HOST );
148
149
// Get scheme
150
+ $new_scheme = parse_url( $blog['New']['SiteURL'], PHP_URL_SCHEME );
151
152
// Replace Site URL scheme
153
foreach ( array( 'http', 'https' ) as $old_scheme ) {
154
155
// Add plain Site URL
156
+ if ( ! in_array( set_url_scheme( $blog['Old']['SiteURL'], $old_scheme ), $old_values ) ) {
157
+ $old_values[] = set_url_scheme( $blog['Old']['SiteURL'], $old_scheme );
158
+ $new_values[] = set_url_scheme( $blog['New']['SiteURL'], $new_scheme );
159
}
160
161
// Add encoded Site URL
162
+ if ( ! in_array( urlencode( set_url_scheme( $blog['Old']['SiteURL'], $old_scheme ) ), $old_values ) ) {
163
+ $old_values[] = urlencode( set_url_scheme( $blog['Old']['SiteURL'], $old_scheme ) );
164
+ $new_values[] = urlencode( set_url_scheme( $blog['New']['SiteURL'], $new_scheme ) );
165
}
166
167
// Add escaped Site URL
168
+ if ( ! in_array( addslashes( addcslashes( set_url_scheme( $blog['Old']['SiteURL'], $old_scheme ), '/' ) ), $old_values ) ) {
169
+ $old_values[] = addslashes( addcslashes( set_url_scheme( $blog['Old']['SiteURL'], $old_scheme ), '/' ) );
170
+ $new_values[] = addslashes( addcslashes( set_url_scheme( $blog['New']['SiteURL'], $new_scheme ), '/' ) );
171
}
172
}
173
174
// Add email
175
+ if ( ! isset( $config['NoEmailReplace'] ) ) {
176
+ if ( ! in_array( sprintf( '@%s', $old_domain ), $old_values ) ) {
177
+ $old_values[] = sprintf( '@%s', $old_domain );
178
+ $new_values[] = sprintf( '@%s', $new_domain );
179
}
180
}
181
}
182
183
// Get Home URL
184
+ if ( isset( $blog['Old']['HomeURL'] ) && ( $blog['Old']['HomeURL'] !== $blog['New']['HomeURL'] ) ) {
185
186
// Get domain
187
+ $old_domain = parse_url( $blog['Old']['HomeURL'], PHP_URL_HOST );
188
+ $new_domain = parse_url( $blog['New']['HomeURL'], PHP_URL_HOST );
189
190
// Get scheme
191
+ $new_scheme = parse_url( $blog['New']['HomeURL'], PHP_URL_SCHEME );
192
193
// Replace Home URL scheme
194
foreach ( array( 'http', 'https' ) as $old_scheme ) {
195
196
// Add plain Home URL
197
+ if ( ! in_array( set_url_scheme( $blog['Old']['HomeURL'], $old_scheme ), $old_values ) ) {
198
+ $old_values[] = set_url_scheme( $blog['Old']['HomeURL'], $old_scheme );
199
+ $new_values[] = set_url_scheme( $blog['New']['HomeURL'], $new_scheme );
200
}
201
202
// Add encoded Home URL
203
+ if ( ! in_array( urlencode( set_url_scheme( $blog['Old']['HomeURL'], $old_scheme ) ), $old_values ) ) {
204
+ $old_values[] = urlencode( set_url_scheme( $blog['Old']['HomeURL'], $old_scheme ) );
205
+ $new_values[] = urlencode( set_url_scheme( $blog['New']['HomeURL'], $new_scheme ) );
206
}
207
208
// Add escaped Home URL
209
+ if ( ! in_array( addslashes( addcslashes( set_url_scheme( $blog['Old']['HomeURL'], $old_scheme ), '/' ) ), $old_values ) ) {
210
+ $old_values[] = addslashes( addcslashes( set_url_scheme( $blog['Old']['HomeURL'], $old_scheme ), '/' ) );
211
+ $new_values[] = addslashes( addcslashes( set_url_scheme( $blog['New']['HomeURL'], $new_scheme ), '/' ) );
212
}
213
}
214
215
// Add email
216
+ if ( ! isset( $config['NoEmailReplace'] ) ) {
217
+ if ( ! in_array( sprintf( '@%s', $old_domain ), $old_values ) ) {
218
+ $old_values[] = sprintf( '@%s', $old_domain );
219
+ $new_values[] = sprintf( '@%s', $new_domain );
220
}
221
}
222
}
223
}
224
225
// Get Site URL
226
+ if ( isset( $config['SiteURL'] ) && ( $config['SiteURL'] !== site_url() ) ) {
227
228
// Get www URL
229
+ if ( stripos( $config['SiteURL'], '//www.' ) !== false ) {
230
+ $www = str_ireplace( '//www.', '//', $config['SiteURL'] );
231
} else {
232
+ $www = str_ireplace( '//', '//www.', $config['SiteURL'] );
233
}
234
235
// Replace Site URL
236
+ foreach ( array( $config['SiteURL'], $www ) as $url ) {
237
238
// Get domain
239
$old_domain = parse_url( $url, PHP_URL_HOST );
275
}
276
277
// Add email
278
+ if ( ! isset( $config['NoEmailReplace'] ) ) {
279
+ if ( ! in_array( sprintf( '@%s', $old_domain ), $old_values ) ) {
280
+ $old_values[] = sprintf( '@%s', $old_domain );
281
+ $new_values[] = sprintf( '@%s', $new_domain );
282
}
283
}
284
}
285
}
286
287
// Get Home URL
288
+ if ( isset( $config['HomeURL'] ) && ( $config['HomeURL'] !== home_url() ) ) {
289
290
// Get www URL
291
+ if ( stripos( $config['HomeURL'], '//www.' ) !== false ) {
292
+ $www = str_ireplace( '//www.', '//', $config['HomeURL'] );
293
} else {
294
+ $www = str_ireplace( '//', '//www.', $config['HomeURL'] );
295
}
296
297
// Replace Home URL
298
+ foreach ( array( $config['HomeURL'], $www ) as $url ) {
299
300
// Get domain
301
$old_domain = parse_url( $url, PHP_URL_HOST );
337
}
338
339
// Add email
340
+ if ( ! isset( $config['NoEmailReplace'] ) ) {
341
+ if ( ! in_array( sprintf( '@%s', $old_domain ), $old_values ) ) {
342
+ $old_values[] = sprintf( '@%s', $old_domain );
343
+ $new_values[] = sprintf( '@%s', $new_domain );
344
}
345
}
346
}
347
}
348
349
// Get WordPress Content
350
+ if ( isset( $config['WordPress']['Content'] ) && ( $config['WordPress']['Content'] !== WP_CONTENT_DIR ) ) {
351
352
// Add plain WordPress Content
353
+ if ( ! in_array( $config['WordPress']['Content'], $old_values ) ) {
354
+ $old_values[] = $config['WordPress']['Content'];
355
$new_values[] = WP_CONTENT_DIR;
356
}
357
358
// Add encoded WordPress Content
359
+ if ( ! in_array( urlencode( $config['WordPress']['Content'] ), $old_values ) ) {
360
+ $old_values[] = urlencode( $config['WordPress']['Content'] );
361
$new_values[] = urlencode( WP_CONTENT_DIR );
362
}
363
364
// Add escaped WordPress Content
365
+ if ( ! in_array( addslashes( addcslashes( $config['WordPress']['Content'], '\/' ) ), $old_values ) ) {
366
+ $old_values[] = addslashes( addcslashes( $config['WordPress']['Content'], '\/' ) );
367
$new_values[] = addslashes( addcslashes( WP_CONTENT_DIR, '\/' ) );
368
}
369
}
395
396
// Set site table prefixes
397
foreach ( $blogs as $blog ) {
398
+ if ( ai1wm_main_site( $blog['Old']['BlogID'] ) === false ) {
399
+ $old_prefixes[] = ai1wm_servmask_prefix( $blog['Old']['BlogID'] );
400
+ $new_prefixes[] = ai1wm_table_prefix( $blog['New']['BlogID'] );
401
}
402
}
403
404
// Set base table prefixes
405
foreach ( $blogs as $blog ) {
406
+ if ( ai1wm_main_site( $blog['Old']['BlogID'] ) === true ) {
407
$old_prefixes[] = ai1wm_servmask_prefix( 'basesite' );
408
+ $new_prefixes[] = ai1wm_table_prefix( $blog['New']['BlogID'] );
409
}
410
}
411
412
// Set site table prefixes
413
foreach ( $blogs as $blog ) {
414
+ if ( ai1wm_main_site( $blog['Old']['BlogID'] ) === true ) {
415
+ $old_prefixes[] = ai1wm_servmask_prefix( $blog['Old']['BlogID'] );
416
+ $new_prefixes[] = ai1wm_table_prefix( $blog['New']['BlogID'] );
417
}
418
}
419
435
->set_new_replace_values( $new_values );
436
437
// Flush database
438
+ if ( ( $version = $config['Plugin']['Version'] ) ) {
439
if ( $version !== 'develop' && version_compare( $version, '4.10', '<' ) ) {
440
$client->set_include_table_prefixes( array( ai1wm_table_prefix() ) );
441
$client->flush();
lib/model/import/class-ai1wm-import-done.php CHANGED
@@ -27,9 +27,6 @@ class Ai1wm_Import_Done {
27
28
public static function execute( $params ) {
29
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
@@ -41,63 +38,14 @@ class Ai1wm_Import_Done {
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
- // Open the archive file for reading
56
- $archive = new Ai1wm_Extractor( ai1wm_archive_path( $params ) );
57
-
58
- // Include WordPress files
59
- $include_files = array_keys( _get_dropins() );
60
-
61
- // Include mu-plugins files
62
- $include_files = array_merge( $include_files, array( AI1WM_MUPLUGINS_NAME ) );
63
-
64
- // Unpack WordPress files and mu-plugins files
65
- $archive->extract_by_files_array( WP_CONTENT_DIR, $include_files );
66
-
67
- // Close the archive file
68
- $archive->close();
69
-
70
- // Load must-use plugins
71
- foreach ( wp_get_mu_plugins() as $mu_plugin ) {
72
- include_once( $mu_plugin );
73
- }
74
-
75
- return $params;
76
- }
77
-
78
- public static function shutdown() {
79
- $error = error_get_last();
80
-
81
- // Set error type
82
- $type = null;
83
- if ( isset( $error['type'] ) ) {
84
- $type = $error['type'];
85
- }
86
-
87
- // Set error file
88
- $file = null;
89
- if ( isset( $error['file'] ) ) {
90
- $file = $error['file'];
91
- }
92
-
93
- // Deactivate must-use plugins on fatal and parse errors
94
- if ( in_array( $type, array( E_ERROR, E_PARSE ) ) && stripos( $file, AI1WM_MUPLUGINS_NAME ) !== false ) {
95
- foreach ( wp_get_mu_plugins() as $mu_plugin ) {
96
- if ( copy( $mu_plugin, sprintf( '%s-%s', $mu_plugin, date( 'YmdHis' ) ) ) ) {
97
- if ( ( $handle = fopen( $mu_plugin, 'w' ) ) ) {
98
- fclose( $handle );
99
- }
100
- }
101
}
102
}
103
@@ -117,5 +65,7 @@ class Ai1wm_Import_Done {
117
AI1WM_PLUGIN_NAME
118
)
119
);
120
}
121
}
27
28
public static function execute( $params ) {
29
30
// Check multisite.json file
31
if ( true === is_file( ai1wm_multisite_path( $params ) ) ) {
32
38
39
// Parse multisite.json file
40
$multisite = fread( $handle, filesize( ai1wm_multisite_path( $params ) ) );
41
+ $multisite = json_decode( $multisite, true );
42
43
// Close handle
44
fclose( $handle );
45
46
// Activate plugins
47
+ if ( isset( $multisite['Plugins'] ) && ( $active_sitewide_plugins = $multisite['Plugins'] ) ) {
48
+ activate_plugins( $active_sitewide_plugins, null, is_multisite(), true );
49
}
50
}
51
65
AI1WM_PLUGIN_NAME
66
)
67
);
68
+
69
+ return $params;
70
}
71
}
lib/model/import/class-ai1wm-import-plugins.php ADDED
@@ -0,0 +1,53 @@
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_Plugins {
27
+
28
+ public static function execute( $params ) {
29
+
30
+ // Set progress
31
+ Ai1wm_Status::info( __( 'Activating plugins...', AI1WM_PLUGIN_NAME ) );
32
+
33
+ // Open the archive file for reading
34
+ $archive = new Ai1wm_Extractor( ai1wm_archive_path( $params ) );
35
+
36
+ // Include WordPress files
37
+ $include_files = array_keys( _get_dropins() );
38
+
39
+ // Include mu-plugins files
40
+ $include_files = array_merge( $include_files, array( AI1WM_MUPLUGINS_NAME ) );
41
+
42
+ // Unpack WordPress files and mu-plugins files
43
+ $archive->extract_by_files_array( WP_CONTENT_DIR, $include_files );
44
+
45
+ // Close the archive file
46
+ $archive->close();
47
+
48
+ // Set progress
49
+ Ai1wm_Status::info( __( 'Done activating plugins...', AI1WM_PLUGIN_NAME ) );
50
+
51
+ return $params;
52
+ }
53
+ }
lib/model/import/class-ai1wm-import-upload.php CHANGED
@@ -51,7 +51,7 @@ class Ai1wm_Import_Upload {
51
public static function execute( $params ) {
52
self::validate();
53
54
- $error = $_FILES['upload-file']['error'];
55
$upload = $_FILES['upload-file']['tmp_name'];
56
$archive = ai1wm_archive_path( $params );
57
51
public static function execute( $params ) {
52
self::validate();
53
54
+ $error = $_FILES['upload-file']['error'];
55
$upload = $_FILES['upload-file']['tmp_name'];
56
$archive = ai1wm_archive_path( $params );
57
lib/vendor/servmask/database/class-ai1wm-database-utility.php CHANGED
@@ -35,7 +35,7 @@ class Ai1wm_Database_Utility {
35
* @return mixed The original string with all elements replaced as needed.
36
*/
37
public static function replace_values( $from = array(), $to = array(), $data = '' ) {
38
- return str_ireplace( $from, $to, $data );
39
}
40
41
/**
@@ -74,7 +74,7 @@ class Ai1wm_Database_Utility {
74
unset( $tmp );
75
} else {
76
if ( is_string( $data ) ) {
77
- $data = str_ireplace( $from, $to, $data );
78
}
79
}
80
@@ -102,13 +102,4 @@ class Ai1wm_Database_Utility {
102
$data
103
);
104
}
105
- /**
106
- * Unescape quote characters
107
- *
108
- * @param string $data Data to replace.
109
- * @return string
110
- */
111
- public static function unescape_quotes( $data ) {
112
- return str_ireplace( '\"', '"', $data );
113
- }
114
}
35
* @return mixed The original string with all elements replaced as needed.
36
*/
37
public static function replace_values( $from = array(), $to = array(), $data = '' ) {
38
+ return strtr( $data, array_combine( $from, $to ) );
39
}
40
41
/**
74
unset( $tmp );
75
} else {
76
if ( is_string( $data ) ) {
77
+ $data = strtr( $data, array_combine( $from, $to ) );
78
}
79
}
80
102
$data
103
);
104
}
105
}
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:154px}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.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{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-info{text-align:right}.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:154px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px;box-sizing:content-box}.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;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{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 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.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-info{text-align:right}.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:154px}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.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{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}
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:154px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px;box-sizing:content-box}.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;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{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 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.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:154px}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.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{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>*{pointer-events:none}div.ai1wm-expandable input{display:none}div.ai1wm-expandable.ai1wm-open input{display:inline-block}#ai1wm-import-file>input{position:absolute;-webkit-transform:translate(-51px,-6px);transform:translate(-51px,-6px);width:158px;height:29px;cursor:pointer;opacity:0;z-index:9999;padding:0;margin:0}#ai1wm-import-file>input::-webkit-file-upload-button{cursor:pointer}.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-import-init div.ai1wm-button-import{pointer-events:all}.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:154px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px;box-sizing:content-box}.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;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{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 10px;text-align:left}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;border-radius:3px;height:30px;line-height:30px}.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>*{pointer-events:none}div.ai1wm-expandable input{display:none}div.ai1wm-expandable.ai1wm-open input{display:inline-block}#ai1wm-import-file>input{position:absolute;-webkit-transform:translate(-51px,-6px);transform:translate(-51px,-6px);width:158px;height:29px;cursor:pointer;opacity:0;z-index:9999;padding:0;margin:0}#ai1wm-import-file>input::-webkit-file-upload-button{cursor:pointer}.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-import-init div.ai1wm-button-import{pointer-events:all}.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/css/updater.min.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.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:154px}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.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{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-icon-update{font-size:13px;padding:0;margin:0;font-weight:400}.ai1wm-icon-update:before{color:#d54e21;content:'\f463';display:inline-block;font:20px/1 'dashicons';speak:none;padding:0;margin:0;vertical-align:top}.ai1wm-modal-dialog{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.7);z-index:99999;opacity:0;transition:opacity 400ms ease-in;pointer-events:none}.ai1wm-modal-dialog:target{opacity:1;pointer-events:auto}.ai1wm-modal-dialog .ai1wm-modal-container{position:fixed;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:6px 16px 10px;-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}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-modal-error{color:red}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-modal-buttons{text-align:left}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-purchase-id{width:100%;padding:6px}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-help-link{font-weight:700}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-purchase-discard{margin-left:1em}
1
+ @charset "UTF-8";.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:154px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:210px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-export .ai1mw-lines{-webkit-transform:translate(20px,-1px);transform:translate(20px,-1px)}.ai1wm-button-group.ai1wm-button-import{width:170px;box-sizing:content-box}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:240px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import .ai1mw-lines{-webkit-transform:translate(8px,-1px);transform:translate(8px,-1px)}.ai1wm-button-group .ai1wm-button-main{padding:6px 25px 1px;height:22px;box-sizing:content-box}.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;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{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-icon-update{font-size:13px;padding:0;margin:0;font-weight:400}.ai1wm-icon-update:before{color:#d54e21;content:'\f463';display:inline-block;font:20px/1 'dashicons';speak:none;padding:0;margin:0;vertical-align:top}.ai1wm-modal-dialog{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.7);z-index:99999;opacity:0;transition:opacity 400ms ease-in;pointer-events:none}.ai1wm-modal-dialog:target{opacity:1;pointer-events:auto}.ai1wm-modal-dialog .ai1wm-modal-container{position:fixed;top:50%;left:50%;z-index:100002;width:480px;height:auto;padding:6px 16px 10px;-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}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-modal-error{color:red}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-modal-buttons{text-align:left}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-purchase-id{width:100%;padding:6px}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-help-link{font-weight:700}.ai1wm-modal-dialog .ai1wm-modal-container .ai1wm-purchase-discard{margin-left:1em}
lib/view/assets/javascript/backups.min.js CHANGED
@@ -826,7 +826,7 @@
826
var action = $('<div></div>');
827
828
// Create title
829
- var title = $('<span></span>').addClass('ai1wm-title-grey').text('Update subsite URL');
830
831
// Create continue button
832
var continueButton = $('<button class="ai1wm-button-green">Continue</button>').on('click', function () {
826
var action = $('<div></div>');
827
828
// Create title
829
+ var title = $('<span></span>').addClass('ai1wm-title-grey').text(params.title);
830
831
// Create continue button
832
var continueButton = $('<button class="ai1wm-button-green">Continue</button>').on('click', function () {
lib/view/assets/javascript/import.min.js CHANGED
@@ -785,7 +785,7 @@
785
var action = $('<div></div>');
786
787
// Create title
788
- var title = $('<span></span>').addClass('ai1wm-title-grey').text('Update subsite URL');
789
790
// Create continue button
791
var continueButton = $('<button class="ai1wm-button-green">Continue</button>').on('click', function () {
@@ -1179,6 +1179,7 @@
1179
var formData = this.getFormData(file, chunkSize);
1180
fetch(ai1wm_uploader.url, {
1181
method: 'POST',
1182
body: formData
1183
}).then(function (response) {
1184
if (_this2.stopUpload) {
785
var action = $('<div></div>');
786
787
// Create title
788
+ var title = $('<span></span>').addClass('ai1wm-title-grey').text(params.title);
789
790
// Create continue button
791
var continueButton = $('<button class="ai1wm-button-green">Continue</button>').on('click', function () {
1179
var formData = this.getFormData(file, chunkSize);
1180
fetch(ai1wm_uploader.url, {
1181
method: 'POST',
1182
+ credentials: 'include',
1183
body: formData
1184
}).then(function (response) {
1185
if (_this2.stopUpload) {
lib/view/backups/index.php CHANGED
@@ -32,9 +32,9 @@
32
33
<?php include AI1WM_TEMPLATES_PATH . '/common/report-problem.php'; ?>
34
35
- <?php if ( is_readable( AI1WM_BACKUPS_PATH ) && is_writable( AI1WM_BACKUPS_PATH ) ): ?>
36
<div class="ai1wm-clear">
37
- <?php if ( $total_space ): ?>
38
<p id="ai1wm-backup-size">
39
<?php _e( 'Available disk space', AI1WM_PLUGIN_NAME ); ?>
40
<strong><?php echo size_format( $free_space, 2 ); ?></strong>
@@ -61,17 +61,17 @@
61
</thead>
62
63
<tbody>
64
- <?php foreach ( $backups as $backup ): ?>
65
<tr>
66
<td class="ai1wm-column-name">
67
<i class="ai1wm-icon-file-zip"></i>
68
<?php echo $backup['filename']; ?>
69
</td>
70
- <?php if ( is_null( $backup['mtime'] ) || is_null( $backup['size'] ) ): ?>
71
<td class="ai1wm-column-info" colspan="3">
72
<?php _e( 'The file is too large for your hosting plan.', AI1WM_PLUGIN_NAME ); ?>
73
</td>
74
- <?php else: ?>
75
<td class="ai1wm-column-date">
76
<?php echo human_time_diff( $backup['mtime'] ); ?> <?php _e( 'ago', AI1WM_PLUGIN_NAME ); ?>
77
</td>
@@ -107,7 +107,7 @@
107
</a>
108
</p>
109
</div>
110
- <?php else: ?>
111
<br />
112
<br />
113
<div class="ai1wm-clear ai1wm-message ai1wm-red-message">
32
33
<?php include AI1WM_TEMPLATES_PATH . '/common/report-problem.php'; ?>
34
35
+ <?php if ( is_readable( AI1WM_BACKUPS_PATH ) && is_writable( AI1WM_BACKUPS_PATH ) ) : ?>
36
<div class="ai1wm-clear">
37
+ <?php if ( $total_space ) : ?>
38
<p id="ai1wm-backup-size">
39
<?php _e( 'Available disk space', AI1WM_PLUGIN_NAME ); ?>
40
<strong><?php echo size_format( $free_space, 2 ); ?></strong>
61
</thead>
62
63
<tbody>
64
+ <?php foreach ( $backups as $backup ) : ?>
65
<tr>
66
<td class="ai1wm-column-name">
67
<i class="ai1wm-icon-file-zip"></i>
68
<?php echo $backup['filename']; ?>
69
</td>
70
+ <?php if ( is_null( $backup['mtime'] ) || is_null( $backup['size'] ) ) : ?>
71
<td class="ai1wm-column-info" colspan="3">
72
<?php _e( 'The file is too large for your hosting plan.', AI1WM_PLUGIN_NAME ); ?>
73
</td>
74
+ <?php else : ?>
75
<td class="ai1wm-column-date">
76
<?php echo human_time_diff( $backup['mtime'] ); ?> <?php _e( 'ago', AI1WM_PLUGIN_NAME ); ?>
77
</td>
107
</a>
108
</p>
109
</div>
110
+ <?php else : ?>
111
<br />
112
<br />
113
<div class="ai1wm-clear ai1wm-message ai1wm-red-message">
lib/view/common/maintenance-mode.php CHANGED
@@ -0,0 +1,2 @@
1
+ <?php
2
+ // @codingStandardsIgnoreFile
lib/view/export/advanced-settings.php CHANGED
@@ -23,7 +23,7 @@
23
<label for="ai1wm-no-themes"><?php _e( 'Do <strong>not</strong> export themes (files)', AI1WM_PLUGIN_NAME ); ?></label>
24
</li>
25
26
- <?php if ( apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) === 0 ): ?>
27
<li>
28
<input type="checkbox" id="ai1wm-no-inactive-themes" name="options[no_inactive_themes]" />
29
<label for="ai1wm-no-inactive-themes"><?php _e( 'Do <strong>not</strong> export inactive themes (files)', AI1WM_PLUGIN_NAME ); ?></label>
@@ -31,12 +31,18 @@
31
</li>
32
<?php endif; ?>
33
34
<li>
35
<input type="checkbox" id="ai1wm-no-plugins" name="options[no_plugins]" />
36
<label for="ai1wm-no-plugins"><?php _e( 'Do <strong>not</strong> export plugins (files)', AI1WM_PLUGIN_NAME ); ?></label>
37
</li>
38
39
- <?php if ( apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) === 0 ): ?>
40
<li>
41
<input type="checkbox" id="ai1wm-no-inactive-plugins" name="options[no_inactive_plugins]" />
42
<label for="ai1wm-no-inactive-plugins"><?php _e( 'Do <strong>not</strong> export inactive plugins (files)', AI1WM_PLUGIN_NAME ); ?></label>
23
<label for="ai1wm-no-themes"><?php _e( 'Do <strong>not</strong> export themes (files)', AI1WM_PLUGIN_NAME ); ?></label>
24
</li>
25
26
+ <?php if ( apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) === 0 ) : ?>
27
<li>
28
<input type="checkbox" id="ai1wm-no-inactive-themes" name="options[no_inactive_themes]" />
29
<label for="ai1wm-no-inactive-themes"><?php _e( 'Do <strong>not</strong> export inactive themes (files)', AI1WM_PLUGIN_NAME ); ?></label>
31
</li>
32
<?php endif; ?>
33
34
+ <li>
35
+ <input type="checkbox" id="ai1wm-no-muplugins" name="options[no_muplugins]" />
36
+ <label for="ai1wm-no-muplugins"><?php _e( 'Do <strong>not</strong> export must-use plugins (files)', AI1WM_PLUGIN_NAME ); ?></label>
37
+ <small style="color:red"><?php _e( 'new', AI1WM_PLUGIN_NAME ); ?></small>
38
+ </li>
39
+
40
<li>
41
<input type="checkbox" id="ai1wm-no-plugins" name="options[no_plugins]" />
42
<label for="ai1wm-no-plugins"><?php _e( 'Do <strong>not</strong> export plugins (files)', AI1WM_PLUGIN_NAME ); ?></label>
43
</li>
44
45
+ <?php if ( apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) === 0 ) : ?>
46
<li>
47
<input type="checkbox" id="ai1wm-no-inactive-plugins" name="options[no_inactive_plugins]" />
48
<label for="ai1wm-no-inactive-plugins"><?php _e( 'Do <strong>not</strong> export inactive plugins (files)', AI1WM_PLUGIN_NAME ); ?></label>
lib/view/export/export-buttons.php CHANGED
@@ -10,7 +10,7 @@
10
</span>
11
</div>
12
<ul class="ai1wm-dropdown-menu ai1wm-export-providers">
13
- <?php foreach ( apply_filters( 'ai1wm_export_buttons', array() ) as $button ): ?>
14
<li>
15
<?php echo $button; ?>
16
</li>
10
</span>
11
</div>
12
<ul class="ai1wm-dropdown-menu ai1wm-export-providers">
13
+ <?php foreach ( apply_filters( 'ai1wm_export_buttons', array() ) as $button ) : ?>
14
<li>
15
<?php echo $button; ?>
16
</li>
lib/view/import/import-buttons.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php if ( is_readable( AI1WM_STORAGE_PATH ) && is_writable( AI1WM_STORAGE_PATH ) ): ?>
2
<div class="ai1wm-import-messages"></div>
3
4
<div class="ai1wm-import-form">
@@ -35,7 +35,7 @@
35
36
<p>
37
<?php _e( 'Maximum upload file size:' ); ?>
38
- <?php if ( ( $max_file_size = apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) ) ): ?>
39
<span class="ai1wm-max-upload-size"><?php echo size_format( $max_file_size ); ?></span>
40
<span class="ai1wm-unlimited-import">
41
<a href="https://servmask.com/products/unlimited-extension" target="_blank" class="ai1wm-label">
@@ -43,11 +43,11 @@
43
<?php _e( 'Get unlimited', AI1WM_PLUGIN_NAME ); ?>
44
</a>
45
</span>
46
- <?php else: ?>
47
<span class="ai1wm-max-upload-size"><?php _e( 'Unlimited', AI1WM_PLUGIN_NAME ); ?></span>
48
<?php endif; ?>
49
</p>
50
- <?php else: ?>
51
<div class="ai1wm-message ai1wm-red-message">
52
<?php
53
printf(
1
+ <?php if ( is_readable( AI1WM_STORAGE_PATH ) && is_writable( AI1WM_STORAGE_PATH ) ) : ?>
2
<div class="ai1wm-import-messages"></div>
3
4
<div class="ai1wm-import-form">
35
36
<p>
37
<?php _e( 'Maximum upload file size:' ); ?>
38
+ <?php if ( ( $max_file_size = apply_filters( 'ai1wm_max_file_size', AI1WM_MAX_FILE_SIZE ) ) ) : ?>
39
<span class="ai1wm-max-upload-size"><?php echo size_format( $max_file_size ); ?></span>
40
<span class="ai1wm-unlimited-import">
41
<a href="https://servmask.com/products/unlimited-extension" target="_blank" class="ai1wm-label">
43
<?php _e( 'Get unlimited', AI1WM_PLUGIN_NAME ); ?>
44
</a>
45
</span>
46
+ <?php else : ?>
47
<span class="ai1wm-max-upload-size"><?php _e( 'Unlimited', AI1WM_PLUGIN_NAME ); ?></span>
48
<?php endif; ?>
49
</p>
50
+ <?php else : ?>
51
<div class="ai1wm-message ai1wm-red-message">
52
<?php
53
printf(
lib/view/main/backups-notice.php CHANGED
@@ -12,4 +12,4 @@
12
)
13
?>
14
</p>
15
- </div>
12
)
13
?>
14
</p>
15
+ </div>
loader.php CHANGED
@@ -250,6 +250,10 @@ require_once AI1WM_IMPORT_PATH .
250
DIRECTORY_SEPARATOR .
251
'class-ai1wm-import-content.php';
252
253
require_once AI1WM_IMPORT_PATH .
254
DIRECTORY_SEPARATOR .
255
'class-ai1wm-import-database.php';
@@ -262,6 +266,10 @@ require_once AI1WM_IMPORT_PATH .
262
DIRECTORY_SEPARATOR .
263
'class-ai1wm-import-clean.php';
264
265
require_once AI1WM_HTTP_PATH .
266
DIRECTORY_SEPARATOR .
267
'class-ai1wm-http-stream.php';
@@ -306,10 +314,6 @@ require_once AI1WM_MODEL_PATH .
306
DIRECTORY_SEPARATOR .
307
'class-ai1wm-template.php';
308
309
- require_once AI1WM_MODEL_PATH .
310
- DIRECTORY_SEPARATOR .
311
- 'class-ai1wm-config.php';
312
-
313
require_once AI1WM_MODEL_PATH .
314
DIRECTORY_SEPARATOR .
315
'class-ai1wm-status.php';
250
DIRECTORY_SEPARATOR .
251
'class-ai1wm-import-content.php';
252
253
+ require_once AI1WM_IMPORT_PATH .
254
+ DIRECTORY_SEPARATOR .
255
+ 'class-ai1wm-import-plugins.php';
256
+
257
require_once AI1WM_IMPORT_PATH .
258
DIRECTORY_SEPARATOR .
259
'class-ai1wm-import-database.php';
266
DIRECTORY_SEPARATOR .
267
'class-ai1wm-import-clean.php';
268
269
+ require_once AI1WM_HTTP_PATH .
270
+ DIRECTORY_SEPARATOR .
271
+ 'class-ai1wm-http-abstract.php';
272
+
273
require_once AI1WM_HTTP_PATH .
274
DIRECTORY_SEPARATOR .
275
'class-ai1wm-http-stream.php';
314
DIRECTORY_SEPARATOR .
315
'class-ai1wm-template.php';
316
317
require_once AI1WM_MODEL_PATH .
318
DIRECTORY_SEPARATOR .
319
'class-ai1wm-status.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.6
6
- Stable tag: 5.52
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.
@@ -78,6 +78,17 @@ All in One WP Plugin is the first plugin to offer true mobile experience on Word
78
3. Plugin Menu
79
80
== Changelog ==
81
= 5.52 =
82
* Simplify the text on import page
83
* Fix an issue with special characters on export and import
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.6
6
+ Stable tag: 5.53
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.
78
3. Plugin Menu
79
80
== Changelog ==
81
+ = 5.53 =
82
+ * Send HTTP basic authorization header on upload (fetch method)
83
+ * Add Accept-Encoding, Accept-Charset and Accept-Language on export/import
84
+ * Do not replace already replaced values on database import/export
85
+ * Set silent mode when activating sidewide plugins
86
+ * Replace old media style URLs with the new media style URLs on database import
87
+ * Replace user_level and capabilities user meta keys if tables have empty prefix on export
88
+ * Create separate action for extracting must-use plugins
89
+ * Add option "Do not export must-use plugins" in advanced settings
90
+ * Fix an issue with SSL that produces "Unable to resolve URL..."
91
+
92
= 5.52 =
93
* Simplify the text on import page
94
* Fix an issue with special characters on export and import