ARI Adminer – WordPress Database Manager - Version 1.0.2

Version Description

  • Ask confirmation on connections bulk delete
Download this release

Release Info

Developer arisoft
Plugin Icon 128x128 ARI Adminer – WordPress Database Manager
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

ari-adminer.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: ARI Adminer
4
Plugin URI: http://wp-quiz.ari-soft.com/plugins/wordpress-adminer.html
5
Description: Powerful, compact and easy to use database manager plugin for WordPress.
6
- Version: 1.0.1
7
Author: ARI Soft
8
Author URI: http://www.ari-soft.com
9
Text Domain: ari-adminer
3
Plugin Name: ARI Adminer
4
Plugin URI: http://wp-quiz.ari-soft.com/plugins/wordpress-adminer.html
5
Description: Powerful, compact and easy to use database manager plugin for WordPress.
6
+ Version: 1.0.2
7
Author: ARI Soft
8
Author URI: http://www.ari-soft.com
9
Text Domain: ari-adminer
assets/common/pages/connections.js CHANGED
@@ -1 +1 @@
1
- ;eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)<36?c.toString(36):String.fromCharCode(c+29))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'\\w{1,2}'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('M(document).i(\'app_ready\',1(e,3){5 $=M,k=$(\'#19\'),E=$(\'#ddlConnectionDriver\'),r=$(\'.Z-o-16\',\'#18\'),I=1(c){5 Q=\'conn-dbtype-\'+c;4 Q},j=1(c){c=c||E.l();5 G=k.t(\'2-N-m\');8(G){5 S=I(G);k.removeClass(S)}8(c){5 U=I(c);k.addClass(U)}k.t(\'2-N-m\',c||\'\')},H=1(p){p=p||7;8(p)3.h.p();$.13.open({items:{src:\'#19\'},mainClass:\'d-form-modal\',m:\'inline\',closeOnBgClick:7},0)},P=1(){4 r.first().l()},R=1(){4 $(\'.16-item:checked\',\'#z\').length>0};3.h=a.createForm(k,{callbacks:{\'onInit\':1(){j()},\'onAfterReset\':1(){j()},\'onAfterPopulate\':1(){j()}}});E.i(\'12\',1(){j()});r.i(\'12\',1(){r.l($(f).l())});$(\'.n-Z-o\',\'#18\').i(\'s\',1(){5 o=P();8(!o){a.b(3.6.9.selectAction);4 7}8(!R()){a.b(3.6.9.selectItem);4 7}a.B();3.L(o);4 7});$(\'#z\').i(\'s\',\'.n-d-11\',1(){5 10=$(f).t(\'2-v\');a.confirm(3.6.9.deleteConfirm,1(){$(\'#hidConnectionId\').l(10);3.L(\'11\')});4 7});$(\'#z\').i(\'s\',\'.d-edit\',1(){5 v=$(f).t(\'2-v\');2={\'D\':\'connections_get-d\',\'connection_id\':v};$.C({m:\'A\',y:3.6.x,2:2,w:\'K\'}).J(1(2){a.1a();8(2.g){3.h.populate(2.g,17);H()}u{}}).F(1(){a.1a()});a.B();4 7});$(\'#btnAddConnection\').i(\'s\',1(){H(17);4 7});$(\'#btnConnectionTest\').14({\'V\':1(){8(!3.h.T(\'test_connection\')){4 7}5 q=3.h.2(),2={\'D\':\'connections_test\',\'d\':q};5 n=f;f.W();$.C({m:\'A\',y:3.6.x,2:2,w:\'K\'}).J(1(2){8(2.g){8(2.g.g){b(3.6.9.connectionOk)}u{b(3.6.9.connectionFailed+\' \'+(2.g.error||\'\'))}}u{b(3.6.9.X)}}).F(1(){b(3.6.9.X)}).15(1(){n.O()});4 7}});$(\'#btnConnectionSave\').14({\'V\':1(){8(!3.h.T(\'d\')){4 7}5 q=3.h.2(),2={\'D\':\'connections_save\',\'d\':q};5 n=f;f.W();$.C({m:\'A\',y:3.6.x,2:2,w:\'K\'}).J(1(2){8(2.g){$.13.close();a.B();$(\'#ctrl_sub_action\').l(\'add\');3.L(\'reload\')}u{b(3.6.9.Y)}}).F(1(){b(3.6.9.Y)}).15(1(){n.O()});4 7}});j()});',[],73,'|function|data|app|return|var|options|false|if|messages|AppHelper|alert|dbType|connection||this|result|connectionForm|on|handleDbType|formContainer|val|type|btn|action|reset|connectionParameters|bulkActionCtrlList|click|attr|else|id|dataType|ajaxUrl|url|gridResults|POST|showLoading|ajax|ctrl|ctrlDbType|fail|prevDbType|openConnectionPopup|getDbTypeClass|done|json|trigger|jQuery|db|complete|getBulkAction|className|hasCheckedItems|prevDbTypeClass|validate|dbTypeClass|onClick|start|connectionTestFailed|connectionSaveFailed|bulk|connectionId|delete|change|magnificPopup|ariButton|always|select|true|ari_adminer_plugin|newConnectionForm|hideLoading'.split('|'),0,{}));
1
+ ;eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)<36?c.toString(36):String.fromCharCode(c+29))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'\\w{1,2}'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('N(document).h(\'app_ready\',1(e,2){4 $=N,l=$(\'#1b\'),D=$(\'#ddlConnectionDriver\'),s=$(\'.11-b-18\',\'#19\'),G=1(d){4 Q=\'conn-dbtype-\'+d;6 Q},o=1(d){d=d||D.m();4 E=l.v(\'3-db-k\');7(E){4 S=G(E);l.removeClass(S)}7(d){4 U=G(d);l.addClass(U)}l.v(\'3-db-k\',d||\'\')},F=1(q){q=q||8;7(q)2.g.q();$.14.open({items:{src:\'#1b\'},mainClass:\'i-form-modal\',k:\'inline\',closeOnBgClick:8},0)},P=1(){6 s.first().m()},R=1(){6 $(\'TBODY .18-item:checked\',\'#A\').length>0};2.g=a.createForm(l,{callbacks:{\'onInit\':1(){o()},\'onAfterReset\':1(){o()},\'onAfterPopulate\':1(){o()}}});D.h(\'13\',1(){o()});s.h(\'13\',1(){s.m($(j).m())});$(\'.n-11-b\',\'#19\').h(\'t\',1(){4 b=P();7(!b){a.c(2.5.9.selectAction);6 8}7(!R()){a.c(2.5.9.selectItem);6 8}4 C=1(b){a.M();2.L(b)};7(b==\'bulk_delete\'){a.12(2.5.9.bulkDeleteConfirm,1(){C(b)})}p{C(b)}6 8});$(\'#A\').h(\'t\',\'.n-i-10\',1(){4 Z=$(j).v(\'3-r\');a.12(2.5.9.deleteConfirm,1(){$(\'#hidConnectionId\').m(Z);2.L(\'10\')});6 8});$(\'#A\').h(\'t\',\'.i-edit\',1(){4 r=$(j).v(\'3-r\');3={\'B\':\'connections_get-i\',\'connection_id\':r};$.z({k:\'y\',x:2.5.K,3:3,J:\'I\'}).H(1(3){a.1a();7(3.f){2.g.populate(3.f,17);F()}p{}}).w(1(){a.1a()});a.M();6 8});$(\'#btnAddConnection\').h(\'t\',1(){F(17);6 8});$(\'#btnConnectionTest\').15({\'V\':1(){7(!2.g.T(\'test_connection\')){6 8}4 u=2.g.3(),3={\'B\':\'connections_test\',\'i\':u};4 n=j;j.W();$.z({k:\'y\',x:2.5.K,3:3,J:\'I\'}).H(1(3){7(3.f){7(3.f.f){c(2.5.9.connectionOk)}p{c(2.5.9.connectionFailed+\' \'+(3.f.error||\'\'))}}p{c(2.5.9.X)}}).w(1(){c(2.5.9.X)}).16(1(){n.O()});6 8}});$(\'#btnConnectionSave\').15({\'V\':1(){7(!2.g.T(\'i\')){6 8}4 u=2.g.3(),3={\'B\':\'connections_save\',\'i\':u};4 n=j;j.W();$.z({k:\'y\',x:2.5.K,3:3,J:\'I\'}).H(1(3){7(3.f){$.14.close();a.M();$(\'#ctrl_sub_action\').m(\'add\');2.L(\'reload\')}p{c(2.5.9.Y)}}).w(1(){c(2.5.9.Y)}).16(1(){n.O()});6 8}});o()});',[],74,'|function|app|data|var|options|return|if|false|messages|AppHelper|action|alert|dbType||result|connectionForm|on|connection|this|type|formContainer|val|btn|handleDbType|else|reset|id|bulkActionCtrlList|click|connectionParameters|attr|fail|url|POST|ajax|gridResults|ctrl|actionHandler|ctrlDbType|prevDbType|openConnectionPopup|getDbTypeClass|done|json|dataType|ajaxUrl|trigger|showLoading|jQuery|complete|getBulkAction|className|hasCheckedItems|prevDbTypeClass|validate|dbTypeClass|onClick|start|connectionTestFailed|connectionSaveFailed|connectionId|delete|bulk|confirm|change|magnificPopup|ariButton|always|true|select|ari_adminer_plugin|hideLoading|newConnectionForm'.split('|'),0,{}));
includes/class-plugin.php CHANGED
@@ -82,8 +82,8 @@ class Plugin extends Ari_Plugin {
82
private function admin_enqueue_scripts() {
83
$options = $this->options;
84
85
- wp_register_script( 'ari-app', $options->assets_url . 'common/app.js', array( 'jquery' ), $options->version );
86
- wp_register_script( 'ari-app-helper', $options->assets_url . 'common/helper.js', array( 'ari-app' ), $options->version );
87
wp_register_style( 'ari-adminer', $options->assets_url . 'common/css/style.css', array(), $options->version );
88
89
wp_register_script( 'ari-button', $options->assets_url . 'common/button.js', array( 'jquery' ), $options->version );
82
private function admin_enqueue_scripts() {
83
$options = $this->options;
84
85
+ wp_register_script( 'ari-adminer-app', $options->assets_url . 'common/app.js', array( 'jquery' ), $options->version );
86
+ wp_register_script( 'ari-adminer-app-helper', $options->assets_url . 'common/helper.js', array( 'ari-adminer-app' ), $options->version );
87
wp_register_style( 'ari-adminer', $options->assets_url . 'common/css/style.css', array(), $options->version );
88
89
wp_register_script( 'ari-button', $options->assets_url . 'common/button.js', array( 'jquery' ), $options->version );
includes/defines.php CHANGED
@@ -1,5 +1,5 @@
1
<?php
2
- define( 'ARIADMINER_VERSION', '1.0.1' );
3
define( 'ARIADMINER_SLUG', 'ari-adminer' );
4
define( 'ARIADMINER_ASSETS_URL', ARIADMINER_URL . 'assets/' );
5
define( 'ARIADMINER_VERSION_OPTION', 'ari_adminer' );
1
<?php
2
+ define( 'ARIADMINER_VERSION', '1.0.2' );
3
define( 'ARIADMINER_SLUG', 'ari-adminer' );
4
define( 'ARIADMINER_ASSETS_URL', ARIADMINER_URL . 'assets/' );
5
define( 'ARIADMINER_VERSION_OPTION', 'ari_adminer' );
includes/views/adminer-runner/class-html.php CHANGED
@@ -10,7 +10,7 @@ class Html extends Base {
10
wp_enqueue_style( 'ari-modal' );
11
wp_enqueue_script( 'ari-modal' );
12
wp_enqueue_script( 'ari-button' );
13
- wp_enqueue_script( 'ari-adminer-page-runner', ARIADMINER_ASSETS_URL . 'common/pages/adminer_runner.js', array( 'ari-app', 'ari-modal', 'ari-button' ), ARIADMINER_VERSION );
14
15
parent::display( $tmpl );
16
}
10
wp_enqueue_style( 'ari-modal' );
11
wp_enqueue_script( 'ari-modal' );
12
wp_enqueue_script( 'ari-button' );
13
+ wp_enqueue_script( 'ari-adminer-page-runner', ARIADMINER_ASSETS_URL . 'common/pages/adminer_runner.js', array( 'ari-adminer-app', 'ari-modal', 'ari-button' ), ARIADMINER_VERSION );
14
15
parent::display( $tmpl );
16
}
includes/views/class-base.php CHANGED
@@ -9,8 +9,8 @@ class Base extends View {
9
10
public function display( $tmpl = null ) {
11
wp_enqueue_style( 'ari-adminer' );
12
- wp_enqueue_script( 'ari-app' );
13
- wp_enqueue_script( 'ari-app-helper' );
14
15
echo '<div id="ari_adminer_plugin" class="wrap">';
16
9
10
public function display( $tmpl = null ) {
11
wp_enqueue_style( 'ari-adminer' );
12
+ wp_enqueue_script( 'ari-adminer-app' );
13
+ wp_enqueue_script( 'ari-adminer-app-helper' );
14
15
echo '<div id="ari_adminer_plugin" class="wrap">';
16
includes/views/connections/class-html.php CHANGED
@@ -16,7 +16,7 @@ class Html extends Base {
16
wp_enqueue_script( 'ari-button' );
17
wp_enqueue_style( 'ari-modal' );
18
wp_enqueue_script( 'ari-modal' );
19
- wp_enqueue_script( 'ari-adminer-page-connections', ARIADMINER_ASSETS_URL . 'common/pages/connections.js', array( 'ari-app', 'ari-modal', 'ari-button' ), ARIADMINER_VERSION );
20
21
parent::display( $tmpl );
22
}
@@ -29,6 +29,8 @@ class Html extends Base {
29
30
'messages' => array(
31
'deleteConfirm' => __( 'Do you want to delete the selected item?', 'ari-adminer' ),
32
33
'connectionOk' => 'Connection parameters are valid.',
34
16
wp_enqueue_script( 'ari-button' );
17
wp_enqueue_style( 'ari-modal' );
18
wp_enqueue_script( 'ari-modal' );
19
+ wp_enqueue_script( 'ari-adminer-page-connections', ARIADMINER_ASSETS_URL . 'common/pages/connections.js', array( 'ari-adminer-app', 'ari-modal', 'ari-button' ), ARIADMINER_VERSION );
20
21
parent::display( $tmpl );
22
}
29
30
'messages' => array(
31
'deleteConfirm' => __( 'Do you want to delete the selected item?', 'ari-adminer' ),
32
+
33
+ 'bulkDeleteConfirm' => __( 'Do you want to delete the selected items?', 'ari-adminer' ),
34
35
'connectionOk' => 'Connection parameters are valid.',
36
includes/views/settings/class-html.php CHANGED
@@ -8,7 +8,7 @@ class Html extends Base {
8
$this->set_title( __( 'ARI Adminer - Settings', 'ari-adminer' ) );
9
10
wp_enqueue_script( 'jquery-ui-tooltip' );
11
- wp_enqueue_script( 'ari-adminer-page-settings', ARIADMINER_ASSETS_URL . 'common/pages/settings.js', array( 'ari-app' ), ARIADMINER_VERSION );
12
13
parent::display( $tmpl );
14
}
8
$this->set_title( __( 'ARI Adminer - Settings', 'ari-adminer' ) );
9
10
wp_enqueue_script( 'jquery-ui-tooltip' );
11
+ wp_enqueue_script( 'ari-adminer-page-settings', ARIADMINER_ASSETS_URL . 'common/pages/settings.js', array( 'ari-adminer-app' ), ARIADMINER_VERSION );
12
13
parent::display( $tmpl );
14
}
languages/ari-adminer.pot CHANGED
@@ -7,7 +7,7 @@ msgstr ""
7
"Project-Id-Version: ARI "
8
"Adminer v 1.0.0\n"
9
"POT-Creation-Date: "
10
- "2016-12-20 12:53+0300\n"
11
"PO-Revision-Date: \n"
12
"Last-Translator: Your "
13
"Name <you@example.com>\n"
@@ -118,20 +118,20 @@ msgstr ""
118
msgid "Settings"
119
msgstr ""
120
121
- #: includes/controllers/adminer-runner/class-run.php:16
122
msgid ""
123
"You do not have "
124
"permissions to run "
125
"Adminer"
126
msgstr ""
127
128
- #: includes/controllers/adminer-runner/class-run.php:30
129
msgid ""
130
"The selected connection "
131
"is not available."
132
msgstr ""
133
134
- #: includes/controllers/adminer-runner/class-run.php:46
135
msgid ""
136
"Connection parameters "
137
"are invalid."
@@ -179,6 +179,10 @@ msgstr ""
179
msgid "SQLite"
180
msgstr ""
181
182
#: includes/helpers/class-screen.php:11
183
msgid "Help"
184
msgstr ""
@@ -290,67 +294,73 @@ msgid ""
290
"Follow us on Twitter"
291
msgstr ""
292
293
- #: includes/views/adminer-runner/tmpl/default.php:37
294
msgid ""
295
"DB Connection parameters"
296
msgstr ""
297
298
- #: includes/views/adminer-runner/tmpl/default.php:42
299
msgid "Connection"
300
msgstr ""
301
302
- #: includes/views/adminer-runner/tmpl/default.php:44
303
msgid ""
304
"- Custom parameters -"
305
msgstr ""
306
307
- #: includes/views/adminer-runner/tmpl/default.php:45
308
msgid ""
309
"- WordPress database -"
310
msgstr ""
311
312
- #: includes/views/adminer-runner/tmpl/default.php:60
313
#: includes/views/connections/tmpl/default.php:43
314
msgid "DB Type"
315
msgstr ""
316
317
- #: includes/views/adminer-runner/tmpl/default.php:68
318
- #: includes/views/connections/tmpl/default.php:51
319
msgid "Host"
320
msgstr ""
321
322
- #: includes/views/adminer-runner/tmpl/default.php:73
323
- #: includes/views/connections/tmpl/default.php:56
324
msgid "Path to DB file"
325
msgstr ""
326
327
- #: includes/views/adminer-runner/tmpl/default.php:74
328
- #: includes/views/connections/tmpl/default.php:57
329
msgid "DB name"
330
msgstr ""
331
332
- #: includes/views/adminer-runner/tmpl/default.php:79
333
- #: includes/views/connections/tmpl/default.php:62
334
msgid "User"
335
msgstr ""
336
337
- #: includes/views/adminer-runner/tmpl/default.php:84
338
- #: includes/views/connections/tmpl/default.php:67
339
msgid "Password"
340
msgstr ""
341
342
- #: includes/views/adminer-runner/tmpl/default.php:89
343
- #: includes/views/connections/tmpl/default.php:73
344
msgid "Test Connection"
345
msgstr ""
346
347
- #: includes/views/adminer-runner/tmpl/default.php:94
348
msgid ""
349
"Run Adminer in modal "
350
"window"
351
msgstr ""
352
353
- #: includes/views/adminer-runner/tmpl/default.php:95
354
msgid ""
355
"Run Adminer in a new "
356
"window"
@@ -382,25 +392,31 @@ msgid ""
382
"the selected item?"
383
msgstr ""
384
385
- #: includes/views/connections/class-html.php:112
386
#: includes/views/connections/tmpl/default.php:38
387
msgid "Title"
388
msgstr ""
389
390
- #: includes/views/connections/class-html.php:127
391
msgid "Edit"
392
msgstr ""
393
394
- #: includes/views/connections/class-html.php:133
395
#: includes/views/connections/tmpl/toolbar.php:9
396
msgid "Delete"
397
msgstr ""
398
399
- #: includes/views/connections/class-html.php:142
400
msgid "Show more details"
401
msgstr ""
402
403
- #: includes/views/connections/class-html.php:152
404
msgid "Type"
405
msgstr ""
406
@@ -412,7 +428,7 @@ msgstr ""
412
msgid "Connection settings"
413
msgstr ""
414
415
- #: includes/views/connections/tmpl/default.php:72
416
msgid "Save"
417
msgstr ""
418
7
"Project-Id-Version: ARI "
8
"Adminer v 1.0.0\n"
9
"POT-Creation-Date: "
10
+ "2016-12-24 22:58+0300\n"
11
"PO-Revision-Date: \n"
12
"Last-Translator: Your "
13
"Name <you@example.com>\n"
118
msgid "Settings"
119
msgstr ""
120
121
+ #: includes/controllers/adminer-runner/class-run.php:17
122
msgid ""
123
"You do not have "
124
"permissions to run "
125
"Adminer"
126
msgstr ""
127
128
+ #: includes/controllers/adminer-runner/class-run.php:31
129
msgid ""
130
"The selected connection "
131
"is not available."
132
msgstr ""
133
134
+ #: includes/controllers/adminer-runner/class-run.php:47
135
msgid ""
136
"Connection parameters "
137
"are invalid."
179
msgid "SQLite"
180
msgstr ""
181
182
+ #: includes/helpers/class-helper.php:98
183
+ msgid "PostgreSQL"
184
+ msgstr ""
185
+
186
#: includes/helpers/class-screen.php:11
187
msgid "Help"
188
msgstr ""
294
"Follow us on Twitter"
295
msgstr ""
296
297
+ #: includes/views/adminer-runner/tmpl/default.php:31
298
+ msgid ""
299
+ "Other our WordPress "
300
+ "plugins"
301
+ msgstr ""
302
+
303
+ #: includes/views/adminer-runner/tmpl/default.php:40
304
msgid ""
305
"DB Connection parameters"
306
msgstr ""
307
308
+ #: includes/views/adminer-runner/tmpl/default.php:45
309
msgid "Connection"
310
msgstr ""
311
312
+ #: includes/views/adminer-runner/tmpl/default.php:47
313
msgid ""
314
"- Custom parameters -"
315
msgstr ""
316
317
+ #: includes/views/adminer-runner/tmpl/default.php:48
318
msgid ""
319
"- WordPress database -"
320
msgstr ""
321
322
+ #: includes/views/adminer-runner/tmpl/default.php:63
323
#: includes/views/connections/tmpl/default.php:43
324
msgid "DB Type"
325
msgstr ""
326
327
+ #: includes/views/adminer-runner/tmpl/default.php:72
328
+ #: includes/views/connections/tmpl/default.php:52
329
msgid "Host"
330
msgstr ""
331
332
+ #: includes/views/adminer-runner/tmpl/default.php:77
333
+ #: includes/views/connections/tmpl/default.php:57
334
msgid "Path to DB file"
335
msgstr ""
336
337
+ #: includes/views/adminer-runner/tmpl/default.php:78
338
+ #: includes/views/connections/tmpl/default.php:58
339
msgid "DB name"
340
msgstr ""
341
342
+ #: includes/views/adminer-runner/tmpl/default.php:83
343
+ #: includes/views/connections/tmpl/default.php:63
344
msgid "User"
345
msgstr ""
346
347
+ #: includes/views/adminer-runner/tmpl/default.php:88
348
+ #: includes/views/connections/tmpl/default.php:68
349
msgid "Password"
350
msgstr ""
351
352
+ #: includes/views/adminer-runner/tmpl/default.php:93
353
+ #: includes/views/connections/tmpl/default.php:74
354
msgid "Test Connection"
355
msgstr ""
356
357
+ #: includes/views/adminer-runner/tmpl/default.php:98
358
msgid ""
359
"Run Adminer in modal "
360
"window"
361
msgstr ""
362
363
+ #: includes/views/adminer-runner/tmpl/default.php:99
364
msgid ""
365
"Run Adminer in a new "
366
"window"
392
"the selected item?"
393
msgstr ""
394
395
+ #: includes/views/connections/class-html.php:33
396
+ msgid ""
397
+ "Do you want to delete "
398
+ "the selected items?"
399
+ msgstr ""
400
+
401
+ #: includes/views/connections/class-html.php:114
402
#: includes/views/connections/tmpl/default.php:38
403
msgid "Title"
404
msgstr ""
405
406
+ #: includes/views/connections/class-html.php:129
407
msgid "Edit"
408
msgstr ""
409
410
+ #: includes/views/connections/class-html.php:135
411
#: includes/views/connections/tmpl/toolbar.php:9
412
msgid "Delete"
413
msgstr ""
414
415
+ #: includes/views/connections/class-html.php:144
416
msgid "Show more details"
417
msgstr ""
418
419
+ #: includes/views/connections/class-html.php:154
420
msgid "Type"
421
msgstr ""
422
428
msgid "Connection settings"
429
msgstr ""
430
431
+ #: includes/views/connections/tmpl/default.php:73
432
msgid "Save"
433
msgstr ""
434
libraries/arisoft/core/utils/class-array-helper.php CHANGED
@@ -45,4 +45,11 @@ class Array_Helper {
45
46
return $data;
47
}
48
}
45
46
return $data;
47
}
48
+
49
+ static public function ensure_array( $val ) {
50
+ if ( ! is_array( $val ) )
51
+ $val = array( $val );
52
+
53
+ return $val;
54
+ }
55
}
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wp-quiz.ari-soft.com/plugins/wordpress-adminer.html
4
Tags: adminer, sql, database, mysql, report, sqlite, table, postgresql, dump, backup, import, export, phpmyadmin
5
Requires at least: 4.0
6
Tested up to: 4.7.0
7
- Stable tag: 1.0.1
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -67,6 +67,9 @@ Sure, it is available [here](http://www.ari-soft.com/docs/wordpress/ari-adminer/
67
68
== Changelog ==
69
70
= 1.0.1 =
71
* Added PostgreSQL support
72
@@ -76,6 +79,9 @@ Sure, it is available [here](http://www.ari-soft.com/docs/wordpress/ari-adminer/
76
77
== Upgrade Notice ==
78
79
= 1.0.1 =
80
* Added PostgreSQL support
81
4
Tags: adminer, sql, database, mysql, report, sqlite, table, postgresql, dump, backup, import, export, phpmyadmin
5
Requires at least: 4.0
6
Tested up to: 4.7.0
7
+ Stable tag: 1.0.2
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
67
68
== Changelog ==
69
70
+ = 1.0.2 =
71
+ * Ask confirmation on connections bulk delete
72
+
73
= 1.0.1 =
74
* Added PostgreSQL support
75
79
80
== Upgrade Notice ==
81
82
+ = 1.0.2 =
83
+ * Ask confirmation on connections bulk delete
84
+
85
= 1.0.1 =
86
* Added PostgreSQL support
87