Version Description
- New improved design on the export/import page
- Added an option for gathering user experience statistics
- Added a message box with important notifications about the plugin
- Fixed a bug when exporting database with multiple WordPress sites
- Fixed a bug when exporting database with table constraints
- Fixed a bug with auto recognizing zip archiver
Download this release
Release Info
Developer | bangelov |
Plugin | All-in-One WP Migration |
Version | 1.9.0 |
Comparing to | |
See all releases |
Code changes from version 1.8.1 to 1.9.0
- all-in-one-wp-migration.php +2 -2
- constants.php +2 -2
- lib/controller/class-ai1wm-export-controller.php +7 -2
- lib/controller/class-ai1wm-feedback-controller.php +6 -3
- lib/controller/class-ai1wm-import-controller.php +1 -1
- lib/controller/class-ai1wm-main-controller.php +8 -1
- lib/controller/class-ai1wm-message-controller.php +42 -0
- lib/controller/class-ai1wm-report-controller.php +6 -3
- lib/model/class-ai1wm-error.php +1 -1
- lib/model/class-ai1wm-export.php +8 -4
- lib/model/class-ai1wm-feedback.php +2 -3
- lib/model/class-ai1wm-file.php +1 -1
- lib/model/class-ai1wm-import.php +13 -7
- lib/model/class-ai1wm-message.php +62 -0
- lib/model/class-ai1wm-report.php +2 -3
- lib/model/class-ai1wm-template.php +2 -2
- lib/vendor/mysqldump-factory/mysqldump-factory/lib/MysqlDumpFactory.php +2 -2
- lib/vendor/mysqldump-factory/mysqldump-factory/lib/MysqlDumpInterface.php +43 -4
- lib/vendor/mysqldump-factory/mysqldump-factory/lib/MysqlDumpPDO.php +67 -8
- lib/vendor/mysqldump-factory/mysqldump-factory/lib/MysqlDumpSQL.php +77 -33
- lib/vendor/mysqldump-factory/mysqldump-factory/lib/MysqlFileAdapter.php +2 -2
- lib/vendor/mysqldump-factory/mysqldump-factory/lib/MysqlQueryAdapter.php +2 -2
- lib/view/assets/css/export.min.css +1 -1
- lib/view/assets/css/import.min.css +1 -1
- lib/view/assets/font/servmask.eot +0 -0
- lib/view/assets/font/servmask.svg +33 -32
- lib/view/assets/font/servmask.ttf +0 -0
- lib/view/assets/font/servmask.woff +0 -0
- lib/view/assets/javascript/export.min.js +1 -1
- lib/view/export/index.php +70 -39
- lib/view/import/index.php +2 -2
- loader.php +8 -1
- readme.txt +9 -1
- uninstall.php +2 -1
all-in-one-wp-migration.php
CHANGED
@@ -5,9 +5,9 @@
|
|
5 |
* Description: Migration tool for all your blog data
|
6 |
* Author: ServMask
|
7 |
* Author URI: https://servmask.com/
|
8 |
-
* Version: 1.
|
9 |
*
|
10 |
-
* Copyright (C)
|
11 |
*
|
12 |
* This program is free software: you can redistribute it and/or modify
|
13 |
* it under the terms of the GNU General Public License as published by
|
5 |
* Description: Migration tool for all your blog data
|
6 |
* Author: ServMask
|
7 |
* Author URI: https://servmask.com/
|
8 |
+
* Version: 1.9.0
|
9 |
*
|
10 |
+
* Copyright (C) 2014 ServMask Inc.
|
11 |
*
|
12 |
* This program is free software: you can redistribute it and/or modify
|
13 |
* it under the terms of the GNU General Public License as published by
|
constants.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -26,7 +26,7 @@
|
|
26 |
// ==================
|
27 |
// = Plugin VERSION =
|
28 |
// ==================
|
29 |
-
define( 'AI1WM_VERSION', '1.
|
30 |
|
31 |
// ===============
|
32 |
// = Plugin Name =
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
26 |
// ==================
|
27 |
// = Plugin VERSION =
|
28 |
// ==================
|
29 |
+
define( 'AI1WM_VERSION', '1.9.0' );
|
30 |
|
31 |
// ===============
|
32 |
// = Plugin Name =
|
lib/controller/class-ai1wm-export-controller.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -34,11 +34,16 @@ class Ai1wm_Export_Controller
|
|
34 |
$is_accessible = false;
|
35 |
}
|
36 |
|
|
|
|
|
|
|
|
|
37 |
Ai1wm_Template::render(
|
38 |
'export/index',
|
39 |
array(
|
40 |
'list_plugins' => get_plugins(),
|
41 |
'is_accessible' => $is_accessible,
|
|
|
42 |
)
|
43 |
);
|
44 |
}
|
@@ -62,7 +67,7 @@ class Ai1wm_Export_Controller
|
|
62 |
header(
|
63 |
sprintf(
|
64 |
'Content-Disposition: attachment; filename=%s-%s.%s',
|
65 |
-
|
66 |
time(),
|
67 |
'zip'
|
68 |
)
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
34 |
$is_accessible = false;
|
35 |
}
|
36 |
|
37 |
+
// Message
|
38 |
+
$message = new Ai1wm_Message;
|
39 |
+
$is_closed = $message->is_closed( $message::MESSAGE_INFO );
|
40 |
+
|
41 |
Ai1wm_Template::render(
|
42 |
'export/index',
|
43 |
array(
|
44 |
'list_plugins' => get_plugins(),
|
45 |
'is_accessible' => $is_accessible,
|
46 |
+
'is_closed' => $is_closed,
|
47 |
)
|
48 |
);
|
49 |
}
|
67 |
header(
|
68 |
sprintf(
|
69 |
'Content-Disposition: attachment; filename=%s-%s.%s',
|
70 |
+
$model::EXPORT_ARCHIVE_NAME,
|
71 |
time(),
|
72 |
'zip'
|
73 |
)
|
lib/controller/class-ai1wm-feedback-controller.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -45,7 +45,10 @@ class Ai1wm_Feedback_Controller
|
|
45 |
}
|
46 |
|
47 |
// Send Feedback
|
48 |
-
$model
|
49 |
-
|
|
|
|
|
|
|
50 |
}
|
51 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
45 |
}
|
46 |
|
47 |
// Send Feedback
|
48 |
+
$model = new Ai1wm_Feedback;
|
49 |
+
$result = $model->leave_feedback( $email, $message, $terms );
|
50 |
+
|
51 |
+
echo json_encode( $result );
|
52 |
+
exit;
|
53 |
}
|
54 |
}
|
lib/controller/class-ai1wm-import-controller.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
lib/controller/class-ai1wm-main-controller.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -76,6 +76,7 @@ class Ai1wm_Main_Controller
|
|
76 |
add_action( 'wp_ajax_leave_feedback', 'Ai1wm_Feedback_Controller::leave_feedback' );
|
77 |
add_action( 'wp_ajax_report_problem', 'Ai1wm_Report_Controller::report_problem' );
|
78 |
add_action( 'wp_ajax_upload_file', 'Ai1wm_Import_Controller::upload_file' );
|
|
|
79 |
|
80 |
// Enable or disable maintenance mode
|
81 |
if ( get_option( Ai1wm_Import::MAINTENANCE_MODE ) ) {
|
@@ -255,6 +256,12 @@ class Ai1wm_Main_Controller
|
|
255 |
),
|
256 |
);
|
257 |
wp_localize_script( 'ai1wm-js-export', 'ai1wm_report', $report_init );
|
|
|
|
|
|
|
|
|
|
|
|
|
258 |
}
|
259 |
|
260 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
76 |
add_action( 'wp_ajax_leave_feedback', 'Ai1wm_Feedback_Controller::leave_feedback' );
|
77 |
add_action( 'wp_ajax_report_problem', 'Ai1wm_Report_Controller::report_problem' );
|
78 |
add_action( 'wp_ajax_upload_file', 'Ai1wm_Import_Controller::upload_file' );
|
79 |
+
add_action( 'wp_ajax_close_message', 'Ai1wm_Message_Controller::close_message' );
|
80 |
|
81 |
// Enable or disable maintenance mode
|
82 |
if ( get_option( Ai1wm_Import::MAINTENANCE_MODE ) ) {
|
256 |
),
|
257 |
);
|
258 |
wp_localize_script( 'ai1wm-js-export', 'ai1wm_report', $report_init );
|
259 |
+
$message_init = array(
|
260 |
+
'ajax' => array(
|
261 |
+
'url' => admin_url( 'admin-ajax.php' ) . '?action=close_message',
|
262 |
+
),
|
263 |
+
);
|
264 |
+
wp_localize_script( 'ai1wm-js-export', 'ai1wm_message', $message_init );
|
265 |
}
|
266 |
|
267 |
/**
|
lib/controller/class-ai1wm-message-controller.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (C) 2014 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_Message_Controller
|
27 |
+
{
|
28 |
+
public static function close_message() {
|
29 |
+
// Set Type
|
30 |
+
$type = null;
|
31 |
+
if ( isset( $_POST['type'] ) ) {
|
32 |
+
$type = trim( $_POST['type'] );
|
33 |
+
}
|
34 |
+
|
35 |
+
// Close message
|
36 |
+
$model = new Ai1wm_Message;
|
37 |
+
$result = $model->close_message( $type );
|
38 |
+
|
39 |
+
echo json_encode( $result );
|
40 |
+
exit;
|
41 |
+
}
|
42 |
+
}
|
lib/controller/class-ai1wm-report-controller.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -45,7 +45,10 @@ class Ai1wm_Report_Controller
|
|
45 |
}
|
46 |
|
47 |
// Send Feedback
|
48 |
-
$model
|
49 |
-
|
|
|
|
|
|
|
50 |
}
|
51 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
45 |
}
|
46 |
|
47 |
// Send Feedback
|
48 |
+
$model = new Ai1wm_Report;
|
49 |
+
$result = $model->report_problem( $email, $message, $terms );
|
50 |
+
|
51 |
+
echo json_encode( $result );
|
52 |
+
exit;
|
53 |
}
|
54 |
}
|
lib/model/class-ai1wm-error.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
lib/model/class-ai1wm-export.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -65,7 +65,11 @@ class Ai1wm_Export
|
|
65 |
$output_file = $storage->makeFile();
|
66 |
|
67 |
// Make archive
|
68 |
-
|
|
|
|
|
|
|
|
|
69 |
|
70 |
// Should we export database?
|
71 |
if ( ! isset( $options['export-database'] ) ) {
|
@@ -199,8 +203,8 @@ class Ai1wm_Export
|
|
199 |
->setNewTablePrefix( AI1WM_TABLE_PREFIX )
|
200 |
->setQueryClauses( $clauses );
|
201 |
|
202 |
-
//
|
203 |
-
$db->
|
204 |
|
205 |
// Replace Old/New Values
|
206 |
if ( isset( $options['replace'] ) && ( $replace = $options['replace'] ) ) {
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
65 |
$output_file = $storage->makeFile();
|
66 |
|
67 |
// Make archive
|
68 |
+
try {
|
69 |
+
$archive = ZipFactory::makeZipArchiver( $output_file->getAs( 'resource' ), ! class_exists( 'ZipArchive' ), true );
|
70 |
+
} catch ( Exception $e ) {
|
71 |
+
$archive = ZipFactory::makeZipArchiver( $output_file->getAs( 'resource' ), true, true );
|
72 |
+
}
|
73 |
|
74 |
// Should we export database?
|
75 |
if ( ! isset( $options['export-database'] ) ) {
|
203 |
->setNewTablePrefix( AI1WM_TABLE_PREFIX )
|
204 |
->setQueryClauses( $clauses );
|
205 |
|
206 |
+
// Export database into a file
|
207 |
+
$db->export();
|
208 |
|
209 |
// Replace Old/New Values
|
210 |
if ( isset( $options['replace'] ) && ( $replace = $options['replace'] ) ) {
|
lib/model/class-ai1wm-feedback.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -64,7 +64,6 @@ class Ai1wm_Feedback
|
|
64 |
}
|
65 |
}
|
66 |
|
67 |
-
|
68 |
-
exit;
|
69 |
}
|
70 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
64 |
}
|
65 |
}
|
66 |
|
67 |
+
return array( 'errors' => $errors );
|
|
|
68 |
}
|
69 |
}
|
lib/model/class-ai1wm-file.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
lib/model/class-ai1wm-import.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -27,7 +27,7 @@ class Ai1wm_Import
|
|
27 |
{
|
28 |
const MAX_FILE_SIZE = '512MB';
|
29 |
const MAX_CHUNK_SIZE = '500KB';
|
30 |
-
const MAX_CHUNK_RETRIES =
|
31 |
const MAINTENANCE_MODE = 'ai1wm_maintenance_mode';
|
32 |
|
33 |
/**
|
@@ -99,11 +99,17 @@ class Ai1wm_Import
|
|
99 |
// Create temporary directory
|
100 |
$extract_to = $storage->makeDirectory()->getAs( 'string' );
|
101 |
|
|
|
102 |
try {
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
107 |
} catch ( Exception $e ) {
|
108 |
$errors[] = _(
|
109 |
'Archive file is broken or is not compatible with
|
@@ -139,7 +145,7 @@ class Ai1wm_Import
|
|
139 |
)
|
140 |
);
|
141 |
$db->getConnection();
|
142 |
-
} catch (Exception $e) {
|
143 |
// Use "old" mysql adapter
|
144 |
$db = MysqlDumpFactory::makeMysqlDump( DB_HOST, DB_USER, DB_PASSWORD, DB_NAME, false );
|
145 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
27 |
{
|
28 |
const MAX_FILE_SIZE = '512MB';
|
29 |
const MAX_CHUNK_SIZE = '500KB';
|
30 |
+
const MAX_CHUNK_RETRIES = 100;
|
31 |
const MAINTENANCE_MODE = 'ai1wm_maintenance_mode';
|
32 |
|
33 |
/**
|
99 |
// Create temporary directory
|
100 |
$extract_to = $storage->makeDirectory()->getAs( 'string' );
|
101 |
|
102 |
+
// Extract archive to a temporary directory
|
103 |
try {
|
104 |
+
try {
|
105 |
+
$archive = ZipFactory::makeZipArchiver( $upload_file, ! class_exists( 'ZipArchive' ) );
|
106 |
+
$archive->extractTo( $extract_to );
|
107 |
+
$archive->close();
|
108 |
+
} catch ( Exception $e ) {
|
109 |
+
$archive = ZipFactory::makeZipArchiver( $upload_file, true );
|
110 |
+
$archive->extractTo( $extract_to );
|
111 |
+
$archive->close();
|
112 |
+
}
|
113 |
} catch ( Exception $e ) {
|
114 |
$errors[] = _(
|
115 |
'Archive file is broken or is not compatible with
|
145 |
)
|
146 |
);
|
147 |
$db->getConnection();
|
148 |
+
} catch ( Exception $e ) {
|
149 |
// Use "old" mysql adapter
|
150 |
$db = MysqlDumpFactory::makeMysqlDump( DB_HOST, DB_USER, DB_PASSWORD, DB_NAME, false );
|
151 |
}
|
lib/model/class-ai1wm-message.php
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (C) 2014 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_Message
|
27 |
+
{
|
28 |
+
const MESSAGE_INFO = 'info';
|
29 |
+
const MESSAGE_INFO_CLOSE = 'ai1wm_message_info_close';
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Close message dialog by type
|
33 |
+
*
|
34 |
+
* @param string $type Type of message
|
35 |
+
* @return array
|
36 |
+
*/
|
37 |
+
public function close_message( $type ) {
|
38 |
+
$errors = array();
|
39 |
+
|
40 |
+
if ( $type == self::MESSAGE_INFO ) {
|
41 |
+
update_option( self::MESSAGE_INFO_CLOSE, true );
|
42 |
+
} else {
|
43 |
+
$errors[] = 'Unregonized message type.';
|
44 |
+
}
|
45 |
+
|
46 |
+
return array( 'errors' => $errors );
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Is message dialog closed
|
51 |
+
*
|
52 |
+
* @param string $type Type of message
|
53 |
+
* @return boolean
|
54 |
+
*/
|
55 |
+
public function is_closed( $type ) {
|
56 |
+
if ( $type == self::MESSAGE_INFO ) {
|
57 |
+
return get_option( self::MESSAGE_INFO_CLOSE );
|
58 |
+
}
|
59 |
+
|
60 |
+
return false;
|
61 |
+
}
|
62 |
+
}
|
lib/model/class-ai1wm-report.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -64,7 +64,6 @@ class Ai1wm_Report
|
|
64 |
}
|
65 |
}
|
66 |
|
67 |
-
|
68 |
-
exit;
|
69 |
}
|
70 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
64 |
}
|
65 |
}
|
66 |
|
67 |
+
return array( 'errors' => $errors );
|
|
|
68 |
}
|
69 |
}
|
lib/model/class-ai1wm-template.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -41,6 +41,6 @@ class Ai1wm_Template extends Bandar
|
|
41 |
* @return string Asset URL
|
42 |
*/
|
43 |
public static function asset_link( $asset ) {
|
44 |
-
return AI1WM_URL . '/lib/view/assets/' . $asset;
|
45 |
}
|
46 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
41 |
* @return string Asset URL
|
42 |
*/
|
43 |
public static function asset_link( $asset ) {
|
44 |
+
return AI1WM_URL . '/lib/view/assets/' . $asset . '?v=' . AI1WM_VERSION;
|
45 |
}
|
46 |
}
|
lib/vendor/mysqldump-factory/mysqldump-factory/lib/MysqlDumpFactory.php
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
* @author Bobby Angelov <bobby@servmask.com>
|
30 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
31 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
32 |
-
* @version GIT: 1.
|
33 |
* @link https://github.com/yani-/mysqldump-factory/
|
34 |
*/
|
35 |
|
@@ -42,7 +42,7 @@
|
|
42 |
* @author Bobby Angelov <bobby@servmask.com>
|
43 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
44 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
45 |
-
* @version GIT: 1.
|
46 |
* @link https://github.com/yani-/mysqldump-factory/
|
47 |
*/
|
48 |
class MysqlDumpFactory
|
29 |
* @author Bobby Angelov <bobby@servmask.com>
|
30 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
31 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
32 |
+
* @version GIT: 1.3.0
|
33 |
* @link https://github.com/yani-/mysqldump-factory/
|
34 |
*/
|
35 |
|
42 |
* @author Bobby Angelov <bobby@servmask.com>
|
43 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
44 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
45 |
+
* @version GIT: 1.3.0
|
46 |
* @link https://github.com/yani-/mysqldump-factory/
|
47 |
*/
|
48 |
class MysqlDumpFactory
|
lib/vendor/mysqldump-factory/mysqldump-factory/lib/MysqlDumpInterface.php
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
* @author Bobby Angelov <bobby@servmask.com>
|
30 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
31 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
32 |
-
* @version GIT: 1.
|
33 |
* @link https://github.com/yani-/mysqldump-factory/
|
34 |
*/
|
35 |
|
@@ -42,7 +42,7 @@
|
|
42 |
* @author Bobby Angelov <bobby@servmask.com>
|
43 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
44 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
45 |
-
* @version GIT: 1.
|
46 |
* @link https://github.com/yani-/mysqldump-factory/
|
47 |
*/
|
48 |
interface MysqlDumpInterface
|
@@ -61,11 +61,11 @@ interface MysqlDumpInterface
|
|
61 |
public function __construct($hostname = 'localhost', $username = '', $password = '', $database = '');
|
62 |
|
63 |
/**
|
64 |
-
*
|
65 |
*
|
66 |
* @return void
|
67 |
*/
|
68 |
-
public function
|
69 |
|
70 |
/**
|
71 |
* Set output file name
|
@@ -223,4 +223,43 @@ interface MysqlDumpInterface
|
|
223 |
* @return array
|
224 |
*/
|
225 |
public function listTables();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
}
|
29 |
* @author Bobby Angelov <bobby@servmask.com>
|
30 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
31 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
32 |
+
* @version GIT: 1.3.0
|
33 |
* @link https://github.com/yani-/mysqldump-factory/
|
34 |
*/
|
35 |
|
42 |
* @author Bobby Angelov <bobby@servmask.com>
|
43 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
44 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
45 |
+
* @version GIT: 1.3.0
|
46 |
* @link https://github.com/yani-/mysqldump-factory/
|
47 |
*/
|
48 |
interface MysqlDumpInterface
|
61 |
public function __construct($hostname = 'localhost', $username = '', $password = '', $database = '');
|
62 |
|
63 |
/**
|
64 |
+
* Export database into a file
|
65 |
*
|
66 |
* @return void
|
67 |
*/
|
68 |
+
public function export();
|
69 |
|
70 |
/**
|
71 |
* Set output file name
|
223 |
* @return array
|
224 |
*/
|
225 |
public function listTables();
|
226 |
+
|
227 |
+
/**
|
228 |
+
* Replace table name prefix
|
229 |
+
*
|
230 |
+
* @param string $input Table name
|
231 |
+
* @return string
|
232 |
+
*/
|
233 |
+
public function replaceTableNamePrefix($input);
|
234 |
+
|
235 |
+
/**
|
236 |
+
* Replace create table prefix
|
237 |
+
*
|
238 |
+
* @param string $input SQL statement
|
239 |
+
* @return string
|
240 |
+
*/
|
241 |
+
public function replaceCreateTablePrefix($input);
|
242 |
+
|
243 |
+
/**
|
244 |
+
* Replace insert into prefix
|
245 |
+
*
|
246 |
+
* @param string $input SQL statement
|
247 |
+
* @return string
|
248 |
+
*/
|
249 |
+
public function replaceInsertIntoPrefix($input);
|
250 |
+
|
251 |
+
/**
|
252 |
+
* Strip table constraints
|
253 |
+
*
|
254 |
+
* @param string $input SQL statement
|
255 |
+
* @return string
|
256 |
+
*/
|
257 |
+
public function stripTableConstraints($input);
|
258 |
+
|
259 |
+
/**
|
260 |
+
* Get MySQL connection (lazy loading)
|
261 |
+
*
|
262 |
+
* @return resource
|
263 |
+
*/
|
264 |
+
public function getConnection();
|
265 |
}
|
lib/vendor/mysqldump-factory/mysqldump-factory/lib/MysqlDumpPDO.php
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
* @author Bobby Angelov <bobby@servmask.com>
|
30 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
31 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
32 |
-
* @version GIT: 1.
|
33 |
* @link https://github.com/yani-/mysqldump-factory/
|
34 |
*/
|
35 |
|
@@ -46,7 +46,7 @@ require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'MysqlFileAdapter.php';
|
|
46 |
* @author Bobby Angelov <bobby@servmask.com>
|
47 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
48 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
49 |
-
* @version GIT: 1.
|
50 |
* @link https://github.com/yani-/mysqldump-factory/
|
51 |
*/
|
52 |
class MysqlDumpPDO implements MysqlDumpInterface
|
@@ -113,11 +113,11 @@ class MysqlDumpPDO implements MysqlDumpInterface
|
|
113 |
}
|
114 |
|
115 |
/**
|
116 |
-
*
|
117 |
*
|
118 |
* @return void
|
119 |
*/
|
120 |
-
public function
|
121 |
{
|
122 |
// Set File Adapter
|
123 |
$this->fileAdapter = new MysqlFileAdapter();
|
@@ -125,7 +125,7 @@ class MysqlDumpPDO implements MysqlDumpInterface
|
|
125 |
// Set output file
|
126 |
$this->fileAdapter->open($this->getFileName());
|
127 |
|
128 |
-
// Write Headers
|
129 |
$this->fileAdapter->write($this->getHeader());
|
130 |
|
131 |
// Listing all tables from database
|
@@ -365,12 +365,12 @@ class MysqlDumpPDO implements MysqlDumpInterface
|
|
365 |
{
|
366 |
$query = $this->queryAdapter->show_tables($this->database);
|
367 |
$result = $this->getConnection()->query($query);
|
368 |
-
$
|
369 |
foreach ($result as $row) {
|
370 |
// Drop table
|
371 |
-
$
|
372 |
}
|
373 |
-
foreach ($
|
374 |
$this->getConnection()->query($delete);
|
375 |
}
|
376 |
}
|
@@ -427,6 +427,65 @@ class MysqlDumpPDO implements MysqlDumpInterface
|
|
427 |
return $tables;
|
428 |
}
|
429 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
430 |
/**
|
431 |
* Get MySQL connection (lazy loading)
|
432 |
*
|
29 |
* @author Bobby Angelov <bobby@servmask.com>
|
30 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
31 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
32 |
+
* @version GIT: 1.3.0
|
33 |
* @link https://github.com/yani-/mysqldump-factory/
|
34 |
*/
|
35 |
|
46 |
* @author Bobby Angelov <bobby@servmask.com>
|
47 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
48 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
49 |
+
* @version GIT: 1.3.0
|
50 |
* @link https://github.com/yani-/mysqldump-factory/
|
51 |
*/
|
52 |
class MysqlDumpPDO implements MysqlDumpInterface
|
113 |
}
|
114 |
|
115 |
/**
|
116 |
+
* Export database into a file
|
117 |
*
|
118 |
* @return void
|
119 |
*/
|
120 |
+
public function export()
|
121 |
{
|
122 |
// Set File Adapter
|
123 |
$this->fileAdapter = new MysqlFileAdapter();
|
125 |
// Set output file
|
126 |
$this->fileAdapter->open($this->getFileName());
|
127 |
|
128 |
+
// Write Headers Formatting dump file
|
129 |
$this->fileAdapter->write($this->getHeader());
|
130 |
|
131 |
// Listing all tables from database
|
365 |
{
|
366 |
$query = $this->queryAdapter->show_tables($this->database);
|
367 |
$result = $this->getConnection()->query($query);
|
368 |
+
$deleteTables = array();
|
369 |
foreach ($result as $row) {
|
370 |
// Drop table
|
371 |
+
$deleteTables[] = $this->queryAdapter->drop_table($row['table_name']);
|
372 |
}
|
373 |
+
foreach ($deleteTables as $delete) {
|
374 |
$this->getConnection()->query($delete);
|
375 |
}
|
376 |
}
|
427 |
return $tables;
|
428 |
}
|
429 |
|
430 |
+
/**
|
431 |
+
* Replace table name prefix
|
432 |
+
*
|
433 |
+
* @param string $input Table name
|
434 |
+
* @return string
|
435 |
+
*/
|
436 |
+
public function replaceTableNamePrefix($input)
|
437 |
+
{
|
438 |
+
$pattern = '/^(' . $this->getOldTablePrefix() . ')(.+)/i';
|
439 |
+
$replace = $this->getNewTablePrefix() . '\2';
|
440 |
+
|
441 |
+
return preg_replace($pattern, $replace, $input);
|
442 |
+
}
|
443 |
+
|
444 |
+
/**
|
445 |
+
* Replace create table prefix
|
446 |
+
*
|
447 |
+
* @param string $input SQL statement
|
448 |
+
* @return string
|
449 |
+
*/
|
450 |
+
public function replaceCreateTablePrefix($input)
|
451 |
+
{
|
452 |
+
$pattern = '/^CREATE TABLE `(' . $this->getOldTablePrefix() . ')(.+)`/Ui';
|
453 |
+
$replace = 'CREATE TABLE `' . $this->getNewTablePrefix() . '\2`';
|
454 |
+
|
455 |
+
return preg_replace($pattern, $replace, $input);
|
456 |
+
}
|
457 |
+
|
458 |
+
/**
|
459 |
+
* Replace insert into prefix
|
460 |
+
*
|
461 |
+
* @param string $input SQL statement
|
462 |
+
* @return string
|
463 |
+
*/
|
464 |
+
public function replaceInsertIntoPrefix($input)
|
465 |
+
{
|
466 |
+
$pattern = '/^INSERT INTO `(' . $this->getOldTablePrefix() . ')(.+)`/Ui';
|
467 |
+
$replace = 'INSERT INTO `' . $this->getNewTablePrefix() . '\2`';
|
468 |
+
|
469 |
+
return preg_replace($pattern, $replace, $input);
|
470 |
+
}
|
471 |
+
|
472 |
+
/**
|
473 |
+
* Strip table constraints
|
474 |
+
*
|
475 |
+
* @param string $input SQL statement
|
476 |
+
* @return string
|
477 |
+
*/
|
478 |
+
public function stripTableConstraints($input)
|
479 |
+
{
|
480 |
+
$pattern = array(
|
481 |
+
'/\s+CONSTRAINT(.+),/i',
|
482 |
+
'/,\s+CONSTRAINT(.+)/i',
|
483 |
+
);
|
484 |
+
$replace = '';
|
485 |
+
|
486 |
+
return preg_replace($pattern, $replace, $input);
|
487 |
+
}
|
488 |
+
|
489 |
/**
|
490 |
* Get MySQL connection (lazy loading)
|
491 |
*
|
lib/vendor/mysqldump-factory/mysqldump-factory/lib/MysqlDumpSQL.php
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
* @author Bobby Angelov <bobby@servmask.com>
|
30 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
31 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
32 |
-
* @version GIT: 1.
|
33 |
* @link https://github.com/yani-/mysqldump-factory/
|
34 |
*/
|
35 |
|
@@ -46,7 +46,7 @@ require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'MysqlFileAdapter.php';
|
|
46 |
* @author Bobby Angelov <bobby@servmask.com>
|
47 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
48 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
49 |
-
* @version GIT: 1.
|
50 |
* @link https://github.com/yani-/mysqldump-factory/
|
51 |
*/
|
52 |
class MysqlDumpSQL implements MysqlDumpInterface
|
@@ -105,11 +105,11 @@ class MysqlDumpSQL implements MysqlDumpInterface
|
|
105 |
}
|
106 |
|
107 |
/**
|
108 |
-
*
|
109 |
*
|
110 |
* @return void
|
111 |
*/
|
112 |
-
public function
|
113 |
{
|
114 |
// Set File Adapter
|
115 |
$this->fileAdapter = new MysqlFileAdapter();
|
@@ -117,7 +117,7 @@ class MysqlDumpSQL implements MysqlDumpInterface
|
|
117 |
// Set output file
|
118 |
$this->fileAdapter->open($this->getFileName());
|
119 |
|
120 |
-
// Write Headers
|
121 |
$this->fileAdapter->write($this->getHeader());
|
122 |
|
123 |
// Listing all tables from database
|
@@ -357,12 +357,12 @@ class MysqlDumpSQL implements MysqlDumpInterface
|
|
357 |
{
|
358 |
$query = $this->queryAdapter->show_tables($this->database);
|
359 |
$result = mysql_unbuffered_query($query, $this->getConnection());
|
360 |
-
$
|
361 |
while ($row = mysql_fetch_assoc($result)) {
|
362 |
// Drop table
|
363 |
-
$
|
364 |
}
|
365 |
-
foreach ($
|
366 |
mysql_unbuffered_query($delete, $this->getConnection());
|
367 |
}
|
368 |
}
|
@@ -381,8 +381,11 @@ class MysqlDumpSQL implements MysqlDumpInterface
|
|
381 |
|
382 |
// Read database file line by line
|
383 |
while (($line = fgets($fileHandler)) !== false) {
|
384 |
-
// Replace table prefix
|
385 |
-
$line = $this->
|
|
|
|
|
|
|
386 |
|
387 |
$query .= $line;
|
388 |
if (preg_match('/;\s*$/', $line)) {
|
@@ -416,12 +419,72 @@ class MysqlDumpSQL implements MysqlDumpInterface
|
|
416 |
return $tables;
|
417 |
}
|
418 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
419 |
/**
|
420 |
* Get MySQL connection (lazy loading)
|
421 |
*
|
422 |
* @return resource
|
423 |
*/
|
424 |
-
|
425 |
{
|
426 |
if ($this->connection === null) {
|
427 |
// Make connection (Socket)
|
@@ -501,7 +564,7 @@ class MysqlDumpSQL implements MysqlDumpInterface
|
|
501 |
while ($row = mysql_fetch_assoc($result)) {
|
502 |
if (isset($row['Create Table'])) {
|
503 |
// Replace table prefix
|
504 |
-
$tableName = $this->
|
505 |
|
506 |
$this->fileAdapter->write("-- " .
|
507 |
"--------------------------------------------------------" .
|
@@ -514,7 +577,7 @@ class MysqlDumpSQL implements MysqlDumpInterface
|
|
514 |
}
|
515 |
|
516 |
// Replace table prefix
|
517 |
-
$createTable = $this->
|
518 |
|
519 |
$this->fileAdapter->write($createTable . ";\n\n");
|
520 |
|
@@ -547,7 +610,7 @@ class MysqlDumpSQL implements MysqlDumpInterface
|
|
547 |
}
|
548 |
|
549 |
// Replace table prefix
|
550 |
-
$tableName = $this->
|
551 |
|
552 |
$this->fileAdapter->write(
|
553 |
"--\n" .
|
@@ -560,9 +623,6 @@ class MysqlDumpSQL implements MysqlDumpInterface
|
|
560 |
while ($row = mysql_fetch_row($result)) {
|
561 |
$items = array();
|
562 |
foreach ($row as $value) {
|
563 |
-
if ($value) {
|
564 |
-
$value = $this->replaceTablePrefix($value);
|
565 |
-
}
|
566 |
$items[] = is_null($value) ? 'NULL' : "'" . mysql_real_escape_string($value) . "'";
|
567 |
}
|
568 |
|
@@ -583,20 +643,4 @@ class MysqlDumpSQL implements MysqlDumpInterface
|
|
583 |
$this->fileAdapter->write(";\n");
|
584 |
}
|
585 |
}
|
586 |
-
|
587 |
-
/**
|
588 |
-
* Replace table prefix (old to new one)
|
589 |
-
*
|
590 |
-
* @param string $tableName Name of table
|
591 |
-
* @param bool $start Match start of string, or start of line
|
592 |
-
* @return string
|
593 |
-
*/
|
594 |
-
protected function replaceTablePrefix($tableName, $start = true) {
|
595 |
-
$pattern = preg_quote($this->getOldTablePrefix(), '/');
|
596 |
-
if ($start) {
|
597 |
-
return preg_replace('/^' . $pattern . '/i', $this->getNewTablePrefix(), $tableName);
|
598 |
-
} else {
|
599 |
-
return preg_replace('/' . $pattern . '/i', $this->getNewTablePrefix(), $tableName);
|
600 |
-
}
|
601 |
-
}
|
602 |
}
|
29 |
* @author Bobby Angelov <bobby@servmask.com>
|
30 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
31 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
32 |
+
* @version GIT: 1.3.0
|
33 |
* @link https://github.com/yani-/mysqldump-factory/
|
34 |
*/
|
35 |
|
46 |
* @author Bobby Angelov <bobby@servmask.com>
|
47 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
48 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
49 |
+
* @version GIT: 1.3.0
|
50 |
* @link https://github.com/yani-/mysqldump-factory/
|
51 |
*/
|
52 |
class MysqlDumpSQL implements MysqlDumpInterface
|
105 |
}
|
106 |
|
107 |
/**
|
108 |
+
* Export database into a file
|
109 |
*
|
110 |
* @return void
|
111 |
*/
|
112 |
+
public function export()
|
113 |
{
|
114 |
// Set File Adapter
|
115 |
$this->fileAdapter = new MysqlFileAdapter();
|
117 |
// Set output file
|
118 |
$this->fileAdapter->open($this->getFileName());
|
119 |
|
120 |
+
// Write Headers Formatting dump file
|
121 |
$this->fileAdapter->write($this->getHeader());
|
122 |
|
123 |
// Listing all tables from database
|
357 |
{
|
358 |
$query = $this->queryAdapter->show_tables($this->database);
|
359 |
$result = mysql_unbuffered_query($query, $this->getConnection());
|
360 |
+
$deleteTables = array();
|
361 |
while ($row = mysql_fetch_assoc($result)) {
|
362 |
// Drop table
|
363 |
+
$deleteTables[] = $this->queryAdapter->drop_table($row['table_name']);
|
364 |
}
|
365 |
+
foreach ($deleteTables as $delete) {
|
366 |
mysql_unbuffered_query($delete, $this->getConnection());
|
367 |
}
|
368 |
}
|
381 |
|
382 |
// Read database file line by line
|
383 |
while (($line = fgets($fileHandler)) !== false) {
|
384 |
+
// Replace create table prefix
|
385 |
+
$line = $this->replaceCreateTablePrefix($line);
|
386 |
+
|
387 |
+
// Replace insert into prefix
|
388 |
+
$line = $this->replaceInsertIntoPrefix($line);
|
389 |
|
390 |
$query .= $line;
|
391 |
if (preg_match('/;\s*$/', $line)) {
|
419 |
return $tables;
|
420 |
}
|
421 |
|
422 |
+
|
423 |
+
/**
|
424 |
+
* Replace table name prefix
|
425 |
+
*
|
426 |
+
* @param string $input Table name
|
427 |
+
* @return string
|
428 |
+
*/
|
429 |
+
public function replaceTableNamePrefix($input)
|
430 |
+
{
|
431 |
+
$pattern = '/^(' . $this->getOldTablePrefix() . ')(.+)/i';
|
432 |
+
$replace = $this->getNewTablePrefix() . '\2';
|
433 |
+
|
434 |
+
return preg_replace($pattern, $replace, $input);
|
435 |
+
}
|
436 |
+
|
437 |
+
/**
|
438 |
+
* Replace create table prefix
|
439 |
+
*
|
440 |
+
* @param string $input SQL statement
|
441 |
+
* @return string
|
442 |
+
*/
|
443 |
+
public function replaceCreateTablePrefix($input)
|
444 |
+
{
|
445 |
+
$pattern = '/^CREATE TABLE `(' . $this->getOldTablePrefix() . ')(.+)`/Ui';
|
446 |
+
$replace = 'CREATE TABLE `' . $this->getNewTablePrefix() . '\2`';
|
447 |
+
|
448 |
+
return preg_replace($pattern, $replace, $input);
|
449 |
+
}
|
450 |
+
|
451 |
+
/**
|
452 |
+
* Replace insert into prefix
|
453 |
+
*
|
454 |
+
* @param string $input SQL statement
|
455 |
+
* @return string
|
456 |
+
*/
|
457 |
+
public function replaceInsertIntoPrefix($input)
|
458 |
+
{
|
459 |
+
$pattern = '/^INSERT INTO `(' . $this->getOldTablePrefix() . ')(.+)`/Ui';
|
460 |
+
$replace = 'INSERT INTO `' . $this->getNewTablePrefix() . '\2`';
|
461 |
+
|
462 |
+
return preg_replace($pattern, $replace, $input);
|
463 |
+
}
|
464 |
+
|
465 |
+
/**
|
466 |
+
* Strip table constraints
|
467 |
+
*
|
468 |
+
* @param string $input SQL statement
|
469 |
+
* @return string
|
470 |
+
*/
|
471 |
+
public function stripTableConstraints($input)
|
472 |
+
{
|
473 |
+
$pattern = array(
|
474 |
+
'/\s+CONSTRAINT(.+),/i',
|
475 |
+
'/,\s+CONSTRAINT(.+)/i',
|
476 |
+
);
|
477 |
+
$replace = '';
|
478 |
+
|
479 |
+
return preg_replace($pattern, $replace, $input);
|
480 |
+
}
|
481 |
+
|
482 |
/**
|
483 |
* Get MySQL connection (lazy loading)
|
484 |
*
|
485 |
* @return resource
|
486 |
*/
|
487 |
+
public function getConnection()
|
488 |
{
|
489 |
if ($this->connection === null) {
|
490 |
// Make connection (Socket)
|
564 |
while ($row = mysql_fetch_assoc($result)) {
|
565 |
if (isset($row['Create Table'])) {
|
566 |
// Replace table prefix
|
567 |
+
$tableName = $this->replaceTableNamePrefix($tableName);
|
568 |
|
569 |
$this->fileAdapter->write("-- " .
|
570 |
"--------------------------------------------------------" .
|
577 |
}
|
578 |
|
579 |
// Replace table prefix
|
580 |
+
$createTable = $this->replaceCreateTablePrefix($row['Create Table'], false);
|
581 |
|
582 |
$this->fileAdapter->write($createTable . ";\n\n");
|
583 |
|
610 |
}
|
611 |
|
612 |
// Replace table prefix
|
613 |
+
$tableName = $this->replaceTableNamePrefix($tableName);
|
614 |
|
615 |
$this->fileAdapter->write(
|
616 |
"--\n" .
|
623 |
while ($row = mysql_fetch_row($result)) {
|
624 |
$items = array();
|
625 |
foreach ($row as $value) {
|
|
|
|
|
|
|
626 |
$items[] = is_null($value) ? 'NULL' : "'" . mysql_real_escape_string($value) . "'";
|
627 |
}
|
628 |
|
643 |
$this->fileAdapter->write(";\n");
|
644 |
}
|
645 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
646 |
}
|
lib/vendor/mysqldump-factory/mysqldump-factory/lib/MysqlFileAdapter.php
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
* @author Bobby Angelov <bobby@servmask.com>
|
30 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
31 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
32 |
-
* @version GIT: 1.
|
33 |
* @link https://github.com/yani-/mysqldump-factory/
|
34 |
*/
|
35 |
|
@@ -42,7 +42,7 @@
|
|
42 |
* @author Bobby Angelov <bobby@servmask.com>
|
43 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
44 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
45 |
-
* @version GIT: 1.
|
46 |
* @link https://github.com/yani-/mysqldump-factory/
|
47 |
*/
|
48 |
class MysqlFileAdapter
|
29 |
* @author Bobby Angelov <bobby@servmask.com>
|
30 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
31 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
32 |
+
* @version GIT: 1.3.0
|
33 |
* @link https://github.com/yani-/mysqldump-factory/
|
34 |
*/
|
35 |
|
42 |
* @author Bobby Angelov <bobby@servmask.com>
|
43 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
44 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
45 |
+
* @version GIT: 1.3.0
|
46 |
* @link https://github.com/yani-/mysqldump-factory/
|
47 |
*/
|
48 |
class MysqlFileAdapter
|
lib/vendor/mysqldump-factory/mysqldump-factory/lib/MysqlQueryAdapter.php
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
* @author Bobby Angelov <bobby@servmask.com>
|
30 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
31 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
32 |
-
* @version GIT: 1.
|
33 |
* @link https://github.com/yani-/mysqldump-factory/
|
34 |
*/
|
35 |
|
@@ -42,7 +42,7 @@
|
|
42 |
* @author Bobby Angelov <bobby@servmask.com>
|
43 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
44 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
45 |
-
* @version GIT: 1.
|
46 |
* @link https://github.com/yani-/mysqldump-factory/
|
47 |
*/
|
48 |
class MysqlQueryAdapter
|
29 |
* @author Bobby Angelov <bobby@servmask.com>
|
30 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
31 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
32 |
+
* @version GIT: 1.3.0
|
33 |
* @link https://github.com/yani-/mysqldump-factory/
|
34 |
*/
|
35 |
|
42 |
* @author Bobby Angelov <bobby@servmask.com>
|
43 |
* @copyright 2014 Yani Iliev, Bobby Angelov
|
44 |
* @license https://raw.github.com/yani-/mysqldump-factory/master/LICENSE The MIT License (MIT)
|
45 |
+
* @version GIT: 1.3.0
|
46 |
* @link https://github.com/yani-/mysqldump-factory/
|
47 |
*/
|
48 |
class MysqlQueryAdapter
|
lib/view/assets/css/export.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.ai1wm-checkbox{position:relative;display:inline-block;min-width:1em;height:1.25em;line-height:1em;outline:none;vertical-align:middle;margin-bottom:5px}.ai1wm-checkbox input{position:absolute;top:0px;left:0px;opacity:0;outline:none}.ai1wm-checkbox .box,.ai1wm-checkbox label{cursor:pointer;padding-left:2em;outline:none}.ai1wm-checkbox .box:before,.ai1wm-checkbox label:before{position:absolute;top:0em;left:0em;line-height:1;width:1em;height:1em;left:0em;content:'';border-radius:4px;background:#FFFFFF;transition:background-color 0.3s ease,box-shadow 0.3s ease;box-shadow:0em 0em 0em 1px rgba(0,0,0,0.2)}.ai1wm-checkbox .box:after,.ai1wm-checkbox label:after{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);opacity:0;content:'';position:absolute;background:transparent;border:0.2em solid #333333;border-top:none;border-right:none;transform:rotate(-45deg)}.ai1wm-checkbox .box:after,.ai1wm-checkbox label:after{top:0.275em;left:0.2em;width:0.45em;height:0.15em}.ai1wm-checkbox label{color:rgba(0,0,0,0.6);transition:color 0.2s ease}.ai1wm-checkbox label:hover{color:rgba(0,0,0,0.8)}.ai1wm-checkbox input:focus+label{color:rgba(0,0,0,0.8)}.ai1wm-checkbox+label{cursor:pointer;opacity:0.85;vertical-align:middle}.ai1wm-checkbox+label:hover{opacity:1}.ai1wm-checkbox{cursor:pointer}.ai1wm-checkbox .box,.ai1wm-checkbox label{padding-left:4em}.ai1wm-checkbox .box:before,.ai1wm-checkbox label:before{cursor:pointer;display:block;position:absolute;content:'';top:-0.25em;left:0em;z-index:1;background-color:#FFFFFF;width:3em;height:1.5em;transform:none;box-shadow:0px 0px 0px 1px rgba(0,0,0,0.1) inset;border-radius:50rem}.ai1wm-checkbox .box:after,.ai1wm-checkbox label:after{opacity:1;background-color:transparent;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;content:'';position:absolute;top:0.15em;left:0.5em;z-index:2;border:none;width:0.75em;height:0.75em;background-color:#D95C5C;border-radius:50rem;transition:background 0.3s ease 0s,left 0.3s ease 0s}.ai1wm-checkbox:active .box:before,.ai1wm-checkbox:active label:before{background-color:#F5F5F5}.ai1wm-checkbox input:checked+.box:after,.ai1wm-checkbox input:checked+label:after{left:1.75em;background-color:#89B84C}.ui.checkbox{font-size:1em}.ui.large.checkbox{font-size:1.25em}.ui.huge.checkbox{font-size:1.5em}.ai1wm-divider{margin:1rem 0rem;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8);line-height:1;height:0em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-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:rgba(0,0,0,0);position:absolute;border:none;height:0em;margin:0em;background-color:transparent;font-size:0.875rem;font-weight:bold;text-align:center;text-transform:uppercase;color:rgba(0,0,0,0.8)}.ai1wm-divider{position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0em;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;top:50%;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@font-face{font-family:'servmask';src:url("../font/servmask.eot");src:url("../font/servmask.eot?#iefix") format("embedded-opentype"),url("../font/servmask.woff") format("woff"),url("../font/servmask.ttf") format("truetype"),url("../font/servmask.svg#servmask") format("svg");font-weight:normal;font-style:normal}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-plus:before{content:"\e600"}.ai1wm-icon-plus2:before{content:"\e601"}.ai1wm-icon-plus3:before{content:"\e602"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-arrow-down2:before{content:"\e606"}.ai1wm-icon-plus:before{content:"\e607"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-file:before{content:"\e60a"}.ai1wm-icon-twitter:before{content:"\e60b"}.ai1wm-icon-facebook:before{content:"\e60c"}.ai1wm-icon-exclamation:before{content:"\e619"}@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 white;color:#333333;background-color:#f9f9f9;padding:22px;text-decoration:none;text-shadow:0 1px 0 white;background-clip:padding-box}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.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:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.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 white;padding:22px;background:#f9f9f9}.ai1wm-holder h1{margin-top:0 !important}.ai1wm-segment>.ai1wm-divider:first-child{margin-top:0 !important}@media (max-width: 854px){.ai1wm-container{margin-left:10px !important}.ai1wm-row{margin-right:0px !important}.ai1wm-right{float:left !important;width:100% !important;margin-top:18px;margin-right:0 !important}.ai1wm-right .ai1wm-sidebar{width:auto !important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;padding:22px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.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:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0px 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 white;border-radius:3px;color:#333333;font-size:11px;font-weight:bold;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 white;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:normal;font-size:0.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:normal}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,0.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;transition:opacity 0.1s ease 0s, color 0.1s ease 0s, background 0.1s ease 0s, box-shadow 0.1s ease 0s}.ai1wm-message.ai1wm-green-message{background-color:#F2F8F0;color:#119000}.ai1wm-message.ai1wm-blue-message{background-color:#E6F4F9;color:#4D8796}.ai1wm-message.ai1wm-red-message{background-color:#F1D7D7;color:#A95252}.ai1wm-message p{margin:4px 0}.ai1wm-button-gray{border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;display:inline-block;font-size:11px;font-weight:bold;background-color:#fafafa;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa),color-stop(100%, #dedede));background-image:-webkit-linear-gradient(#fafafa,#dedede);background-image:linear-gradient(#fafafa,#dedede);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-button-gray:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #fff;cursor:pointer;background-color:#ededed;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed),color-stop(100%, #d6d6d6));background-image:-webkit-linear-gradient(#ededed,#d6d6d6);background-image:linear-gradient(#ededed,#d6d6d6)}.ai1wm-button-gray:active:not(:disabled){border:1px solid #d6d6d6;box-shadow:inset 0 0 8px 4px #cfcfcf,inset 0 0 8px 4px #cfcfcf,0 1px 1px 0 #eee}.ai1wm-button-gray:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-green{border:1px solid #4d8b2c;border-radius:3px;box-shadow:inset 0 1px 0 0 #9cc587;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#6eb649;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #6eb649),color-stop(100%, #539730));background-image:-webkit-linear-gradient(#6eb649,#539730);background-image:linear-gradient(#6eb649,#539730);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #428122;background-clip:padding-box}.ai1wm-button-green:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #7fb563;cursor:pointer;background-color:#649f46;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #649f46),color-stop(100%, #4d8a2d));background-image:-webkit-linear-gradient(#649f46,#4d8a2d);background-image:linear-gradient(#649f46,#4d8a2d)}.ai1wm-button-green:active:not(:disabled){border:1px solid #4d8b2c;box-shadow:inset 0 0 8px 4px #477e2a,inset 0 0 8px 4px #477e2a,0 1px 1px 0 #eee}.ai1wm-button-green:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-blue{border:1px solid #007ba9;border-radius:3px;box-shadow:inset 0 1px 0 0 #45c7f7;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#00aff0;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #00aff0),color-stop(100%, #0086b8));background-image:-webkit-linear-gradient(#00aff0,#0086b8);background-image:linear-gradient(#00aff0,#0086b8);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #006c94;background-clip:padding-box}.ai1wm-button-blue:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #13b9f6;cursor:pointer;background-color:#049ad2;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #049ad2),color-stop(100%, #007ba9));background-image:-webkit-linear-gradient(#049ad2,#007ba9);background-image:linear-gradient(#049ad2,#007ba9)}.ai1wm-button-blue:active:not(:disabled){border:1px solid #007ba9;box-shadow:inset 0 0 8px 4px #007099,inset 0 0 8px 4px #007099,0 1px 1px 0 #eee}.ai1wm-button-blue:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i{margin-left:-0.5em;margin-right:0.2em}.ai1wm-button-gray i.ai1wm-alone,.ai1wm-button-green i.ai1wm-alone,.ai1wm-button-blue i.ai1wm-alone{margin-right:-0.5em !important}.ai1wm-button-gray i.ai1wm-icon-plus,.ai1wm-button-green i.ai1wm-icon-plus,.ai1wm-button-blue i.ai1wm-icon-plus{margin-right:0.4em;font-size:12px}.ai1wm-clear{*zoom:1}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-field-inline input{border-radius:5px}.ai1wm-toggle-checkbox label{color:#333333;display:inline-block;font-size:11px;font-weight:bold;text-decoration:none;text-shadow:0 1px 0 white}.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:absolute;top:22px;right:22px;font-size:0.7rem}.ai1wm-report-problem-button:link,.ai1wm-report-problem-button:visited,.ai1wm-report-problem-button:active{text-decoration:none;outline:0}.ai1wm-report-problem-button:link .ai1wm-icon-exclamation,.ai1wm-report-problem-button:visited .ai1wm-icon-exclamation,.ai1wm-report-problem-button:active .ai1wm-icon-exclamation{position:relative;top:1px;left:-1px;font-size:0.875rem}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:-1px;border:1px solid blue;background-color:#fff;margin:6px 0 0 0;padding:10px 10px 6px 10px;border:1px solid #D6D6D6;border-radius:3px;box-shadow:0 1px 0 0 #FFFFFF inset;display:none}.ai1wm-report-email{width:100%;font-weight:normal;font-size:0.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:0.8rem;padding:6px 10px;resize:none}.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited,.ai1wm-report-cancel:active{float:right;line-height:34px;outline:0;text-decoration:none}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-accordion{margin:10px 0 20px 0}.ai1wm-accordion .ai1wm-title{cursor:pointer;float:left}.ai1wm-accordion .ai1wm-title:after{clear:both}.ai1wm-accordion .ai1wm-title:hover{color:rgba(0,116,162,0.8)}.ai1wm-accordion .ai1wm-content{display:none;margin:22px 0px 0px 22px}.ai1wm-accordion.ai1wm-active .ai1wm-title .ai1wm-icon-arrow-right:before{content:"\e606"}.ai1wm-accordion.ai1wm-active .ai1wm-content{display:block}.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}
|
1 |
+
.ai1wm-checkbox-v2{margin-left:3px}.ai1wm-export-stats{margin-bottom:1em}.ai1wm-divider{margin:1rem 0rem;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8);line-height:1;height:0em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-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:rgba(0,0,0,0);position:absolute;border:none;height:0em;margin:0em;background-color:transparent;font-size:0.875rem;font-weight:bold;text-align:center;text-transform:uppercase;color:rgba(0,0,0,0.8)}.ai1wm-divider{position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0em;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;top:50%;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@font-face{font-family:'servmask';src:url("../font/servmask.eot?v=1.9.0");src:url("../font/servmask.eot?v=1.9.0#iefix") format("embedded-opentype"),url("../font/servmask.woff?v=1.9.0") format("woff"),url("../font/servmask.ttf?v=1.9.0") format("truetype"),url("../font/servmask.svg?v=1.9.0#servmask") format("svg");font-weight:normal;font-style:normal}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-spinner:before{content:"\f110"}.ai1wm-icon-plus:before{content:"\e600"}.ai1wm-icon-plus2:before{content:"\e601"}.ai1wm-icon-plus3:before{content:"\e602"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-arrow-down2:before{content:"\e606"}.ai1wm-icon-plus:before{content:"\e607"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-file:before{content:"\e60a"}.ai1wm-icon-twitter:before{content:"\e60b"}.ai1wm-icon-facebook:before{content:"\e60c"}.ai1wm-icon-exclamation:before{content:"\e619"}.ai1wm-icon-close:before{content:"\e61a"}@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 white;color:#333333;background-color:#f9f9f9;padding:22px;text-decoration:none;text-shadow:0 1px 0 white;background-clip:padding-box}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.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:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.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 white;padding:22px;background:#f9f9f9}.ai1wm-holder h1{margin-top:0 !important}.ai1wm-segment>.ai1wm-divider:first-child{margin-top:0 !important}@media (max-width: 854px){.ai1wm-container{margin-left:10px !important}.ai1wm-row{margin-right:0px !important}.ai1wm-right{float:left !important;width:100% !important;margin-top:18px;margin-right:0 !important}.ai1wm-right .ai1wm-sidebar{width:auto !important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;padding:22px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.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:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0px 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 white;border-radius:3px;color:#333333;font-size:11px;font-weight:bold;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 white;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:normal;font-size:0.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:normal}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,0.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity 0.1s ease 0s, color 0.1s ease 0s, background 0.1s ease 0s, box-shadow 0.1s ease 0s}.ai1wm-message.ai1wm-green-message{background-color:#F2F8F0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-blue-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-red-message{background-color:#F1D7D7;color:#A95252;font-size:12px}.ai1wm-message .ai1wm-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-button-gray{border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;display:inline-block;font-size:11px;font-weight:bold;background-color:#fafafa;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa),color-stop(100%, #dedede));background-image:-webkit-linear-gradient(#fafafa,#dedede);background-image:linear-gradient(#fafafa,#dedede);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-button-gray:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #fff;cursor:pointer;background-color:#ededed;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed),color-stop(100%, #d6d6d6));background-image:-webkit-linear-gradient(#ededed,#d6d6d6);background-image:linear-gradient(#ededed,#d6d6d6)}.ai1wm-button-gray:active:not(:disabled){border:1px solid #d6d6d6;box-shadow:inset 0 0 8px 4px #cfcfcf,inset 0 0 8px 4px #cfcfcf,0 1px 1px 0 #eee}.ai1wm-button-gray:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-green{border:1px solid #4d8b2c;border-radius:3px;box-shadow:inset 0 1px 0 0 #9cc587;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#6eb649;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #6eb649),color-stop(100%, #539730));background-image:-webkit-linear-gradient(#6eb649,#539730);background-image:linear-gradient(#6eb649,#539730);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #428122;background-clip:padding-box}.ai1wm-button-green:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #7fb563;cursor:pointer;background-color:#649f46;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #649f46),color-stop(100%, #4d8a2d));background-image:-webkit-linear-gradient(#649f46,#4d8a2d);background-image:linear-gradient(#649f46,#4d8a2d)}.ai1wm-button-green:active:not(:disabled){border:1px solid #4d8b2c;box-shadow:inset 0 0 8px 4px #477e2a,inset 0 0 8px 4px #477e2a,0 1px 1px 0 #eee}.ai1wm-button-green:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-blue{border:1px solid #007ba9;border-radius:3px;box-shadow:inset 0 1px 0 0 #45c7f7;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#00aff0;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #00aff0),color-stop(100%, #0086b8));background-image:-webkit-linear-gradient(#00aff0,#0086b8);background-image:linear-gradient(#00aff0,#0086b8);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #006c94;background-clip:padding-box}.ai1wm-button-blue:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #13b9f6;cursor:pointer;background-color:#049ad2;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #049ad2),color-stop(100%, #007ba9));background-image:-webkit-linear-gradient(#049ad2,#007ba9);background-image:linear-gradient(#049ad2,#007ba9)}.ai1wm-button-blue:active:not(:disabled){border:1px solid #007ba9;box-shadow:inset 0 0 8px 4px #007099,inset 0 0 8px 4px #007099,0 1px 1px 0 #eee}.ai1wm-button-blue:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i{margin-left:-0.5em;margin-right:0.2em}.ai1wm-button-gray i.ai1wm-alone,.ai1wm-button-green i.ai1wm-alone,.ai1wm-button-blue i.ai1wm-alone{margin-right:-0.5em !important}.ai1wm-button-gray i.ai1wm-icon-plus,.ai1wm-button-green i.ai1wm-icon-plus,.ai1wm-button-blue i.ai1wm-icon-plus{margin-right:0.4em;font-size:12px}.ai1wm-clear{*zoom:1}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-toggle-checkbox label{color:#333333;display:inline-block;font-size:11px;font-weight:bold;text-decoration:none;text-shadow:0 1px 0 white}.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:absolute;top:22px;right:22px;font-size:0.7rem}.ai1wm-report-problem-button:link,.ai1wm-report-problem-button:visited,.ai1wm-report-problem-button:active{color:#D95C5C;text-decoration:none;outline:0}.ai1wm-report-problem-button:link .ai1wm-icon-exclamation,.ai1wm-report-problem-button:visited .ai1wm-icon-exclamation,.ai1wm-report-problem-button:active .ai1wm-icon-exclamation{position:relative;top:1px;left:-1px;font-size:0.875rem}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:-1px;border:1px solid blue;background-color:#fff;margin:6px 0 0 0;padding:10px 10px 6px 10px;border:1px solid #D6D6D6;border-radius:3px;box-shadow:0 1px 0 0 #FFFFFF inset;display:none}.ai1wm-report-email{width:100%;font-weight:normal;font-size:0.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:0.8rem;padding:6px 10px;resize:none}.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited,.ai1wm-report-cancel:active{float:right;line-height:34px;outline:0;text-decoration:none}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-accordion{margin:1em 0}.ai1wm-accordion .ai1wm-title{cursor:pointer;float:left;color:rgba(0,116,162,0.8)}.ai1wm-accordion .ai1wm-title:after{clear:both}.ai1wm-accordion .ai1wm-title:hover{color:rgba(0,116,162,0.8)}.ai1wm-accordion .ai1wm-title h4{margin:0}.ai1wm-accordion .ai1wm-title h4 small{color:#444;font-weight:normal}.ai1wm-accordion .ai1wm-content{display:none;margin:1em 0 0 1em}.ai1wm-accordion.ai1wm-active .ai1wm-title .ai1wm-icon-arrow-right:before{content:"\e606"}.ai1wm-accordion.ai1wm-active .ai1wm-content{display:block}.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}
|
lib/view/assets/css/import.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.ai1wm-divider{margin:1rem 0rem;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8);line-height:1;height:0em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-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:rgba(0,0,0,0);position:absolute;border:none;height:0em;margin:0em;background-color:transparent;font-size:0.875rem;font-weight:bold;text-align:center;text-transform:uppercase;color:rgba(0,0,0,0.8)}.ai1wm-divider{position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0em;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;top:50%;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@font-face{font-family:'servmask';src:url("../font/servmask.eot");src:url("../font/servmask.eot?#iefix") format("embedded-opentype"),url("../font/servmask.woff") format("woff"),url("../font/servmask.ttf") format("truetype"),url("../font/servmask.svg#servmask") format("svg");font-weight:normal;font-style:normal}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-plus:before{content:"\e600"}.ai1wm-icon-plus2:before{content:"\e601"}.ai1wm-icon-plus3:before{content:"\e602"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-arrow-down2:before{content:"\e606"}.ai1wm-icon-plus:before{content:"\e607"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-file:before{content:"\e60a"}.ai1wm-icon-twitter:before{content:"\e60b"}.ai1wm-icon-facebook:before{content:"\e60c"}.ai1wm-icon-exclamation:before{content:"\e619"}@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 white;color:#333333;background-color:#f9f9f9;padding:22px;text-decoration:none;text-shadow:0 1px 0 white;background-clip:padding-box}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.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:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.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 white;padding:22px;background:#f9f9f9}.ai1wm-holder h1{margin-top:0 !important}.ai1wm-segment>.ai1wm-divider:first-child{margin-top:0 !important}@media (max-width: 854px){.ai1wm-container{margin-left:10px !important}.ai1wm-row{margin-right:0px !important}.ai1wm-right{float:left !important;width:100% !important;margin-top:18px;margin-right:0 !important}.ai1wm-right .ai1wm-sidebar{width:auto !important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;padding:22px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.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:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0px 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 white;border-radius:3px;color:#333333;font-size:11px;font-weight:bold;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 white;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:normal;font-size:0.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:normal}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,0.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;transition:opacity 0.1s ease 0s, color 0.1s ease 0s, background 0.1s ease 0s, box-shadow 0.1s ease 0s}.ai1wm-message.ai1wm-green-message{background-color:#F2F8F0;color:#119000}.ai1wm-message.ai1wm-blue-message{background-color:#E6F4F9;color:#4D8796}.ai1wm-message.ai1wm-red-message{background-color:#F1D7D7;color:#A95252}.ai1wm-message p{margin:4px 0}.ai1wm-button-gray{border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;display:inline-block;font-size:11px;font-weight:bold;background-color:#fafafa;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa),color-stop(100%, #dedede));background-image:-webkit-linear-gradient(#fafafa,#dedede);background-image:linear-gradient(#fafafa,#dedede);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-button-gray:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #fff;cursor:pointer;background-color:#ededed;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed),color-stop(100%, #d6d6d6));background-image:-webkit-linear-gradient(#ededed,#d6d6d6);background-image:linear-gradient(#ededed,#d6d6d6)}.ai1wm-button-gray:active:not(:disabled){border:1px solid #d6d6d6;box-shadow:inset 0 0 8px 4px #cfcfcf,inset 0 0 8px 4px #cfcfcf,0 1px 1px 0 #eee}.ai1wm-button-gray:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-green{border:1px solid #4d8b2c;border-radius:3px;box-shadow:inset 0 1px 0 0 #9cc587;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#6eb649;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #6eb649),color-stop(100%, #539730));background-image:-webkit-linear-gradient(#6eb649,#539730);background-image:linear-gradient(#6eb649,#539730);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #428122;background-clip:padding-box}.ai1wm-button-green:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #7fb563;cursor:pointer;background-color:#649f46;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #649f46),color-stop(100%, #4d8a2d));background-image:-webkit-linear-gradient(#649f46,#4d8a2d);background-image:linear-gradient(#649f46,#4d8a2d)}.ai1wm-button-green:active:not(:disabled){border:1px solid #4d8b2c;box-shadow:inset 0 0 8px 4px #477e2a,inset 0 0 8px 4px #477e2a,0 1px 1px 0 #eee}.ai1wm-button-green:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-blue{border:1px solid #007ba9;border-radius:3px;box-shadow:inset 0 1px 0 0 #45c7f7;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#00aff0;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #00aff0),color-stop(100%, #0086b8));background-image:-webkit-linear-gradient(#00aff0,#0086b8);background-image:linear-gradient(#00aff0,#0086b8);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #006c94;background-clip:padding-box}.ai1wm-button-blue:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #13b9f6;cursor:pointer;background-color:#049ad2;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #049ad2),color-stop(100%, #007ba9));background-image:-webkit-linear-gradient(#049ad2,#007ba9);background-image:linear-gradient(#049ad2,#007ba9)}.ai1wm-button-blue:active:not(:disabled){border:1px solid #007ba9;box-shadow:inset 0 0 8px 4px #007099,inset 0 0 8px 4px #007099,0 1px 1px 0 #eee}.ai1wm-button-blue:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i{margin-left:-0.5em;margin-right:0.2em}.ai1wm-button-gray i.ai1wm-alone,.ai1wm-button-green i.ai1wm-alone,.ai1wm-button-blue i.ai1wm-alone{margin-right:-0.5em !important}.ai1wm-button-gray i.ai1wm-icon-plus,.ai1wm-button-green i.ai1wm-icon-plus,.ai1wm-button-blue i.ai1wm-icon-plus{margin-right:0.4em;font-size:12px}.ai1wm-clear{*zoom:1}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-field-inline input{border-radius:5px}.ai1wm-toggle-checkbox label{color:#333333;display:inline-block;font-size:11px;font-weight:bold;text-decoration:none;text-shadow:0 1px 0 white}.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:absolute;top:22px;right:22px;font-size:0.7rem}.ai1wm-report-problem-button:link,.ai1wm-report-problem-button:visited,.ai1wm-report-problem-button:active{text-decoration:none;outline:0}.ai1wm-report-problem-button:link .ai1wm-icon-exclamation,.ai1wm-report-problem-button:visited .ai1wm-icon-exclamation,.ai1wm-report-problem-button:active .ai1wm-icon-exclamation{position:relative;top:1px;left:-1px;font-size:0.875rem}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:-1px;border:1px solid blue;background-color:#fff;margin:6px 0 0 0;padding:10px 10px 6px 10px;border:1px solid #D6D6D6;border-radius:3px;box-shadow:0 1px 0 0 #FFFFFF inset;display:none}.ai1wm-report-email{width:100%;font-weight:normal;font-size:0.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:0.8rem;padding:6px 10px;resize:none}.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited,.ai1wm-report-cancel:active{float:right;line-height:34px;outline:0;text-decoration:none}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-drag-drop-area{border:4px dashed #DDDDDD;height:200px;margin:20px 0 16px 0;background:#fff}.ai1wm-drag-drop-area.dragover{background:rgba(255,255,255,0.4);border-color:green}.ai1wm-drag-drop-area .ai1wm-drag-drop-inside{margin:70px auto 0;width:250px}.ai1wm-drag-drop-inside p{display:block;text-align:center;color:#AAAAAA;font-size:14px;margin:5px 0}.ai1wm-drag-drop-inside p.ai1wm-drag-drop-info{font-size:20px}.ai1wm-drag-drop-inside p.ai1wm-upload-progress{margin:-35px 0 15px 0;display:none;color:#000;font-size:20px}.ai1wm-drag-over #ai1wm-drag-drop-area{border-color:#83b4d8}.ai1wm-upload-file-message{display:none}
|
1 |
+
.ai1wm-divider{margin:1rem 0rem;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8);line-height:1;height:0em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-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:rgba(0,0,0,0);position:absolute;border:none;height:0em;margin:0em;background-color:transparent;font-size:0.875rem;font-weight:bold;text-align:center;text-transform:uppercase;color:rgba(0,0,0,0.8)}.ai1wm-divider{position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0em;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;top:50%;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@font-face{font-family:'servmask';src:url("../font/servmask.eot?v=1.9.0");src:url("../font/servmask.eot?v=1.9.0#iefix") format("embedded-opentype"),url("../font/servmask.woff?v=1.9.0") format("woff"),url("../font/servmask.ttf?v=1.9.0") format("truetype"),url("../font/servmask.svg?v=1.9.0#servmask") format("svg");font-weight:normal;font-style:normal}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-spinner:before{content:"\f110"}.ai1wm-icon-plus:before{content:"\e600"}.ai1wm-icon-plus2:before{content:"\e601"}.ai1wm-icon-plus3:before{content:"\e602"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-arrow-down2:before{content:"\e606"}.ai1wm-icon-plus:before{content:"\e607"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-file:before{content:"\e60a"}.ai1wm-icon-twitter:before{content:"\e60b"}.ai1wm-icon-facebook:before{content:"\e60c"}.ai1wm-icon-exclamation:before{content:"\e619"}.ai1wm-icon-close:before{content:"\e61a"}@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 white;color:#333333;background-color:#f9f9f9;padding:22px;text-decoration:none;text-shadow:0 1px 0 white;background-clip:padding-box}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.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:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.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 white;padding:22px;background:#f9f9f9}.ai1wm-holder h1{margin-top:0 !important}.ai1wm-segment>.ai1wm-divider:first-child{margin-top:0 !important}@media (max-width: 854px){.ai1wm-container{margin-left:10px !important}.ai1wm-row{margin-right:0px !important}.ai1wm-right{float:left !important;width:100% !important;margin-top:18px;margin-right:0 !important}.ai1wm-right .ai1wm-sidebar{width:auto !important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;padding:22px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.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:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0px 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 white;border-radius:3px;color:#333333;font-size:11px;font-weight:bold;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 white;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:normal;font-size:0.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:normal}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,0.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity 0.1s ease 0s, color 0.1s ease 0s, background 0.1s ease 0s, box-shadow 0.1s ease 0s}.ai1wm-message.ai1wm-green-message{background-color:#F2F8F0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-blue-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-red-message{background-color:#F1D7D7;color:#A95252;font-size:12px}.ai1wm-message .ai1wm-close-button{position:absolute;right:10px;top:6px;text-decoration:none;font-size:10px}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-button-gray{border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;display:inline-block;font-size:11px;font-weight:bold;background-color:#fafafa;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa),color-stop(100%, #dedede));background-image:-webkit-linear-gradient(#fafafa,#dedede);background-image:linear-gradient(#fafafa,#dedede);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-button-gray:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #fff;cursor:pointer;background-color:#ededed;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed),color-stop(100%, #d6d6d6));background-image:-webkit-linear-gradient(#ededed,#d6d6d6);background-image:linear-gradient(#ededed,#d6d6d6)}.ai1wm-button-gray:active:not(:disabled){border:1px solid #d6d6d6;box-shadow:inset 0 0 8px 4px #cfcfcf,inset 0 0 8px 4px #cfcfcf,0 1px 1px 0 #eee}.ai1wm-button-gray:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-green{border:1px solid #4d8b2c;border-radius:3px;box-shadow:inset 0 1px 0 0 #9cc587;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#6eb649;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #6eb649),color-stop(100%, #539730));background-image:-webkit-linear-gradient(#6eb649,#539730);background-image:linear-gradient(#6eb649,#539730);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #428122;background-clip:padding-box}.ai1wm-button-green:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #7fb563;cursor:pointer;background-color:#649f46;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #649f46),color-stop(100%, #4d8a2d));background-image:-webkit-linear-gradient(#649f46,#4d8a2d);background-image:linear-gradient(#649f46,#4d8a2d)}.ai1wm-button-green:active:not(:disabled){border:1px solid #4d8b2c;box-shadow:inset 0 0 8px 4px #477e2a,inset 0 0 8px 4px #477e2a,0 1px 1px 0 #eee}.ai1wm-button-green:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-blue{border:1px solid #007ba9;border-radius:3px;box-shadow:inset 0 1px 0 0 #45c7f7;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#00aff0;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #00aff0),color-stop(100%, #0086b8));background-image:-webkit-linear-gradient(#00aff0,#0086b8);background-image:linear-gradient(#00aff0,#0086b8);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #006c94;background-clip:padding-box}.ai1wm-button-blue:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #13b9f6;cursor:pointer;background-color:#049ad2;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #049ad2),color-stop(100%, #007ba9));background-image:-webkit-linear-gradient(#049ad2,#007ba9);background-image:linear-gradient(#049ad2,#007ba9)}.ai1wm-button-blue:active:not(:disabled){border:1px solid #007ba9;box-shadow:inset 0 0 8px 4px #007099,inset 0 0 8px 4px #007099,0 1px 1px 0 #eee}.ai1wm-button-blue:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i{margin-left:-0.5em;margin-right:0.2em}.ai1wm-button-gray i.ai1wm-alone,.ai1wm-button-green i.ai1wm-alone,.ai1wm-button-blue i.ai1wm-alone{margin-right:-0.5em !important}.ai1wm-button-gray i.ai1wm-icon-plus,.ai1wm-button-green i.ai1wm-icon-plus,.ai1wm-button-blue i.ai1wm-icon-plus{margin-right:0.4em;font-size:12px}.ai1wm-clear{*zoom:1}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-field-inline input{border-radius:5px}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-toggle-checkbox label{color:#333333;display:inline-block;font-size:11px;font-weight:bold;text-decoration:none;text-shadow:0 1px 0 white}.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:absolute;top:22px;right:22px;font-size:0.7rem}.ai1wm-report-problem-button:link,.ai1wm-report-problem-button:visited,.ai1wm-report-problem-button:active{color:#D95C5C;text-decoration:none;outline:0}.ai1wm-report-problem-button:link .ai1wm-icon-exclamation,.ai1wm-report-problem-button:visited .ai1wm-icon-exclamation,.ai1wm-report-problem-button:active .ai1wm-icon-exclamation{position:relative;top:1px;left:-1px;font-size:0.875rem}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:-1px;border:1px solid blue;background-color:#fff;margin:6px 0 0 0;padding:10px 10px 6px 10px;border:1px solid #D6D6D6;border-radius:3px;box-shadow:0 1px 0 0 #FFFFFF inset;display:none}.ai1wm-report-email{width:100%;font-weight:normal;font-size:0.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:0.8rem;padding:6px 10px;resize:none}.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited,.ai1wm-report-cancel:active{float:right;line-height:34px;outline:0;text-decoration:none}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-drag-drop-area{border:4px dashed #DDDDDD;height:200px;margin:20px 0 16px 0;background:#fff}.ai1wm-drag-drop-area.dragover{background:rgba(255,255,255,0.4);border-color:green}.ai1wm-drag-drop-area .ai1wm-drag-drop-inside{margin:70px auto 0;width:250px}.ai1wm-drag-drop-inside p{display:block;text-align:center;color:#AAAAAA;font-size:14px;margin:5px 0}.ai1wm-drag-drop-inside p.ai1wm-drag-drop-info{font-size:20px}.ai1wm-drag-drop-inside p.ai1wm-upload-progress{margin:-35px 0 15px 0;display:none;color:#000;font-size:20px}.ai1wm-drag-over #ai1wm-drag-drop-area{border-color:#83b4d8}.ai1wm-upload-file-message{display:none}
|
lib/view/assets/font/servmask.eot
CHANGED
Binary file
|
lib/view/assets/font/servmask.svg
CHANGED
@@ -1,36 +1,37 @@
|
|
1 |
<?xml version="1.0" standalone="no"?>
|
2 |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3 |
<svg xmlns="http://www.w3.org/2000/svg">
|
4 |
-
<metadata>Generated by IcoMoon</metadata>
|
5 |
<defs>
|
6 |
-
<font id="servmask" horiz-adv-x="
|
7 |
-
<font-face units-per-em="
|
8 |
-
<missing-glyph horiz-adv-x="
|
9 |
-
<glyph unicode=" " d="" horiz-adv-x="
|
10 |
-
<glyph unicode="" d="
|
11 |
-
<glyph unicode="" d="
|
12 |
-
<glyph unicode="" d="
|
13 |
-
<glyph unicode="" d="
|
14 |
-
<glyph unicode="" d="
|
15 |
-
<glyph unicode="" d="
|
16 |
-
<glyph unicode="" d="
|
17 |
-
<glyph unicode="" d="
|
18 |
-
<glyph unicode="" d="
|
19 |
-
<glyph unicode="" d="
|
20 |
-
<glyph unicode="" d="
|
21 |
-
<glyph unicode="" d="
|
22 |
-
<glyph unicode="" d="
|
23 |
-
<glyph unicode="" d="
|
24 |
-
<glyph unicode="" d="
|
25 |
-
<glyph unicode="" d="
|
26 |
-
<glyph unicode="" d="
|
27 |
-
<glyph unicode="" d="
|
28 |
-
<glyph unicode="" d="
|
29 |
-
<glyph unicode="" d="
|
30 |
-
<glyph unicode="" d="
|
31 |
-
<glyph unicode="" d="
|
32 |
-
<glyph unicode="" d="
|
33 |
-
<glyph unicode="" d="
|
34 |
-
<glyph unicode="" d="
|
35 |
-
<glyph unicode="" d="
|
36 |
-
|
|
|
|
1 |
<?xml version="1.0" standalone="no"?>
|
2 |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3 |
<svg xmlns="http://www.w3.org/2000/svg">
|
|
|
4 |
<defs>
|
5 |
+
<font id="servmask" horiz-adv-x="512">
|
6 |
+
<font-face units-per-em="512" ascent="480" descent="-32" />
|
7 |
+
<missing-glyph horiz-adv-x="512" />
|
8 |
+
<glyph unicode=" " d="" horiz-adv-x="256" />
|
9 |
+
<glyph unicode="" d="M496 288h-176v176c0 8.836-7.164 16-16 16h-96c-8.836 0-16-7.164-16-16v-176h-176c-8.836 0-16-7.164-16-16v-96c0-8.836 7.164-16 16-16h176v-176c0-8.836 7.164-16 16-16h96c8.836 0 16 7.164 16 16v176h176c8.836 0 16 7.164 16 16v96c0 8.836-7.164 16-16 16z" />
|
10 |
+
<glyph unicode="" d="M389.094 256h-107.52v107.52c0 14.131-11.443 15.36-25.6 15.36-14.131 0-25.6-1.203-25.6-15.36v-107.52h-107.495c-14.157 0-15.36-11.469-15.36-25.6s1.203-25.6 15.36-25.6h107.495v-107.52c0-14.131 11.469-15.36 25.6-15.36 14.157 0 25.6 1.229 25.6 15.36v107.52h107.52c14.157 0 15.385 11.469 15.385 25.6s-1.229 25.6-15.385 25.6z" />
|
11 |
+
<glyph unicode="" d="M409.6 435.2h-307.2c-28.16 0-51.2-23.040-51.2-51.2v-307.2c0-28.16 23.040-51.2 51.2-51.2h307.2c28.16 0 51.2 23.040 51.2 51.2v307.2c0 28.16-23.040 51.2-51.2 51.2zM384 204.8h-102.4v-102.4h-51.2v102.4h-102.4v51.2h102.4v102.4h51.2v-102.4h102.4v-51.2z" />
|
12 |
+
<glyph unicode="" d="M288 448c123.712 0 224-100.288 224-224s-100.288-224-224-224v48c47.012 0 91.209 18.307 124.451 51.549 33.242 33.242 51.549 77.439 51.549 124.451 0 47.011-18.307 91.209-51.549 124.451-33.242 33.242-77.439 51.549-124.451 51.549-47.011 0-91.209-18.307-124.451-51.549-25.57-25.569-42.291-57.623-48.653-92.451h93.104l-112-128-112 128h82.285c15.53 108.551 108.869 192 221.715 192zM384 256v-64h-128v160h64v-96z" />
|
13 |
+
<glyph unicode="" d="M512 224c0 141.385-114.615 256-256 256s-256-114.615-256-256 114.615-256 256-256 256 114.615 256 256zM48 224c0 114.875 93.125 208 208 208s208-93.125 208-208-93.125-208-208-208-208 93.125-208 208zM278.627 73.372l128 128.001c12.497 12.496 12.497 32.757 0 45.254s-32.758 12.497-45.255 0l-73.372-73.372v178.745c0 17.673-14.327 32-32 32s-32-14.327-32-32v-178.745l-73.372 73.373c-12.497 12.497-32.759 12.497-45.256 0-6.248-6.249-9.372-14.439-9.372-22.628s3.124-16.379 9.372-22.627l128-128.001c12.497-12.496 32.759-12.496 45.255 0z" />
|
14 |
+
<glyph unicode="" d="M153.625 348.16l-0.025-235.52 204.8 117.76z" />
|
15 |
+
<glyph unicode="" d="M373.76 332.774l-235.52 0.026 117.76-204.8z" />
|
16 |
+
<glyph unicode="" d="M256 445.44c-118.784 0-215.040-96.307-215.040-215.040 0-118.784 96.281-215.040 215.040-215.040 118.759 0 215.040 96.281 215.040 215.040 0 118.758-96.281 215.040-215.040 215.040zM282.163 204.237v-103.091h-52.327v103.091h-103.117v52.327h103.091v103.117h52.352v-103.091h103.091v-52.352h-103.091z" />
|
17 |
+
<glyph unicode="" d="M504.688 477.44c-2.656 1.712-5.68 2.56-8.688 2.56-3.088 0-6.192-0.88-8.88-2.688l-480-320c-4.944-3.28-7.664-9.056-7.024-14.976 0.608-5.904 4.448-11.008 9.968-13.184l125.184-50.096 58.864-103.008c2.816-4.944 8.048-8 13.712-8.064 0.064 0 0.112 0 0.176 0 5.616 0 10.832 2.976 13.712 7.776l33.232 55.408 155.12-62.032c1.904-0.768 3.904-1.136 5.936-1.136 2.72 0 5.408 0.688 7.84 2.064 4.224 2.368 7.12 6.528 7.936 11.312l80 480c1.040 6.288-1.744 12.592-7.088 16.064zM50.176 147.568l370.8 247.216-269.6-288.592c-1.424 0.848-2.688 1.968-4.256 2.592l-96.944 38.784zM163.024 94.944c-0.032 0.064-0.080 0.096-0.112 0.16l303.088 324.4-258.384-402.592-44.592 78.032zM403.472 6.256l-136.656 54.656c-3.248 1.28-6.624 1.712-9.968 1.904l210.432 326.208-63.808-382.768z" />
|
18 |
+
<glyph unicode="" d="M256-23.273c-141.382 0-256 114.618-256 256s114.618 256 256 256 256-114.618 256-256-114.618-256-256-256zM256 442.182c-115.689 0-209.454-93.766-209.454-209.455s93.766-209.454 209.454-209.454 209.454 93.766 209.454 209.454-93.766 209.455-209.454 209.455zM279.272 189.487c0-12.753 0-26.577 0-26.577h-46.546c0 0 0 33.675 0 46.546s10.426 23.272 23.273 23.272v0c25.693 0 46.545 20.852 46.545 46.546s-20.853 46.546-46.546 46.546-46.546-20.852-46.546-46.546c0-8.518 2.444-16.407 6.447-23.272h-49.688c-1.955 7.47-3.304 15.197-3.304 23.272 0 51.41 41.681 93.091 93.091 93.091s93.091-41.681 93.091-93.091c0-43.31-29.719-79.406-69.818-89.786zM279.272 93.091h-46.546v46.546h46.546v-46.546z" />
|
19 |
+
<glyph unicode="" d="M432 480h-384c-26.4 0-48-21.6-48-48v-416c0-26.4 21.6-48 48-48h384c26.4 0 48 21.6 48 48v416c0 26.4-21.6 48-48 48zM416 32h-352v384h352v-384zM128 256h224v-32h-224zM128 192h224v-32h-224zM128 128h224v-32h-224zM128 320h224v-32h-224z" />
|
20 |
+
<glyph unicode="" d="M512 382.791c-18.838-8.354-39.082-14.001-60.33-16.54 21.686 13 38.343 33.585 46.186 58.115-20.298-12.039-42.778-20.78-66.705-25.49-19.16 20.415-46.461 33.17-76.673 33.17-58.011 0-105.044-47.029-105.044-105.039 0-8.233 0.929-16.25 2.72-23.939-87.3 4.382-164.701 46.2-216.509 109.753-9.042-15.514-14.223-33.558-14.223-52.809 0-36.444 18.544-68.596 46.73-87.433-17.219 0.546-33.416 5.271-47.577 13.139-0.010-0.438-0.010-0.878-0.010-1.321 0-50.894 36.209-93.348 84.261-103-8.813-2.4-18.094-3.686-27.674-3.686-6.769 0-13.349 0.66-19.764 1.886 13.368-41.73 52.16-72.103 98.126-72.948-35.95-28.175-81.243-44.967-130.458-44.967-8.479 0-16.84 0.497-25.058 1.47 46.486-29.805 101.701-47.197 161.021-47.197 193.211 0 298.868 160.062 298.868 298.872 0 4.554-0.103 9.084-0.305 13.59 20.528 14.81 38.336 33.31 52.418 54.374z" />
|
21 |
+
<glyph unicode="" d="M287.935-32h-95.935v256h-64v88.225l64 0.029-0.104 51.976c0 71.976 19.517 115.77 104.299 115.77h70.588v-88.242h-44.115c-33.016 0-34.603-12.328-34.603-35.342l-0.131-44.162h79.345l-9.352-88.225-69.927-0.029-0.065-256z" />
|
22 |
+
<glyph unicode="" d="M314 237.714q0-14.857-10.572-26l-186.286-186q-10.572-10.572-25.715-10.572t-25.715 10.572l-21.715 21.428q-10.572 11.143-10.572 26 0 15.143 10.572 25.714l138.857 138.857-138.857 138.572q-10.572 11.143-10.572 26 0 15.143 10.572 25.714l21.715 21.428q10.285 10.857 25.715 10.857t25.715-10.857l186.286-186q10.572-10.571 10.572-25.714z" horiz-adv-x="329" />
|
23 |
+
<glyph unicode="" d="M512 338.75l-45.253 45.25-89.373-89.376-50.75 50.751 89.375 89.375-45.25 45.25-89.375-89.375-57.374 57.375-43.313-43.312 256.001-256.001 43.312 43.312-57.376 57.376zM137.374 105.373c82.884-82.881 192.597-18.181 259.646 37.732l-221.912 221.912c-55.912-67.048-120.614-176.761-37.734-259.644zM95.999 127.998l63.997-63.998-95.996-95.996-63.998 63.997z" />
|
24 |
+
<glyph unicode="" d="M512 192v192h-96v32c0 17.6-14.4 32-32 32h-352c-17.6 0-32-14.4-32-32v-96c0-17.6 14.4-32 32-32h352c17.6 0 32 14.4 32 32v32h64v-128h-288v-64h-16c-8.837 0-16-7.163-16-16v-160c0-8.837 7.163-16 16-16h64c8.837 0 16 7.163 16 16v160c0 8.837-7.163 16-16 16h-16v32h288zM384 384h-352v32h352v-32z" />
|
25 |
+
<glyph unicode="" d="M437.020 405.019c48.351-48.352 74.98-112.64 74.98-181.020s-26.629-132.667-74.98-181.019c-48.353-48.351-112.64-74.98-181.020-74.98-68.38 0-132.667 26.629-181.020 74.98-48.351 48.352-74.98 112.639-74.98 181.019 0 68.38 26.627 132.668 74.98 181.020 48.353 48.352 112.64 74.981 181.020 74.981 68.38 0 132.667-26.629 181.020-74.981zM414.392 65.607c31.529 31.53 52.493 70.804 61.136 113.531-6.737-9.918-13.181-13.597-17.172 8.603-4.11 36.195-37.354 13.074-58.258 25.93-22.002-14.829-71.453 28.831-63.049-20.412 12.967-22.211 70.004 29.725 41.574-17.271-18.137-32.808-66.321-105.466-60.053-143.129 0.791-54.872-56.067-11.442-75.657 6.76-13.178 36.46-4.491 100.187-38.949 118.043-37.401 1.624-69.502 5.023-83.997 46.835-8.723 29.914 9.282 74.447 41.339 81.322 46.925 29.483 63.687-34.527 107.695-35.717 13.664 14.297 50.908 18.843 53.996 34.875-28.875 5.095 36.634 24.279-2.764 35.191-21.735-2.556-35.739-22.537-24.184-39.479-42.119-9.821-43.468 60.952-83.955 38.629-1.029-35.295-66.111-11.443-22.518-4.286 14.978 6.544-24.43 25.508-3.14 22.062 10.458 0.568 45.666 12.906 36.138 21.201 19.605 12.17 36.080-29.145 55.269 0.941 13.854 23.133-5.81 27.404-23.175 15.678-9.79 10.962 17.285 34.638 41.166 44.869 7.959 3.41 15.561 5.268 21.373 4.742 12.029-13.896 34.275-16.303 35.439 1.671-29.791 14.267-62.638 21.804-96.646 21.804-48.811 0-95.235-15.512-133.654-44.195 10.325-4.73 16.186-10.619 6.239-18.148-7.728-23.027-39.085-53.938-66.612-49.562-14.293-24.648-23.706-51.803-27.73-80.264 23.056-7.628 28.372-22.725 23.418-27.775-11.748-10.244-18.968-24.765-22.688-40.661 7.505-45.918 29.086-88.238 62.635-121.788 42.308-42.307 98.559-65.607 158.392-65.607 59.832 0 116.084 23.3 158.392 65.607z" />
|
26 |
+
<glyph unicode="" d="M32 480h192v-32h-192zM288 480h192v-32h-192zM476 320h-28v128h-128v-128h-128v128h-128v-128h-28c-19.8 0-36-16.2-36-36v-280c0-19.8 16.2-36 36-36h152c19.8 0 36 16.2 36 36v188h64v-188c0-19.8 16.2-36 36-36h152c19.8 0 36 16.2 36 36v280c0 19.8-16.2 36-36 36zM174 0h-124c-9.9 0-18 7.2-18 16s8.1 16 18 16h124c9.9 0 18-7.2 18-16s-8.1-16-18-16zM272 224h-32c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16zM462 0h-124c-9.9 0-18 7.2-18 16s8.1 16 18 16h124c9.9 0 18-7.2 18-16s-8.1-16-18-16z" />
|
27 |
+
<glyph unicode="" d="M496.131 44.302l-121.276 103.147c-12.537 11.283-25.945 16.463-36.776 15.963 28.628 33.534 45.921 77.039 45.921 124.588 0 106.039-85.961 192-192 192-106.038 0-192-85.961-192-192 0-106.039 85.961-192 192-192 47.549 0 91.054 17.293 124.588 45.922-0.5-10.831 4.68-24.239 15.963-36.776l103.147-121.276c17.661-19.623 46.511-21.277 64.11-3.678s15.946 46.449-3.677 64.11zM192 160c-70.692 0-128 57.308-128 128s57.308 128 128 128 128-57.308 128-128-57.307-128-128-128z" />
|
28 |
+
<glyph unicode="" d="M256 480c-107.904 0-224-32.528-224-104v-304c0-71.44 116.096-104 224-104 107.888 0 224 32.56 224 104v304c0 71.472-116.128 104-224 104zM448 72c0-39.744-85.968-72-192-72-106.048 0-192 32.256-192 72v59.776c33.056-34.064 112.8-51.776 192-51.776s158.944 17.712 192 51.776v-59.776zM448 168h-0.064c0-0.16 0.064-0.336 0.064-0.496 0-39.504-85.968-71.504-192-71.504-106.032 0-192 32-192 71.504 0 0.16 0.064 0.336 0.064 0.496h-0.064v59.776c33.056-34.064 112.8-51.776 192-51.776s158.944 17.712 192 51.776v-59.776zM448 264h-0.064c0-0.16 0.064-0.336 0.064-0.496 0-39.504-85.968-71.504-192-71.504-106.032 0-192 32-192 71.504 0 0.16 0.064 0.336 0.064 0.496h-0.064v54.976c41.936-31.952 118.8-46.976 192-46.976s150.064 15.024 192 46.976v-54.976zM256 304c-106.048 0-192 32.256-192 72 0 39.776 85.952 72 192 72 106.032 0 192-32.224 192-72 0-39.744-85.968-72-192-72zM384 64c0 8.837 7.163 16 16 16s16-7.163 16-16c0-8.837-7.163-16-16-16-8.837 0-16 7.163-16 16zM384 160c0 8.837 7.163 16 16 16s16-7.163 16-16c0-8.837-7.163-16-16-16-8.837 0-16 7.163-16 16zM384 256c0 8.837 7.163 16 16 16s16-7.163 16-16c0-8.837-7.163-16-16-16-8.837 0-16 7.163-16 16z" />
|
29 |
+
<glyph unicode="" d="M182.857 310.857q0-22.857-16-38.857t-38.857-16-38.857 16-16 38.857 16 38.857 38.857 16 38.857-16 16-38.857zM475.428 201.143v-128h-402.286v54.857l91.428 91.428 45.714-45.714 146.286 146.286zM502.857 402.286h-457.143q-3.715 0-6.428-2.714t-2.715-6.428v-347.428q0-3.714 2.715-6.428t6.428-2.714h457.143q3.714 0 6.428 2.714t2.714 6.428v347.428q0 3.714-2.714 6.428t-6.428 2.714zM548.572 393.143v-347.428q0-18.857-13.428-32.286t-32.286-13.428h-457.143q-18.857 0-32.285 13.428t-13.428 32.286v347.428q0 18.857 13.428 32.286t32.285 13.428h457.143q18.857 0 32.286-13.428t13.428-32.286z" horiz-adv-x="549" />
|
30 |
+
<glyph unicode="" d="M512 137.143v-54.857q0-3.714-2.714-6.428t-6.428-2.714h-393.143v-54.857q0-3.714-2.715-6.428t-6.428-2.714q-3.428 0-6.857 2.857l-91.143 91.428q-2.571 2.572-2.571 6.286 0 4 2.571 6.572l91.428 91.428q2.572 2.572 6.572 2.572 3.715 0 6.428-2.714t2.715-6.428v-54.857h393.143q3.714 0 6.428-2.714t2.714-6.428zM512 292.572q0-4-2.572-6.571l-91.428-91.428q-2.572-2.572-6.572-2.572-3.714 0-6.428 2.714t-2.714 6.428v54.857h-393.143q-3.715 0-6.428 2.714t-2.715 6.429v54.857q0 3.714 2.715 6.429t6.428 2.714h393.143v54.857q0 4 2.572 6.572t6.572 2.572q3.428 0 6.857-2.857l91.143-91.143q2.572-2.572 2.572-6.572z" />
|
31 |
+
<glyph unicode="" d="M256 384c-111.659 0-208.441-65.021-256-160 47.559-94.979 144.341-160 256-160 111.657 0 208.439 65.021 256 160-47.558 94.979-144.343 160-256 160zM382.225 299.148c30.081-19.187 55.571-44.887 74.717-75.148-19.146-30.261-44.637-55.961-74.718-75.149-37.797-24.108-81.445-36.851-126.224-36.851-44.78 0-88.428 12.743-126.225 36.852-30.080 19.186-55.57 44.886-74.717 75.148 19.146 30.262 44.637 55.962 74.717 75.148 1.959 1.25 3.938 2.461 5.929 3.65-4.979-13.664-7.704-28.411-7.704-43.798 0-70.692 57.308-128 128-128s128 57.308 128 128c0 15.387-2.725 30.134-7.704 43.799 1.99-1.189 3.969-2.401 5.929-3.651zM256 275c0-26.51-21.49-48-48-48s-48 21.49-48 48 21.49 48 48 48 48-21.49 48-48z" />
|
32 |
+
<glyph unicode="" d="M201.143 365.714q-43.715 0-81.715-14.857t-60.428-40.286-22.428-54.571q0-23.428 15.143-45.143t42.572-37.714l27.715-16-10-24q9.715 5.714 17.715 11.143l12.571 8.857 15.143-2.857q22.285-4 43.715-4 43.714 0 81.714 14.857t60.428 40.286 22.428 54.572-22.428 54.572-60.428 40.286-81.714 14.857zM201.143 402.286q54.571 0 101-19.572t73.286-53.285 26.857-73.428-26.857-73.428-73.286-53.286-101-19.572q-24.572 0-50.286 4.572-35.428-25.143-79.428-36.572-10.285-2.572-24.572-4.572h-0.857q-3.143 0-5.857 2.286t-3.285 6q-0.285 0.857-0.285 1.857t0.143 1.857 0.572 1.714l0.715 1.428t1 1.572 1.143 1.428 1.285 1.428 1.143 1.286q1.428 1.714 6.572 7.143t7.428 8.428 6.428 8.286 7.143 11 5.857 12.572q-35.428 20.572-55.715 50.572t-20.285 64q0 39.714 26.857 73.428t73.285 53.285 101 19.572zM436 68.286q2.857-6.857 5.857-12.572t7.143-11 6.428-8.286 7.428-8.428 6.572-7.143q0.286-0.286 1.143-1.286t1.286-1.428 1.143-1.428 1-1.572l0.714-1.428t0.572-1.714 0.143-1.857-0.286-1.857q-0.857-4-3.714-6.286t-6.286-2q-14.286 2-24.572 4.572-44 11.428-79.428 36.572-25.714-4.572-50.286-4.572-77.428 0-134.857 37.714 16.571-1.143 25.143-1.143 46 0 88.286 12.857t75.428 36.857q35.714 26.286 54.857 60.572t19.143 72.572q0 22-6.572 43.428 36.857-20.286 58.286-50.857t21.429-65.714q0-34.286-20.286-64.143t-55.714-50.428z" />
|
33 |
+
<glyph unicode="" d="M109.715 73.143q0-22.857-16-38.857t-38.857-16-38.857 16-16 38.857 16 38.857 38.857 16 38.857-16 16-38.857zM109.715 219.429q0-22.857-16-38.857t-38.857-16-38.857 16-16 38.857 16 38.857 38.857 16 38.857-16 16-38.857zM512 100.572v-54.857q0-3.714-2.714-6.428t-6.428-2.714h-347.428q-3.714 0-6.428 2.714t-2.714 6.428v54.857q0 3.714 2.714 6.428t6.428 2.714h347.428q3.714 0 6.428-2.714t2.714-6.428zM109.715 365.714q0-22.857-16-38.857t-38.857-16-38.857 16-16 38.857 16 38.857 38.857 16 38.857-16 16-38.857zM512 246.857v-54.857q0-3.714-2.714-6.428t-6.428-2.714h-347.428q-3.714 0-6.428 2.714t-2.714 6.428v54.857q0 3.714 2.714 6.429t6.428 2.714h347.428q3.714 0 6.428-2.714t2.714-6.428zM512 393.143v-54.857q0-3.714-2.714-6.428t-6.428-2.714h-347.428q-3.714 0-6.428 2.714t-2.714 6.428v54.857q0 3.714 2.714 6.429t6.428 2.714h347.428q3.714 0 6.428-2.714t2.714-6.429z" />
|
34 |
+
<glyph unicode="" d="M256 432c-55.559 0-107.792-21.636-147.078-60.922s-60.922-91.519-60.922-147.078c0-55.559 21.636-107.792 60.922-147.078 39.286-39.286 91.519-60.922 147.078-60.922 55.559 0 107.792 21.636 147.078 60.922 39.286 39.286 60.922 91.519 60.922 147.078 0 55.559-21.636 107.792-60.922 147.078-39.286 39.286-91.519 60.922-147.078 60.922zM256 480v0c141.385 0 256-114.615 256-256s-114.615-256-256-256c-141.385 0-256 114.615-256 256 0 141.385 114.615 256 256 256zM224 128h64v-64h-64zM224 384h64v-192h-64z" />
|
35 |
+
<glyph unicode="" d="M507.331 68.67c-0.002 0.002-0.004 0.004-0.006 0.005l-155.322 155.325 155.322 155.325c0.002 0.002 0.004 0.003 0.006 0.005 1.672 1.673 2.881 3.627 3.656 5.708 2.123 5.688 0.912 12.341-3.662 16.915l-73.373 73.373c-4.574 4.573-11.225 5.783-16.914 3.66-2.080-0.775-4.035-1.984-5.709-3.655 0-0.002-0.002-0.003-0.004-0.005l-155.324-155.326-155.324 155.325c-0.002 0.002-0.003 0.003-0.005 0.005-1.673 1.671-3.627 2.88-5.707 3.655-5.69 2.124-12.341 0.913-16.915-3.66l-73.374-73.374c-4.574-4.574-5.784-11.226-3.661-16.914 0.776-2.080 1.985-4.036 3.656-5.708 0.002-0.001 0.003-0.003 0.005-0.005l155.325-155.324-155.325-155.326c-0.001-0.002-0.003-0.003-0.004-0.005-1.671-1.673-2.88-3.627-3.657-5.707-2.124-5.688-0.913-12.341 3.661-16.915l73.374-73.373c4.575-4.574 11.226-5.784 16.915-3.661 2.080 0.776 4.035 1.985 5.708 3.656 0.001 0.002 0.003 0.003 0.005 0.005l155.324 155.325 155.324-155.325c0.002-0.001 0.004-0.003 0.006-0.004 1.674-1.672 3.627-2.881 5.707-3.657 5.689-2.123 12.342-0.913 16.914 3.661l73.373 73.374c4.574 4.574 5.785 11.227 3.662 16.915-0.776 2.080-1.985 4.034-3.657 5.707z" />
|
36 |
+
<glyph unicode="" d="M141.714 91.429q0-17.143-12.143-29.143t-29-12q-17.143 0-29.143 12t-12 29.143 12 29.143 29.143 12q16.857 0 29-12t12.143-29.143zM265.143 36.572q0-15.143-10.714-25.857t-25.857-10.714-25.857 10.714-10.714 25.857 10.714 25.857 25.857 10.714 25.857-10.714 10.714-25.857zM91.428 219.429q0-18.857-13.428-32.286t-32.285-13.428-32.285 13.428-13.428 32.286 13.428 32.286 32.285 13.428 32.285-13.428 13.428-32.286zM388.572 91.429q0-13.143-9.428-22.572t-22.572-9.428-22.572 9.428-9.428 22.572 9.428 22.572 22.572 9.428 22.572-9.428 9.428-22.572zM150.857 347.429q0-20.857-14.714-35.572t-35.572-14.714-35.572 14.714-14.715 35.572 14.715 35.572 35.572 14.714 35.572-14.714 14.714-35.572zM283.428 402.286q0-22.857-16-38.857t-38.857-16-38.857 16-16 38.857 16 38.857 38.857 16 38.857-16 16-38.857zM438.857 219.429q0-11.428-8-19.428t-19.428-8-19.428 8-8 19.428 8 19.428 19.428 8 19.428-8 8-19.428zM379.428 347.429q0-9.428-6.714-16.143t-16.143-6.714-16.143 6.714-6.714 16.143 6.714 16.143 16.143 6.714 16.143-6.714 6.714-16.143z" horiz-adv-x="448" />
|
37 |
+
</font></defs></svg>
|
lib/view/assets/font/servmask.ttf
CHANGED
Binary file
|
lib/view/assets/font/servmask.woff
CHANGED
Binary file
|
lib/view/assets/javascript/export.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function($,window,document,undefined){$.fn.ai1wm_checkbox=function(parameters){var returnedValue,$allModules=$(this),moduleSelector=$allModules.selector||"",time=(new Date).getTime(),performance=[],query=arguments[0],methodInvoked="string"==typeof query,queryArguments=[].slice.call(arguments,1);return $allModules.each(function(){var module,settings=$.extend(!0,{},$.fn.ai1wm_checkbox.settings,parameters),className=settings.className,namespace=settings.namespace,eventNamespace=(settings.error,"."+namespace),moduleNamespace="module-"+namespace,$module=$(this),$label=$(this).next(settings.selector.label).first(),$input=$(this).find(settings.selector.input),selector=$module.selector||"",instance=$module.data(moduleNamespace),element=this;module={initialize:function(){module.verbose("Initializing checkbox",settings),settings.context&&""!==selector?(module.verbose("Adding delegated events"),$(element,settings.context).on(selector,"click"+eventNamespace,module.toggle).on(selector+" + "+settings.selector.label,"click"+eventNamespace,module.toggle)):($module.on("click"+eventNamespace,module.toggle).data(moduleNamespace,module),$label.on("click"+eventNamespace,module.toggle)),module.instantiate()},instantiate:function(){module.verbose("Storing instance of module",module),instance=module,$module.data(moduleNamespace,module)},destroy:function(){module.verbose("Destroying previous module"),$module.off(eventNamespace).removeData(moduleNamespace)},is:{radio:function(){return $module.hasClass(className.radio)},enabled:function(){return $input.prop("checked")!==undefined&&$input.prop("checked")},disabled:function(){return!module.is.enabled()}},can:{disable:function(){return"boolean"==typeof settings.required?settings.required:!module.is.radio()}},enable:function(){module.debug("Enabling checkbox",$input),$input.prop("checked",!0),$.proxy(settings.onChange,$input.get())(),$.proxy(settings.onEnable,$input.get())()},disable:function(){module.debug("Disabling checkbox"),$input.prop("checked",!1),$.proxy(settings.onChange,$input.get())(),$.proxy(settings.onDisable,$input.get())()},toggle:function(){module.verbose("Determining new checkbox state"),module.is.disabled()?module.enable():module.is.enabled()&&module.can.disable()&&module.disable()},setting:function(name,value){if($.isPlainObject(name))$.extend(!0,settings,name);else{if(value===undefined)return settings[name];settings[name]=value}},internal:function(name,value){if($.isPlainObject(name))$.extend(!0,module,name);else{if(value===undefined)return module[name];module[name]=value}},debug:function(){settings.debug&&(settings.performance?module.performance.log(arguments):(module.debug=Function.prototype.bind.call(console.info,console,settings.name+":"),module.debug.apply(console,arguments)))},verbose:function(){settings.verbose&&settings.debug&&(settings.performance?module.performance.log(arguments):(module.verbose=Function.prototype.bind.call(console.info,console,settings.name+":"),module.verbose.apply(console,arguments)))},error:function(){module.error=Function.prototype.bind.call(console.error,console,settings.name+":"),module.error.apply(console,arguments)},performance:{log:function(message){var currentTime,executionTime,previousTime;settings.performance&&(currentTime=(new Date).getTime(),previousTime=time||currentTime,executionTime=currentTime-previousTime,time=currentTime,performance.push({Element:element,Name:message[0],Arguments:[].slice.call(message,1)||"","Execution Time":executionTime})),clearTimeout(module.performance.timer),module.performance.timer=setTimeout(module.performance.display,100)},display:function(){var title=settings.name+":",totalTime=0;time=!1,clearTimeout(module.performance.timer),$.each(performance,function(index,data){totalTime+=data["Execution Time"]}),title+=" "+totalTime+"ms",moduleSelector&&(title+=" '"+moduleSelector+"'"),(console.group!==undefined||console.table!==undefined)&&performance.length>0&&(console.groupCollapsed(title),console.table?console.table(performance):$.each(performance,function(index,data){console.log(data.Name+": "+data["Execution Time"]+"ms")}),console.groupEnd()),performance=[]}},invoke:function(query,passedArguments,context){var maxDepth,found,response,object=instance;return passedArguments=passedArguments||queryArguments,context=element||context,"string"==typeof query&&object!==undefined&&(query=query.split(/[\. ]/),maxDepth=query.length-1,$.each(query,function(depth,value){var camelCaseValue=depth!=maxDepth?value+query[depth+1].charAt(0).toUpperCase()+query[depth+1].slice(1):query;if($.isPlainObject(object[camelCaseValue])&&depth!=maxDepth)object=object[camelCaseValue];else{if(object[camelCaseValue]!==undefined)return found=object[camelCaseValue],!1;if(!$.isPlainObject(object[value])||depth==maxDepth)return object[value]!==undefined?(found=object[value],!1):!1;object=object[value]}})),$.isFunction(found)?response=found.apply(context,passedArguments):found!==undefined&&(response=found),$.isArray(returnedValue)?returnedValue.push(response):returnedValue!==undefined?returnedValue=[returnedValue,response]:response!==undefined&&(returnedValue=response),found}},methodInvoked?(instance===undefined&&module.initialize(),module.invoke(query)):(instance!==undefined&&module.destroy(),module.initialize())}),returnedValue!==undefined?returnedValue:this},$.fn.ai1wm_checkbox.settings={name:"ai1wm-Checkbox",namespace:"ai1wm-checkbox",verbose:!0,debug:!0,performance:!0,context:!1,required:"auto",onChange:function(){},onEnable:function(){},onDisable:function(){},error:{method:"The method you called is not defined."},selector:{input:"input[type=checkbox], input[type=radio]",label:"label"},className:{radio:"radio"}}}(jQuery,window,document),jQuery(document).ready(function($){"use strict";$("#ai1wm-feedback-submit").click(function(){var url=ai1wm_feedback.ajax.url,email=$(".ai1wm-feedback-email").val(),message=$(".ai1wm-feedback-message").val(),terms=$(".ai1wm-feedback-terms").is(":checked");$.ajax({type:"POST",url:url,data:{email:email,message:message,terms:+terms},success:function(data){var errors=data.errors;if(errors.length>0){$(".ai1wm-feedback .ai1wm-message").remove();var content=$("<div />").addClass("ai1wm-message ai1wm-red-message");$.each(errors,function(key,value){content.append("<p>"+value+"</p>")}),$(".ai1wm-feedback").prepend(content)}else{var content=$("<div />").addClass("ai1wm-message ai1wm-green-message").append("<p>Thanks for submitting your feedback!</p>");$(".ai1wm-feedback").html(content)}},dataType:"json",async:!1})})}),jQuery(document).ready(function($){"use strict";$("#ai1wm-report-problem-button").click(function(e){$(this).next(".ai1wm-report-problem-dialog").toggleClass("ai1wm-report-active"),e.preventDefault()}),$("#ai1wm-report-cancel").click(function(e){$(this).closest(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active"),e.preventDefault()}),$("#ai1wm-report-submit").click(function(){var url=ai1wm_report.ajax.url,email=$(".ai1wm-report-email").val(),message=$(".ai1wm-report-message").val(),terms=$(".ai1wm-report-terms").is(":checked");$.ajax({type:"POST",url:url,data:{email:email,message:message,terms:+terms},success:function(data){var errors=data.errors;if(errors.length>0){$(".ai1wm-report-problem-dialog .ai1wm-message").remove();var content=$("<div />").addClass("ai1wm-message ai1wm-red-message");$.each(errors,function(key,value){content.append("<p>"+value+"</p>")}),$(".ai1wm-report-problem-dialog").prepend(content)}else{var content=$("<div />").addClass("ai1wm-message ai1wm-green-message").append("<p>Thanks for submitting your request!</p>");$(".ai1wm-report-problem-dialog").html(content),setTimeout(function(){$(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active")},2e3)}},dataType:"json",async:!1})})}),jQuery(document).ready(function($){"use strict";$(".ai1wm-accordion > .ai1wm-title").click(function(){$(this).parent().toggleClass("ai1wm-active")}),$(".ai1wm-checkbox").ai1wm_checkbox(),$("#add-new-replace-button").click(function(e){var row=$(".ai1wm-replace-row:last").clone();row.find("input").val(""),$(".ai1wm-replace-row:last").after(row),e.preventDefault()})});
|
1 |
+
!function($,window,document,undefined){$.fn.ai1wm_checkbox=function(parameters){var returnedValue,$allModules=$(this),moduleSelector=$allModules.selector||"",time=(new Date).getTime(),performance=[],query=arguments[0],methodInvoked="string"==typeof query,queryArguments=[].slice.call(arguments,1);return $allModules.each(function(){var module,settings=$.extend(!0,{},$.fn.ai1wm_checkbox.settings,parameters),className=settings.className,namespace=settings.namespace,eventNamespace=(settings.error,"."+namespace),moduleNamespace="module-"+namespace,$module=$(this),$label=$(this).next(settings.selector.label).first(),$input=$(this).find(settings.selector.input),selector=$module.selector||"",instance=$module.data(moduleNamespace),element=this;module={initialize:function(){module.verbose("Initializing checkbox",settings),settings.context&&""!==selector?(module.verbose("Adding delegated events"),$(element,settings.context).on(selector,"click"+eventNamespace,module.toggle).on(selector+" + "+settings.selector.label,"click"+eventNamespace,module.toggle)):($module.on("click"+eventNamespace,module.toggle).data(moduleNamespace,module),$label.on("click"+eventNamespace,module.toggle)),module.instantiate()},instantiate:function(){module.verbose("Storing instance of module",module),instance=module,$module.data(moduleNamespace,module)},destroy:function(){module.verbose("Destroying previous module"),$module.off(eventNamespace).removeData(moduleNamespace)},is:{radio:function(){return $module.hasClass(className.radio)},enabled:function(){return $input.prop("checked")!==undefined&&$input.prop("checked")},disabled:function(){return!module.is.enabled()}},can:{disable:function(){return"boolean"==typeof settings.required?settings.required:!module.is.radio()}},enable:function(){module.debug("Enabling checkbox",$input),$input.prop("checked",!0),$.proxy(settings.onChange,$input.get())(),$.proxy(settings.onEnable,$input.get())()},disable:function(){module.debug("Disabling checkbox"),$input.prop("checked",!1),$.proxy(settings.onChange,$input.get())(),$.proxy(settings.onDisable,$input.get())()},toggle:function(){module.verbose("Determining new checkbox state"),module.is.disabled()?module.enable():module.is.enabled()&&module.can.disable()&&module.disable()},setting:function(name,value){if($.isPlainObject(name))$.extend(!0,settings,name);else{if(value===undefined)return settings[name];settings[name]=value}},internal:function(name,value){if($.isPlainObject(name))$.extend(!0,module,name);else{if(value===undefined)return module[name];module[name]=value}},debug:function(){settings.debug&&(settings.performance?module.performance.log(arguments):(module.debug=Function.prototype.bind.call(console.info,console,settings.name+":"),module.debug.apply(console,arguments)))},verbose:function(){settings.verbose&&settings.debug&&(settings.performance?module.performance.log(arguments):(module.verbose=Function.prototype.bind.call(console.info,console,settings.name+":"),module.verbose.apply(console,arguments)))},error:function(){module.error=Function.prototype.bind.call(console.error,console,settings.name+":"),module.error.apply(console,arguments)},performance:{log:function(message){var currentTime,executionTime,previousTime;settings.performance&&(currentTime=(new Date).getTime(),previousTime=time||currentTime,executionTime=currentTime-previousTime,time=currentTime,performance.push({Element:element,Name:message[0],Arguments:[].slice.call(message,1)||"","Execution Time":executionTime})),clearTimeout(module.performance.timer),module.performance.timer=setTimeout(module.performance.display,100)},display:function(){var title=settings.name+":",totalTime=0;time=!1,clearTimeout(module.performance.timer),$.each(performance,function(index,data){totalTime+=data["Execution Time"]}),title+=" "+totalTime+"ms",moduleSelector&&(title+=" '"+moduleSelector+"'"),(console.group!==undefined||console.table!==undefined)&&performance.length>0&&(console.groupCollapsed(title),console.table?console.table(performance):$.each(performance,function(index,data){console.log(data.Name+": "+data["Execution Time"]+"ms")}),console.groupEnd()),performance=[]}},invoke:function(query,passedArguments,context){var maxDepth,found,response,object=instance;return passedArguments=passedArguments||queryArguments,context=element||context,"string"==typeof query&&object!==undefined&&(query=query.split(/[\. ]/),maxDepth=query.length-1,$.each(query,function(depth,value){var camelCaseValue=depth!=maxDepth?value+query[depth+1].charAt(0).toUpperCase()+query[depth+1].slice(1):query;if($.isPlainObject(object[camelCaseValue])&&depth!=maxDepth)object=object[camelCaseValue];else{if(object[camelCaseValue]!==undefined)return found=object[camelCaseValue],!1;if(!$.isPlainObject(object[value])||depth==maxDepth)return object[value]!==undefined?(found=object[value],!1):!1;object=object[value]}})),$.isFunction(found)?response=found.apply(context,passedArguments):found!==undefined&&(response=found),$.isArray(returnedValue)?returnedValue.push(response):returnedValue!==undefined?returnedValue=[returnedValue,response]:response!==undefined&&(returnedValue=response),found}},methodInvoked?(instance===undefined&&module.initialize(),module.invoke(query)):(instance!==undefined&&module.destroy(),module.initialize())}),returnedValue!==undefined?returnedValue:this},$.fn.ai1wm_checkbox.settings={name:"ai1wm-Checkbox",namespace:"ai1wm-checkbox",verbose:!0,debug:!0,performance:!0,context:!1,required:"auto",onChange:function(){},onEnable:function(){},onDisable:function(){},error:{method:"The method you called is not defined."},selector:{input:"input[type=checkbox], input[type=radio]",label:"label"},className:{radio:"radio"}}}(jQuery,window,document),jQuery(document).ready(function($){"use strict";$("#ai1wm-feedback-submit").click(function(){var url=ai1wm_feedback.ajax.url,email=$(".ai1wm-feedback-email").val(),message=$(".ai1wm-feedback-message").val(),terms=$(".ai1wm-feedback-terms").is(":checked");$.ajax({type:"POST",url:url,data:{email:email,message:message,terms:+terms},success:function(data){var errors=data.errors;if(errors.length>0){$(".ai1wm-feedback .ai1wm-message").remove();var content=$("<div />").addClass("ai1wm-message ai1wm-red-message");$.each(errors,function(key,value){content.append("<p>"+value+"</p>")}),$(".ai1wm-feedback").prepend(content)}else{var content=$("<div />").addClass("ai1wm-message ai1wm-green-message").append("<p>Thanks for submitting your feedback!</p>");$(".ai1wm-feedback").html(content)}},dataType:"json",async:!1})})}),jQuery(document).ready(function($){"use strict";$("#ai1wm-report-problem-button").click(function(e){$(this).next(".ai1wm-report-problem-dialog").toggleClass("ai1wm-report-active"),e.preventDefault()}),$("#ai1wm-report-cancel").click(function(e){$(this).closest(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active"),e.preventDefault()}),$("#ai1wm-report-submit").click(function(){var url=ai1wm_report.ajax.url,email=$(".ai1wm-report-email").val(),message=$(".ai1wm-report-message").val(),terms=$(".ai1wm-report-terms").is(":checked");$.ajax({type:"POST",url:url,data:{email:email,message:message,terms:+terms},success:function(data){var errors=data.errors;if(errors.length>0){$(".ai1wm-report-problem-dialog .ai1wm-message").remove();var content=$("<div />").addClass("ai1wm-message ai1wm-red-message");$.each(errors,function(key,value){content.append("<p>"+value+"</p>")}),$(".ai1wm-report-problem-dialog").prepend(content)}else{var content=$("<div />").addClass("ai1wm-message ai1wm-green-message").append("<p>Thanks for submitting your request!</p>");$(".ai1wm-report-problem-dialog").html(content),setTimeout(function(){$(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active")},2e3)}},dataType:"json",async:!1})})}),jQuery(document).ready(function($){"use strict";var tracked=!1;window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(method){return function(){var args=Array.prototype.slice.call(arguments);return args.unshift(method),window.analytics.push(args),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(key){if(!document.getElementById("analytics-js")){var script=document.createElement("script");script.type="text/javascript",script.id="analytics-js",script.async=!0,script.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+key+"/analytics.min.js";var first=document.getElementsByTagName("script")[0];first.parentNode.insertBefore(script,first)}},window.analytics.SNIPPET_VERSION="2.0.9",$(".ai1wm-accordion > .ai1wm-title").click(function(){$(this).parent().toggleClass("ai1wm-active")}),$(".ai1wm-checkbox").ai1wm_checkbox(),$("#add-new-replace-button").click(function(e){var row=$(".ai1wm-replace-row:last").clone();row.find("input").val(""),$(".ai1wm-replace-row:last").after(row),e.preventDefault()}),$("#ai1wm-message-close-button").click(function(e){var url=ai1wm_message.ajax.url,obj=$(this),type=obj.attr("data-type");$.ajax({type:"POST",url:url,data:{type:type},success:function(data){var errors=data.errors;0===errors.length&&obj.closest(".ai1wm-message").remove()},dataType:"json"}),e.preventDefault()});var button_ajax_start=function(el){$(el).attr("disabled",!0),$(el).find("i").removeClass("ai1wm-icon-arrow-down").addClass("ai1wm-icon-spinner")},button_ajax_stop=function(el){$(el).attr("disabled",!1),$(el).find("i").removeClass("ai1wm-icon-spinner").addClass("ai1wm-icon-arrow-down")};$("#ai1wm-export-button").click(function(e){var self=$(this);if(button_ajax_start(self),e.preventDefault(),$("#ai1wm-export-stats").is(":checked")&&tracked===!1){tracked=!0,window.analytics.load("0jl4mfaemy");try{window.analytics.page(),analytics.identify("ai1wm-export-data",function(){analytics.track("ai1wm-export",{number_of_rows:$(".ai1wm-replace-row").length,advanced_options_expanded:$(".ai1wm-accordion").hasClass("ai1wm-active"),"export-spam-comments":$("#export-spam-comments").is(":checked"),"export-revisions":$("#export-revisions").is(":checked"),"export-media":$("#export-media").is(":checked"),"export-themes":$("#export-themes").is(":checked"),"export-plugins":$("#export-plugins").is(":checked"),"export-database":$("#export-database").is(":checked"),"no-table-data":$("#no-table-data").is(":checked")},function(){setTimeout(function(){$("#ai1wm-export-form").submit(),button_ajax_stop(self)},3e3)})})}catch(e){$("#ai1wm-export-form").submit(),button_ajax_stop(self)}}else $("#ai1wm-export-form").submit(),button_ajax_stop(self)})});
|
lib/view/export/index.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -61,6 +61,15 @@
|
|
61 |
|
62 |
<form action="" method="post" id="ai1wm-export-form">
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
<div class="ai1wm-replace-row">
|
65 |
<div class="ai1wm-field-inline">
|
66 |
<input type="text" value="" placeholder="<?php _e( 'Find' ); ?>" name="options[replace][old-value][]" id="old-value-1" />
|
@@ -74,47 +83,47 @@
|
|
74 |
<div class="ai1wm-clear"></div>
|
75 |
<button class="ai1wm-button-gray" id="add-new-replace-button"><i class="ai1wm-icon-plus"></i><?php _e( 'ADD MORE' ); ?></button>
|
76 |
|
77 |
-
<div class="ai1wm-divider"><?php _e( 'Options' ); ?></div>
|
78 |
-
|
79 |
-
<div class="ai1wm-field">
|
80 |
-
<div class="ai1wm-checkbox">
|
81 |
-
<input type="checkbox" id="export-spam-comments" name="options[export-spam-comments]" />
|
82 |
-
<label for="export-spam-comments"><?php _e( 'Do not export spam comments' ); ?></label>
|
83 |
-
</div>
|
84 |
-
</div>
|
85 |
-
|
86 |
-
<div class="ai1wm-field">
|
87 |
-
<div class="ai1wm-checkbox">
|
88 |
-
<input type="checkbox" id="export-revisions" name="options[export-revisions]" />
|
89 |
-
<label for="export-revisions"><?php _e( 'Do not export post revisions' ); ?></label>
|
90 |
-
</div>
|
91 |
-
</div>
|
92 |
-
|
93 |
<div class="ai1wm-accordion">
|
94 |
<div class="ai1wm-title">
|
95 |
-
<
|
96 |
-
|
|
|
|
|
|
|
97 |
</div>
|
98 |
<div class="ai1wm-clear"></div>
|
99 |
<div class="ai1wm-content">
|
100 |
<div class="ai1wm-field">
|
101 |
-
<div class="ai1wm-checkbox">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
<input type="checkbox" id="export-media" name="options[export-media]" />
|
103 |
-
<label for="export-media"><?php _e( 'Do not export media library (files)' ); ?></label>
|
104 |
</div>
|
105 |
</div>
|
106 |
|
107 |
<div class="ai1wm-field">
|
108 |
-
<div class="ai1wm-checkbox">
|
109 |
<input type="checkbox" id="export-themes" name="options[export-themes]" />
|
110 |
-
<label for="export-themes"><?php _e( 'Do not export themes (files)' ); ?></label>
|
111 |
</div>
|
112 |
</div>
|
113 |
|
114 |
<div class="ai1wm-field">
|
115 |
-
<div class="ai1wm-checkbox">
|
116 |
<input type="checkbox" id="export-plugins" name="options[export-plugins]" />
|
117 |
-
<label for="export-plugins"><?php _e( 'Do not export plugins (files)' ); ?></label>
|
118 |
</div>
|
119 |
<?php foreach ( $list_plugins as $key => $plugin ): ?>
|
120 |
<input type="hidden" name="options[include-plugins][<?php _e( $key ); ?>]" value="<?php _e( $plugin['Name'] ); ?>" />
|
@@ -122,16 +131,16 @@
|
|
122 |
</div>
|
123 |
|
124 |
<div class="ai1wm-field">
|
125 |
-
<div class="ai1wm-checkbox">
|
126 |
<input type="checkbox" id="export-database" name="options[export-database]" />
|
127 |
-
<label for="export-database"><?php _e( 'Do not export database (sql)' ); ?></label>
|
128 |
</div>
|
129 |
</div>
|
130 |
|
131 |
<div class="ai1wm-field">
|
132 |
-
<div class="ai1wm-checkbox">
|
133 |
<input type="checkbox" id="no-table-data" name="options[no-table-data]" />
|
134 |
-
<label for="no-table-data"><?php _e( 'Do not export table data' ); ?></label>
|
135 |
</div>
|
136 |
</div>
|
137 |
</div>
|
@@ -139,8 +148,19 @@
|
|
139 |
|
140 |
<div class="ai1wm-field">
|
141 |
<?php if ( $is_accessible ): ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
<div class="ai1wm-buttons">
|
143 |
-
<
|
|
|
|
|
|
|
|
|
144 |
<i class="ai1wm-icon-arrow-down"></i>
|
145 |
<?php _e( 'EXPORT PACKAGE' ); ?>
|
146 |
</button>
|
@@ -173,17 +193,28 @@
|
|
173 |
<div class="ai1wm-divider"><?php _e( 'Help' ); ?> <i class="ai1wm-icon-help"></i></div>
|
174 |
|
175 |
<p>
|
176 |
-
<?php _e( '
|
177 |
-
<?php _e( '
|
178 |
</p>
|
179 |
|
180 |
-
<p
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
<li
|
186 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
|
188 |
<p>
|
189 |
<?php _e( 'For any comments or suggestions please use the feedback form below.' ); ?><br />
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
61 |
|
62 |
<form action="" method="post" id="ai1wm-export-form">
|
63 |
|
64 |
+
<?php if ( ! $is_closed ): ?>
|
65 |
+
<div class="ai1wm-replace-row">
|
66 |
+
<div class="ai1wm-message ai1wm-blue-message">
|
67 |
+
<a href="#" id="ai1wm-message-close-button" class="ai1wm-close-button" data-type="info"><i class="ai1wm-icon-close"></i></a>
|
68 |
+
<?php _e( 'Since version 1.8.0, Site URL is deprecated. Upon import, the plugin auto-detects Site URL and makes necessary changes to the database.' ); ?>
|
69 |
+
</div>
|
70 |
+
</div>
|
71 |
+
<?php endif; ?>
|
72 |
+
|
73 |
<div class="ai1wm-replace-row">
|
74 |
<div class="ai1wm-field-inline">
|
75 |
<input type="text" value="" placeholder="<?php _e( 'Find' ); ?>" name="options[replace][old-value][]" id="old-value-1" />
|
83 |
<div class="ai1wm-clear"></div>
|
84 |
<button class="ai1wm-button-gray" id="add-new-replace-button"><i class="ai1wm-icon-plus"></i><?php _e( 'ADD MORE' ); ?></button>
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
<div class="ai1wm-accordion">
|
87 |
<div class="ai1wm-title">
|
88 |
+
<h4>
|
89 |
+
<i class="ai1wm-icon-arrow-right"></i>
|
90 |
+
<?php _e( 'Advanced options' ); ?>
|
91 |
+
<small><?php _e( ' (click to expand)' ); ?></small>
|
92 |
+
</h4>
|
93 |
</div>
|
94 |
<div class="ai1wm-clear"></div>
|
95 |
<div class="ai1wm-content">
|
96 |
<div class="ai1wm-field">
|
97 |
+
<div class="ai1wm-checkbox-v2">
|
98 |
+
<input type="checkbox" id="export-spam-comments" name="options[export-spam-comments]" />
|
99 |
+
<label for="export-spam-comments"><?php _e( 'Do <strong>not</strong> export spam comments' ); ?></label>
|
100 |
+
</div>
|
101 |
+
</div>
|
102 |
+
|
103 |
+
<div class="ai1wm-field">
|
104 |
+
<div class="ai1wm-checkbox-v2">
|
105 |
+
<input type="checkbox" id="export-revisions" name="options[export-revisions]" />
|
106 |
+
<label for="export-revisions"><?php _e( 'Do <strong>not</strong> export post revisions' ); ?></label>
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
<div class="ai1wm-field">
|
110 |
+
<div class="ai1wm-checkbox-v2">
|
111 |
<input type="checkbox" id="export-media" name="options[export-media]" />
|
112 |
+
<label for="export-media"><?php _e( 'Do <strong>not</strong> export media library (files)' ); ?></label>
|
113 |
</div>
|
114 |
</div>
|
115 |
|
116 |
<div class="ai1wm-field">
|
117 |
+
<div class="ai1wm-checkbox-v2">
|
118 |
<input type="checkbox" id="export-themes" name="options[export-themes]" />
|
119 |
+
<label for="export-themes"><?php _e( 'Do <strong>not</strong> export themes (files)' ); ?></label>
|
120 |
</div>
|
121 |
</div>
|
122 |
|
123 |
<div class="ai1wm-field">
|
124 |
+
<div class="ai1wm-checkbox-v2">
|
125 |
<input type="checkbox" id="export-plugins" name="options[export-plugins]" />
|
126 |
+
<label for="export-plugins"><?php _e( 'Do <strong>not</strong> export plugins (files)' ); ?></label>
|
127 |
</div>
|
128 |
<?php foreach ( $list_plugins as $key => $plugin ): ?>
|
129 |
<input type="hidden" name="options[include-plugins][<?php _e( $key ); ?>]" value="<?php _e( $plugin['Name'] ); ?>" />
|
131 |
</div>
|
132 |
|
133 |
<div class="ai1wm-field">
|
134 |
+
<div class="ai1wm-checkbox-v2">
|
135 |
<input type="checkbox" id="export-database" name="options[export-database]" />
|
136 |
+
<label for="export-database"><?php _e( 'Do <strong>not</strong> export database (sql)' ); ?></label>
|
137 |
</div>
|
138 |
</div>
|
139 |
|
140 |
<div class="ai1wm-field">
|
141 |
+
<div class="ai1wm-checkbox-v2">
|
142 |
<input type="checkbox" id="no-table-data" name="options[no-table-data]" />
|
143 |
+
<label for="no-table-data"><?php _e( 'Do <strong>not</strong> export table data' ); ?></label>
|
144 |
</div>
|
145 |
</div>
|
146 |
</div>
|
148 |
|
149 |
<div class="ai1wm-field">
|
150 |
<?php if ( $is_accessible ): ?>
|
151 |
+
<div class="ai1wm-checkbox-v2 ai1wm-export-stats">
|
152 |
+
<input type="checkbox" id="ai1wm-export-stats" />
|
153 |
+
<label for="ai1wm-export-stats">
|
154 |
+
<?php _e( 'Send usage data to ServMask Inc. This allows us to improve your experience with the plugin.' ); ?>
|
155 |
+
<a href="https://www.iubenda.com/privacy-policy/946881" target="_blank">Privacy Policy</a>
|
156 |
+
</label>
|
157 |
+
</div>
|
158 |
<div class="ai1wm-buttons">
|
159 |
+
<input type="hidden" name="options[action]" value="export" />
|
160 |
+
<button
|
161 |
+
type="submit"
|
162 |
+
id="ai1wm-export-button"
|
163 |
+
class="ai1wm-button-green">
|
164 |
<i class="ai1wm-icon-arrow-down"></i>
|
165 |
<?php _e( 'EXPORT PACKAGE' ); ?>
|
166 |
</button>
|
193 |
<div class="ai1wm-divider"><?php _e( 'Help' ); ?> <i class="ai1wm-icon-help"></i></div>
|
194 |
|
195 |
<p>
|
196 |
+
<?php _e( 'This screen allows you to export database, media files, themes and plugins as one zipped file.' ); ?><br />
|
197 |
+
<?php _e( 'You can then use the import functionality provided by this plugin to import the zipped file onto any other WordPress site that you have administrator access to.' ); ?>
|
198 |
</p>
|
199 |
|
200 |
+
<p>
|
201 |
+
<strong><?php _e( 'Quick hints' ); ?></strong>
|
202 |
+
</p>
|
203 |
+
|
204 |
+
<ul>
|
205 |
+
<li>
|
206 |
+
<i class="ai1wm-icon-arrow-right"></i>
|
207 |
+
<?php _e( 'In the advanced settings section you can configure more precisely the way of exporting.' ); ?>
|
208 |
+
</li>
|
209 |
+
<li>
|
210 |
+
<i class="ai1wm-icon-arrow-right"></i>
|
211 |
+
<?php _e( 'Press "Export Package" button and the site archive file will pop up in your browser.' ); ?>
|
212 |
+
</li>
|
213 |
+
<li>
|
214 |
+
<i class="ai1wm-icon-arrow-right"></i>
|
215 |
+
<?php _e( 'Once the file is successfully downloaded on your computer you can import it in all of your WordPress sites.' ); ?>
|
216 |
+
</li>
|
217 |
+
</ul>
|
218 |
|
219 |
<p>
|
220 |
<?php _e( 'For any comments or suggestions please use the feedback form below.' ); ?><br />
|
lib/view/import/index.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -60,7 +60,7 @@
|
|
60 |
</p>
|
61 |
|
62 |
<?php if ( $is_accessible ): ?>
|
63 |
-
<div class="ai1wm-upload-file-message
|
64 |
|
65 |
<form action="" method="post" enctype="multipart/form-data">
|
66 |
<div id="ai1wm-plupload-upload-ui" class="hide-if-no-js">
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
60 |
</p>
|
61 |
|
62 |
<?php if ( $is_accessible ): ?>
|
63 |
+
<div class="ai1wm-message ai1wm-upload-file-message"></div>
|
64 |
|
65 |
<form action="" method="post" enctype="multipart/form-data">
|
66 |
<div id="ai1wm-plupload-upload-ui" class="hide-if-no-js">
|
loader.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -84,6 +84,10 @@ require_once AI1WM_CONTROLLER_PATH .
|
|
84 |
DIRECTORY_SEPARATOR .
|
85 |
'class-ai1wm-report-controller.php';
|
86 |
|
|
|
|
|
|
|
|
|
87 |
require_once AI1WM_MODEL_PATH .
|
88 |
DIRECTORY_SEPARATOR .
|
89 |
'class-ai1wm-template.php';
|
@@ -112,3 +116,6 @@ require_once AI1WM_MODEL_PATH .
|
|
112 |
DIRECTORY_SEPARATOR .
|
113 |
'class-ai1wm-report.php';
|
114 |
|
|
|
|
|
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
84 |
DIRECTORY_SEPARATOR .
|
85 |
'class-ai1wm-report-controller.php';
|
86 |
|
87 |
+
require_once AI1WM_CONTROLLER_PATH .
|
88 |
+
DIRECTORY_SEPARATOR .
|
89 |
+
'class-ai1wm-message-controller.php';
|
90 |
+
|
91 |
require_once AI1WM_MODEL_PATH .
|
92 |
DIRECTORY_SEPARATOR .
|
93 |
'class-ai1wm-template.php';
|
116 |
DIRECTORY_SEPARATOR .
|
117 |
'class-ai1wm-report.php';
|
118 |
|
119 |
+
require_once AI1WM_MODEL_PATH .
|
120 |
+
DIRECTORY_SEPARATOR .
|
121 |
+
'class-ai1wm-message.php';
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: yani.iliev, bangelov, mirkov
|
|
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: 3.9
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
All-in-One WP Migration is the only tools that you will ever needs when you need to perform site migration of your WordPress blog.
|
@@ -73,6 +73,14 @@ All in One WP Plugin is the first plugin to offer true mobile experience on Word
|
|
73 |
3. Plugin Menu
|
74 |
|
75 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
= 1.8.1 =
|
77 |
* Added "Get Support" link in the plugin list page
|
78 |
* Removed "All in One WP Migration Beta" link from the readme file
|
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: 3.9
|
6 |
+
Stable tag: 1.9.0
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
All-in-One WP Migration is the only tools that you will ever needs when you need to perform site migration of your WordPress blog.
|
73 |
3. Plugin Menu
|
74 |
|
75 |
== Changelog ==
|
76 |
+
= 1.9.0 =
|
77 |
+
* New improved design on the export/import page
|
78 |
+
* Added an option for gathering user experience statistics
|
79 |
+
* Added a message box with important notifications about the plugin
|
80 |
+
* Fixed a bug when exporting database with multiple WordPress sites
|
81 |
+
* Fixed a bug when exporting database with table constraints
|
82 |
+
* Fixed a bug with auto recognizing zip archiver
|
83 |
+
|
84 |
= 1.8.1 =
|
85 |
* Added "Get Support" link in the plugin list page
|
86 |
* Removed "All in One WP Migration Beta" link from the readme file
|
uninstall.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (C)
|
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
|
@@ -38,6 +38,7 @@ if ( defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
|
38 |
delete_option( Ai1wm_Export::EXPORT_LAST_OPTIONS );
|
39 |
delete_option( Ai1wm_Error::ERROR_HANDLER );
|
40 |
delete_option( Ai1wm_Error::EXCEPTION_HANDLER );
|
|
|
41 |
|
42 |
// delete any files not located inside plugin's folder (if any)
|
43 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (C) 2014 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
|
38 |
delete_option( Ai1wm_Export::EXPORT_LAST_OPTIONS );
|
39 |
delete_option( Ai1wm_Error::ERROR_HANDLER );
|
40 |
delete_option( Ai1wm_Error::EXCEPTION_HANDLER );
|
41 |
+
delete_option( Ai1wm_Message::MESSAGE_INFO_CLOSE );
|
42 |
|
43 |
// delete any files not located inside plugin's folder (if any)
|
44 |
}
|