-
".self::getTitle($type, $mstack)."
+
".self::getTitle($type, $mstack)."
{$message}
@@ -910,19 +917,19 @@ function show_emessage($mode, $message, $line = 0, $file = "") {
require_once(e_THEME.'index.html');
exit;
}
- echo "
CRITICAL_ERROR:
Line $line $file
Error reported as: ".$message."
";
+ echo "
CRITICAL_ERROR:
Line $line $file
Error reported as: ".$message."
";
break;
case "MESSAGE":
- if(strstr(e_SELF, "forum_post.php"))
+ if(strstr(e_SELF, "forum_post.php")) //FIXME Shouldn't be here.
{
return;
}
- $ns->tablerender("", "
{$message}
");
+ $ns->tablerender("", "
{$message}
");
break;
case "ADMIN_MESSAGE":
- $ns->tablerender("Admin Message", "
{$message}
");
+ $ns->tablerender("Admin Message", "
{$message}
");
break;
case "ALERT":
diff --git a/e107_themes/bootstrap/admin_style.css b/e107_themes/bootstrap/admin_style.css
index 98981dac4..f3edf77cf 100644
--- a/e107_themes/bootstrap/admin_style.css
+++ b/e107_themes/bootstrap/admin_style.css
@@ -179,40 +179,10 @@ img.S32:hover {}
/******** SyS Messages / Message text formatting */
-/* message boxes */
-.s-message { }
-.s-message div.info,
-.s-message div.error,
-.s-message div.success,
-.s-message div.debug,
-.s-message div.warning { padding: 8px 35px 8px 14px;
- margin-bottom: 20px;
- color: #c09853;
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
- background-color: #fcf8e3;
- border: 1px solid #fbeed5;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px; }
+.s-message .s-message-title { height: 32px; background: 0 50% no-repeat; padding-left: 42px; line-height: 32px; }
-.s-message div.info { color: #3a87ad;
- background-color: #d9edf7;
- border-color: #bce8f1; }
-.s-message div.error { color: #b94a48;
- background-color: #f2dede;
- border-color: #eed3d7; }
-.s-message div.success { color: #468847;
- background-color: #dff0d8;
- border-color: #d6e9c6; }
-.s-message div.warning { background-color:#FFFFD5; border: 1px solid #FFCC00; }
-.s-message div.debug { background-color:#FFFFFF; border: 1px solid #EAEAEA; }
-
-
-
-.s-message .s-message-title { height: 32px; background: 0 50% no-repeat; padding-left: 42px; font-size: 14px; font-weight: bold; line-height: 32px; }
-
i.s-message-icon {
background: url(images/adminicons_32.png) no-repeat top left;
display: inline-block;
@@ -227,17 +197,6 @@ i.s-message-warning { background-position: -777px -37px; width: 32px; height: 32
i.s-message-info { background-position: -1480px 0; width: 32px; height: 32px; }
i.s-message-debug { background-position: -1480px 0; width: 32px; height: 32px; }
-
-/*
-.s-message div.info .s-message-title { background-image: url(images/messagebox_info.png); }
-.s-message div.error .s-message-title { background-image: url(images/messagebox_critical.png); }
-.s-message div.success .s-message-title { background-image: url(images/ok.png); }
-.s-message div.warning .s-message-title { background-image: url(images/messagebox_warning.png); }
-.s-message div.debug .s-message-title { background-image: url(images/messagebox_info.png); }
-*/
-
-
-
.s-message-body { padding-left: 42px; }
.s-message-item {}
diff --git a/e107_themes/bootstrap/style.css b/e107_themes/bootstrap/style.css
index e517522e6..5c67fd61d 100644
--- a/e107_themes/bootstrap/style.css
+++ b/e107_themes/bootstrap/style.css
@@ -14,35 +14,31 @@ body { padding-top: 75px; padding-bottom: 40px; }
/******** SyS Messages / Message text formatting */
/* message boxes */
-.s-message { }
-.s-message div.info,
-.s-message div.error,
-.s-message div.success,
-.s-message div.debug,
-.s-message div.warning { padding: 5px; margin-bottom: 10px; }
-
-
-.s-message div.info { background-color:#C1E0FF; border: 1px solid #3399FF; }
-.s-message div.error { background-color:#FFCECE; border: 1px solid #CC0000; }
-.s-message div.success { background-color:#DFFFDF; border: 1px solid #009900; }
-.s-message div.warning { background-color:#FFFFD5; border: 1px solid #FFCC00; }
-.s-message div.debug { background-color:#FFFFFF; border: 1px solid #EAEAEA; }
-
-.s-message .s-message-title { height: 32px; background: 0 50% no-repeat; padding-left: 42px; font-size: 14px; font-weight: bold; line-height: 32px; }
-
-.s-message div.info .s-message-title { background-image: url(images/messagebox_info.png); }
-.s-message div.error .s-message-title { background-image: url(images/messagebox_critical.png); }
-.s-message div.success .s-message-title { background-image: url(images/ok.png); }
-.s-message div.warning .s-message-title { background-image: url(images/messagebox_warning.png); }
-.s-message div.debug .s-message-title { background-image: url(images/messagebox_info.png); }
/* message text (overall) */
-.warning { color: #FF6600 }
-.success { color: green; }
-.error { color: #FF0000 }
-.info {}
-.required { color:red }
+/******** SyS Messages / Message text formatting */
+
+.s-message .s-message-title { height: 32px; background: 0 50% no-repeat; padding-left: 42px; line-height: 32px; }
+
+
+i.s-message-icon {
+ background: url(images/adminicons_32.png) no-repeat top left;
+ display: inline-block;
+ width:32px;
+ height:32px;
+ float:left;
+}
+
+i.s-message-success { background-position: -592px -37px; width: 32px; height: 32px; }
+i.s-message-error { background-position: -925px 0; width: 32px; height: 32px; }
+i.s-message-warning { background-position: -777px -37px; width: 32px; height: 32px; }
+i.s-message-info { background-position: -1480px 0; width: 32px; height: 32px; }
+i.s-message-debug { background-position: -1480px 0; width: 32px; height: 32px; }
+
+.s-message-body { padding-left: 42px; }
+
+.required { color:red }
/* THEME SPECIFIC CSS *********************************************************************************************/
/******** Page Base */
diff --git a/e107_web/css/e107.css b/e107_web/css/e107.css
index 1d83a5be1..521fcbd30 100644
--- a/e107_web/css/e107.css
+++ b/e107_web/css/e107.css
@@ -70,7 +70,7 @@ a.cpage-np.current { text-decoration: none; }
/******** SyS Messages / Message text formatting */
/* message boxes */
.s-message { }
-
+/*
.s-message div.info,
.s-message div.error,
.s-message div.success,