Added NewsStatPress to compatible plugin list. BETWEEN statement is newly supported. Changed the style of Admin dashboard to match MP6 styles.
git-svn-id: https://plugins.svn.wordpress.org/sqlite-integration/trunk@760976 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
6401a9b0ec
commit
be737aa08e
|
@ -70,6 +70,7 @@ class PDOSQLiteDriver {
|
||||||
$this->_rewrite_limit_usage();
|
$this->_rewrite_limit_usage();
|
||||||
$this->_rewrite_order_by_usage();
|
$this->_rewrite_order_by_usage();
|
||||||
$this->_rewrite_regexp();
|
$this->_rewrite_regexp();
|
||||||
|
$this->_rewrite_between();
|
||||||
break;
|
break;
|
||||||
case 'delete':
|
case 'delete':
|
||||||
$this->_strip_backticks();
|
$this->_strip_backticks();
|
||||||
|
@ -518,7 +519,8 @@ class PDOSQLiteDriver {
|
||||||
$column_name = trim($match[1]);
|
$column_name = trim($match[1]);
|
||||||
$min_value = trim($match[2]);
|
$min_value = trim($match[2]);
|
||||||
$max_value = trim($match[3]);
|
$max_value = trim($match[3]);
|
||||||
$this->_query = str_ireplace($match[0], " $column_name >= $min_value AND $column_name <= $max_value ", $this->_query);
|
$replacement = " $column_name >= '$min_value' AND $column_name <= '$max_value'";
|
||||||
|
$this->_query = str_ireplace($match[0], $replacement, $this->_query);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,21 +1,8 @@
|
||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
#sqlite-admin-wrap h2,
|
#sqlite-admin-wrap h2,
|
||||||
#sqlite-admin-side-wrap h2 {
|
#sqlite-admin-side-wrap h2 {
|
||||||
background: rgb(73, 90, 88);
|
background: rgb(34, 34, 34);
|
||||||
background: -moz-linear-gradient(bottom, rgba(73, 90, 88, 1), rgba(73, 90, 88, 0.5), rgba(73, 90, 88, 0));
|
color: rgb(256, 256, 256);
|
||||||
background: -webkit-gradient(linear, bottom, top, from(rgba(73, 90, 88, 1)), color-stop(0.5, rgba(73, 90, 88, 0.5)), to(rgba(73, 90, 88, 0)));
|
|
||||||
background: linear-gradient(to top, rgba(73, 90, 88, 1), rgba(73, 90, 88, 0.2));
|
|
||||||
color: rgb(247, 254, 236);
|
|
||||||
-webkit-border-top-right-radius: 6px;
|
|
||||||
-webkit-border-top-left-radius: 6px;
|
|
||||||
-moz-border-radius-topright: 6px;
|
|
||||||
-moz-border-radius-topleft: 6px;
|
|
||||||
border-top-right-radius: 6px;
|
|
||||||
border-top-left-radius: 6px;
|
|
||||||
text-shadow: -1px -1px 0 rgb(93, 69, 35),
|
|
||||||
1px -1px 0 rgb(93, 69, 35),
|
|
||||||
-1px 1px 0 rgb(93, 69, 35),
|
|
||||||
1px 1px 0 rgb(93, 69, 35);
|
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
.navigation {
|
.navigation {
|
||||||
|
@ -37,13 +24,8 @@
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: .5px solit #000;
|
border: .5px solit #000;
|
||||||
-webkit-border-top-right-radius: 6px;
|
background: rgb(51, 51, 51);
|
||||||
-webkit-border-top-left-radius: 6px;
|
color: (256, 256, 256);
|
||||||
-moz-border-radius-topright: 6px;
|
|
||||||
-moz-border-radius-topleft: 6px;
|
|
||||||
border-top-right-radius: 6px;
|
|
||||||
border-top-left-radius: 6px;
|
|
||||||
box-shadow: 5px 5px 5px #eee;
|
|
||||||
}
|
}
|
||||||
.menu-selected {
|
.menu-selected {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
@ -54,22 +36,8 @@
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: .5px solit #000;
|
border: .5px solit #000;
|
||||||
-webkit-border-top-right-radius: 6px;
|
background: rgb(0, 116, 162);
|
||||||
-webkit-border-top-left-radius: 6px;
|
color: rgb(256, 256, 256);
|
||||||
-moz-border-radius-topright: 6px;
|
|
||||||
-moz-border-radius-topleft: 6px;
|
|
||||||
border-top-right-radius: 6px;
|
|
||||||
border-top-left-radius: 6px;
|
|
||||||
box-shadow: 5px 5px 5px #eee;
|
|
||||||
background: rgb(73, 90, 88);
|
|
||||||
background: -moz-linear-gradient(bottom, rgba(73, 90, 88, 1), rgba(73, 90, 88, 0.5), rgba(73, 90, 88, 0));
|
|
||||||
background: -webkit-gradient(linear, bottom, top, from(rgba(73, 90, 88, 1)), color-stop(0.5, rgba(73, 90, 88, 0.5)), to(rgba(73, 90, 88, 0)));
|
|
||||||
background: linear-gradient(to top, rgba(73, 90, 88, 1), rgba(73, 90, 88, 0.2));
|
|
||||||
color: rgb(247, 254, 236);
|
|
||||||
text-shadow: -1px -1px 0 rgb(93, 69, 35),
|
|
||||||
1px -1px 0 rgb(93, 69, 35),
|
|
||||||
-1px 1px 0 rgb(93, 69, 35),
|
|
||||||
1px 1px 0 rgb(93, 69, 35);
|
|
||||||
}
|
}
|
||||||
.menu-item a {
|
.menu-item a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -78,6 +46,7 @@
|
||||||
color: #1d1d1d;
|
color: #1d1d1d;
|
||||||
font-size: 10pt;
|
font-size: 10pt;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
|
background: rgb(256, 256, 256);
|
||||||
/* border-top: 0; */
|
/* border-top: 0; */
|
||||||
-webkit-border-bottom-right-radius: 6px;
|
-webkit-border-bottom-right-radius: 6px;
|
||||||
-webkit-border-bottom-left-radius: 6px;
|
-webkit-border-bottom-left-radius: 6px;
|
||||||
|
@ -85,6 +54,12 @@
|
||||||
-moz-border-radius-bottomleft: 6px;
|
-moz-border-radius-bottomleft: 6px;
|
||||||
border-bottom-right-radius: 6px;
|
border-bottom-right-radius: 6px;
|
||||||
border-bottom-left-radius: 6px;
|
border-bottom-left-radius: 6px;
|
||||||
|
-webkit-border-top-right-radius: 6px;
|
||||||
|
-webkit-border-top-left-radius: 6px;
|
||||||
|
-moz-border-radius-topright: 6px;
|
||||||
|
-moz-border-radius-topleft: 6px;
|
||||||
|
border-top-right-radius: 6px;
|
||||||
|
border-top-left-radius: 6px;
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
min-height: 100px;
|
min-height: 100px;
|
||||||
|
@ -99,6 +74,7 @@
|
||||||
color: #1d1d1d;
|
color: #1d1d1d;
|
||||||
font-size: 10pt;
|
font-size: 10pt;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
|
background: rgb(256, 256, 256);
|
||||||
/* border-top: 0; */
|
/* border-top: 0; */
|
||||||
-webkit-border-bottom-right-radius: 6px;
|
-webkit-border-bottom-right-radius: 6px;
|
||||||
-webkit-border-bottom-left-radius: 6px;
|
-webkit-border-bottom-left-radius: 6px;
|
||||||
|
@ -106,6 +82,12 @@
|
||||||
-moz-border-radius-bottomleft: 6px;
|
-moz-border-radius-bottomleft: 6px;
|
||||||
border-bottom-right-radius: 6px;
|
border-bottom-right-radius: 6px;
|
||||||
border-bottom-left-radius: 6px;
|
border-bottom-left-radius: 6px;
|
||||||
|
-webkit-border-top-right-radius: 6px;
|
||||||
|
-webkit-border-top-left-radius: 6px;
|
||||||
|
-moz-border-radius-topright: 6px;
|
||||||
|
-moz-border-radius-topleft: 6px;
|
||||||
|
border-top-right-radius: 6px;
|
||||||
|
border-top-left-radius: 6px;
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
min-height: 100px;
|
min-height: 100px;
|
||||||
|
|
|
@ -1,21 +1,8 @@
|
||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
#sqlite-admin-wrap h2,
|
#sqlite-admin-wrap h2,
|
||||||
#sqlite-admin-side-wrap h2 {
|
#sqlite-admin-side-wrap h2 {
|
||||||
background: rgb(73, 90, 88);
|
background: rgb(34, 34, 34);
|
||||||
background: -moz-linear-gradient(bottom, rgba(73, 90, 88, 1), rgba(73, 90, 88, 0.5), rgba(73, 90, 88, 0));
|
color: rgb(256, 256, 256);
|
||||||
background: -webkit-gradient(linear, bottom, top, from(rgba(73, 90, 88, 1)), color-stop(0.5, rgba(73, 90, 88, 0.5)), to(rgba(73, 90, 88, 0)));
|
|
||||||
background: linear-gradient(to top, rgba(73, 90, 88, 1), rgba(73, 90, 88, 0.2));
|
|
||||||
color: rgb(247, 254, 236);
|
|
||||||
-webkit-border-top-right-radius: 6px;
|
|
||||||
-webkit-border-top-left-radius: 6px;
|
|
||||||
-moz-border-radius-topright: 6px;
|
|
||||||
-moz-border-radius-topleft: 6px;
|
|
||||||
border-top-right-radius: 6px;
|
|
||||||
border-top-left-radius: 6px;
|
|
||||||
text-shadow: -1px -1px 0 rgb(93, 69, 35),
|
|
||||||
1px -1px 0 rgb(93, 69, 35),
|
|
||||||
-1px 1px 0 rgb(93, 69, 35),
|
|
||||||
1px 1px 0 rgb(93, 69, 35);
|
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
h3 {
|
h3 {
|
||||||
|
@ -40,13 +27,8 @@ h3 {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: .5px solit #000;
|
border: .5px solit #000;
|
||||||
-webkit-border-top-right-radius: 6px;
|
background: rgb(51, 51, 51);
|
||||||
-webkit-border-top-left-radius: 6px;
|
color: (256, 256, 256);
|
||||||
-moz-border-radius-topright: 6px;
|
|
||||||
-moz-border-radius-topleft: 6px;
|
|
||||||
border-top-right-radius: 6px;
|
|
||||||
border-top-left-radius: 6px;
|
|
||||||
box-shadow: 5px 5px 5px #eee;
|
|
||||||
}
|
}
|
||||||
.menu-selected {
|
.menu-selected {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
@ -57,30 +39,18 @@ h3 {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: .5px solit #000;
|
border: .5px solit #000;
|
||||||
-webkit-border-top-right-radius: 6px;
|
background: rgb(0, 116, 162);
|
||||||
-webkit-border-top-left-radius: 6px;
|
color: rgb(256, 256, 256);
|
||||||
-moz-border-radius-topright: 6px;
|
|
||||||
-moz-border-radius-topleft: 6px;
|
|
||||||
border-top-right-radius: 6px;
|
|
||||||
border-top-left-radius: 6px;
|
|
||||||
box-shadow: 5px 5px 5px #eee;
|
|
||||||
background: rgb(73, 90, 88);
|
|
||||||
background: -moz-linear-gradient(bottom, rgba(73, 90, 88, 1), rgba(73, 90, 88, 0.5), rgba(73, 90, 88, 0));
|
|
||||||
background: -webkit-gradient(linear, bottom, top, from(rgba(73, 90, 88, 1)), color-stop(0.5, rgba(73, 90, 88, 0.5)), to(rgba(73, 90, 88, 0)));
|
|
||||||
background: linear-gradient(to top, rgba(73, 90, 88, 1), rgba(73, 90, 88, 0.2));
|
|
||||||
color: rgb(247, 254, 236);
|
|
||||||
text-shadow: -1px -1px 0 rgb(93, 69, 35),
|
|
||||||
1px -1px 0 rgb(93, 69, 35),
|
|
||||||
-1px 1px 0 rgb(93, 69, 35),
|
|
||||||
1px 1px 0 rgb(93, 69, 35);
|
|
||||||
}
|
}
|
||||||
.menu-item a {
|
.menu-item a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
color: rgb(256, 256, 256);
|
||||||
}
|
}
|
||||||
#sqlite-admin-wrap {
|
#sqlite-admin-wrap {
|
||||||
color: #1d1d1d;
|
color: #1d1d1d;
|
||||||
font-size: 10pt;
|
font-size: 10pt;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
|
background: rgb(256, 256, 256);
|
||||||
/* border-top: 0; */
|
/* border-top: 0; */
|
||||||
-webkit-border-bottom-right-radius: 6px;
|
-webkit-border-bottom-right-radius: 6px;
|
||||||
-webkit-border-bottom-left-radius: 6px;
|
-webkit-border-bottom-left-radius: 6px;
|
||||||
|
@ -88,11 +58,17 @@ h3 {
|
||||||
-moz-border-radius-bottomleft: 6px;
|
-moz-border-radius-bottomleft: 6px;
|
||||||
border-bottom-right-radius: 6px;
|
border-bottom-right-radius: 6px;
|
||||||
border-bottom-left-radius: 6px;
|
border-bottom-left-radius: 6px;
|
||||||
|
-webkit-border-top-right-radius: 6px;
|
||||||
|
-webkit-border-top-left-radius: 6px;
|
||||||
|
-moz-border-radius-topright: 6px;
|
||||||
|
-moz-border-radius-topleft: 6px;
|
||||||
|
border-top-right-radius: 6px;
|
||||||
|
border-top-left-radius: 6px;
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 60%;
|
width: 58%;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
box-shadow: 5px 5px 5px #eee;
|
box-shadow: 5px 5px 5px #eee;
|
||||||
|
@ -102,6 +78,7 @@ h3 {
|
||||||
color: #1d1d1d;
|
color: #1d1d1d;
|
||||||
font-size: 10pt;
|
font-size: 10pt;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
|
background: rgb(256, 256, 256);
|
||||||
/* border-top: 0; */
|
/* border-top: 0; */
|
||||||
-webkit-border-bottom-right-radius: 6px;
|
-webkit-border-bottom-right-radius: 6px;
|
||||||
-webkit-border-bottom-left-radius: 6px;
|
-webkit-border-bottom-left-radius: 6px;
|
||||||
|
@ -109,6 +86,12 @@ h3 {
|
||||||
-moz-border-radius-bottomleft: 6px;
|
-moz-border-radius-bottomleft: 6px;
|
||||||
border-bottom-right-radius: 6px;
|
border-bottom-right-radius: 6px;
|
||||||
border-bottom-left-radius: 6px;
|
border-bottom-left-radius: 6px;
|
||||||
|
-webkit-border-top-right-radius: 6px;
|
||||||
|
-webkit-border-top-left-radius: 6px;
|
||||||
|
-moz-border-radius-topright: 6px;
|
||||||
|
-moz-border-radius-topleft: 6px;
|
||||||
|
border-top-right-radius: 6px;
|
||||||
|
border-top-left-radius: 6px;
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
@ -132,7 +115,7 @@ table#status {
|
||||||
}
|
}
|
||||||
table#sqlite-table {
|
table#sqlite-table {
|
||||||
/* width: 700px; */
|
/* width: 700px; */
|
||||||
width: 650px;
|
width: 100%;
|
||||||
}
|
}
|
||||||
th.tbl-name {
|
th.tbl-name {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
|
@ -141,7 +124,7 @@ th.tbl_owner {
|
||||||
width: 105px;
|
width: 105px;
|
||||||
}
|
}
|
||||||
th.tbl_index {
|
th.tbl_index {
|
||||||
width: 350px;
|
width: 300px;
|
||||||
}
|
}
|
||||||
td.system {
|
td.system {
|
||||||
color: rgb(153, 0, 0);
|
color: rgb(153, 0, 0);
|
||||||
|
@ -150,7 +133,7 @@ td.user {
|
||||||
color: rgb(0, 0, 255);
|
color: rgb(0, 0, 255);
|
||||||
}
|
}
|
||||||
td.menu-title {
|
td.menu-title {
|
||||||
width: 90px;
|
width: 95px;
|
||||||
}
|
}
|
||||||
table.statement {
|
table.statement {
|
||||||
width: 500px;
|
width: 500px;
|
||||||
|
@ -176,7 +159,7 @@ tr.workaround {
|
||||||
tr.compatible {
|
tr.compatible {
|
||||||
}
|
}
|
||||||
th.active-plugins {
|
th.active-plugins {
|
||||||
width: 100px;
|
width: 120px;
|
||||||
}
|
}
|
||||||
th.compatible {
|
th.compatible {
|
||||||
width: 80px;
|
width: 80px;
|
||||||
|
|
|
@ -175,6 +175,14 @@
|
||||||
"class":"compatible"
|
"class":"compatible"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"name":"NewStatPress",
|
||||||
|
"compat":"Needs Patch",
|
||||||
|
"patch_url":"http://dogwood.skr.jp/wordpress/plugins/",
|
||||||
|
"reason":"MySQL specific data",
|
||||||
|
"class":"workaround"
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"name":"Optimize Database after Deleting Revisions",
|
"name":"Optimize Database after Deleting Revisions",
|
||||||
"compat":"Probably No",
|
"compat":"Probably No",
|
||||||
|
|
Loading…
Reference in New Issue