summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-25 13:47:07 +0000
committeralecpl <alec@alec.pl>2011-11-25 13:47:07 +0000
commite0960f6365b4b0af314d955847b9422067c83eb2 (patch)
tree158714b9d499cd6bdb5dec392de13c178a129ea3 /skins
parent9b33118bf57345fed8ca0d250b492a8d0e711730 (diff)
- Prevent from memory_limit exceeding when trying to parse big messages bodies (#1487424):
don't try to parse it, display notice with a link to download it directly
Diffstat (limited to 'skins')
-rw-r--r--skins/default/common.css1
-rw-r--r--skins/default/mail.css14
2 files changed, 12 insertions, 3 deletions
diff --git a/skins/default/common.css b/skins/default/common.css
index bf00dc351..0597d21a2 100644
--- a/skins/default/common.css
+++ b/skins/default/common.css
@@ -232,6 +232,7 @@ img
}
#message div.notice,
+#messagebody .part-notice,
#message-objects div.notice
{
background: url(images/display/icons.png) 6px 3px no-repeat;
diff --git a/skins/default/mail.css b/skins/default/mail.css
index 42a62de3f..accf3fdc2 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -1203,20 +1203,28 @@ div.message-htmlpart div.rcmBody
margin: 8px;
}
-#message-objects div
+#messagebody span.part-notice
+{
+ display: block;
+}
+
+#message-objects div,
+#messagebody span.part-notice
{
margin: 8px;
min-height: 20px;
padding: 10px 10px 6px 46px;
}
-#message-objects div a
+#message-objects div a,
+#messagebody span.part-notice a
{
color: #666666;
padding-left: 10px;
}
-#message-objects div a:hover
+#message-objects div a:hover,
+#messagebody span.part-notice a:hover
{
color: #333333;
}