This commit has been accessed 608 times via Git panel.
commit b61eab044fd70a83e43b3e83a70bc1ee197f6c01
tree 071b099f5c7e462c5d99c37693816a9d9d3f98af
parent 47c4c2e7fcd56d426cccaf2b86fce981ef01342b
author Engels Antonio <engels@majcms.org> 1343092165 +0800
committer Engels Antonio <engels@majcms.org> 1343092165 +0800
Fix box-shadow property declaration
diff --git a/folders.php b/folders.php
index 30ab524..bbd52e5 100644
--- a/folders.php
+++ b/folders.php
@@ -35,7 +35,7 @@ if (is_array($quota) and ($quota[limit] > 0)) {
echo "<style>";
echo "\r\n@-webkit-keyframes quota { 0% { width: 0; height: 11px; } }";
echo "\r\n@-moz-keyframes quota { 0% { width: 0; height: 11px; } }";
- echo "\r\n.bar { height: 11px; padding: 0; margin: 0; background: $quota_bar_bgcolor; border: $quota_bar_border solid 1px; -webkit-animation-name: quota; -moz-animation-name: quota; -webkit-animation-duration: 1s; -moz-animation-duration: 1s; -webkit-animation-iteration-count: 1; -moz-animation-iteration-count: 1; -webkit-animation-timing-function: ease; -moz-animation-timing-function: ease; -moz-box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; -webkit-box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; -box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; -khtml-box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; }";
+ echo "\r\n.bar { height: 11px; padding: 0; margin: 0; background: $quota_bar_bgcolor; border: $quota_bar_border solid 1px; -webkit-animation-name: quota; -moz-animation-name: quota; -webkit-animation-duration: 1s; -moz-animation-duration: 1s; -webkit-animation-iteration-count: 1; -moz-animation-iteration-count: 1; -webkit-animation-timing-function: ease; -moz-animation-timing-function: ease; -moz-box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; -webkit-box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; -khtml-box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; }";
echo "\r\n</style>";
}
diff --git a/inbox.php b/inbox.php
index c21e5d9..9355b77 100644
--- a/inbox.php
+++ b/inbox.php
@@ -168,11 +168,11 @@ foreach ($mbox_sort as $mbox_num => $mbox_row) {
foreach ($header_raw_lines as $header_raw_line) {
- if (strstr($header_raw_line,"X-Priority:")) {
+ if (strstr($header_raw_line,"X-Priority: 1")) {
$header_priority = $header_raw_line;
}
- if (strstr($header_raw_line,"Importance:")) {
+ if (strstr($header_raw_line,"Importance: High")) {
$header_priority = $header_raw_line;
}
}
diff --git a/read.php b/read.php
index 2134e79..6963f54 100644
--- a/read.php
+++ b/read.php
@@ -44,11 +44,11 @@ if (isset($_POST['msg']) and !empty($_POST['msg']) and is_numeric($_POST['msg'])
$header_user_agent = $header_raw_line;
}
- if (strstr($header_raw_line,"X-Priority:")) {
+ if (strstr($header_raw_line,"X-Priority: 1")) {
$header_priority = $header_raw_line;
}
- if (strstr($header_raw_line,"Importance:")) {
+ if (strstr($header_raw_line,"Importance: High")) {
$header_priority = $header_raw_line;
}
tree 071b099f5c7e462c5d99c37693816a9d9d3f98af
parent 47c4c2e7fcd56d426cccaf2b86fce981ef01342b
author Engels Antonio <engels@majcms.org> 1343092165 +0800
committer Engels Antonio <engels@majcms.org> 1343092165 +0800
Fix box-shadow property declaration
diff --git a/folders.php b/folders.php
index 30ab524..bbd52e5 100644
--- a/folders.php
+++ b/folders.php
@@ -35,7 +35,7 @@ if (is_array($quota) and ($quota[limit] > 0)) {
echo "<style>";
echo "\r\n@-webkit-keyframes quota { 0% { width: 0; height: 11px; } }";
echo "\r\n@-moz-keyframes quota { 0% { width: 0; height: 11px; } }";
- echo "\r\n.bar { height: 11px; padding: 0; margin: 0; background: $quota_bar_bgcolor; border: $quota_bar_border solid 1px; -webkit-animation-name: quota; -moz-animation-name: quota; -webkit-animation-duration: 1s; -moz-animation-duration: 1s; -webkit-animation-iteration-count: 1; -moz-animation-iteration-count: 1; -webkit-animation-timing-function: ease; -moz-animation-timing-function: ease; -moz-box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; -webkit-box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; -box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; -khtml-box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; }";
+ echo "\r\n.bar { height: 11px; padding: 0; margin: 0; background: $quota_bar_bgcolor; border: $quota_bar_border solid 1px; -webkit-animation-name: quota; -moz-animation-name: quota; -webkit-animation-duration: 1s; -moz-animation-duration: 1s; -webkit-animation-iteration-count: 1; -moz-animation-iteration-count: 1; -webkit-animation-timing-function: ease; -moz-animation-timing-function: ease; -moz-box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; -webkit-box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; -khtml-box-shadow: inset 0 0 $quota_bar_shadow $quota_bar_border, 0 0 1px #777; }";
echo "\r\n</style>";
}
diff --git a/inbox.php b/inbox.php
index c21e5d9..9355b77 100644
--- a/inbox.php
+++ b/inbox.php
@@ -168,11 +168,11 @@ foreach ($mbox_sort as $mbox_num => $mbox_row) {
foreach ($header_raw_lines as $header_raw_line) {
- if (strstr($header_raw_line,"X-Priority:")) {
+ if (strstr($header_raw_line,"X-Priority: 1")) {
$header_priority = $header_raw_line;
}
- if (strstr($header_raw_line,"Importance:")) {
+ if (strstr($header_raw_line,"Importance: High")) {
$header_priority = $header_raw_line;
}
}
diff --git a/read.php b/read.php
index 2134e79..6963f54 100644
--- a/read.php
+++ b/read.php
@@ -44,11 +44,11 @@ if (isset($_POST['msg']) and !empty($_POST['msg']) and is_numeric($_POST['msg'])
$header_user_agent = $header_raw_line;
}
- if (strstr($header_raw_line,"X-Priority:")) {
+ if (strstr($header_raw_line,"X-Priority: 1")) {
$header_priority = $header_raw_line;
}
- if (strstr($header_raw_line,"Importance:")) {
+ if (strstr($header_raw_line,"Importance: High")) {
$header_priority = $header_raw_line;
}