]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 313045: Display quoted text in a different color; patch by Olav Vitters...
authorjocuri%softhome.net <>
Wed, 22 Feb 2006 06:18:35 +0000 (06:18 +0000)
committerjocuri%softhome.net <>
Wed, 22 Feb 2006 06:18:35 +0000 (06:18 +0000)
globals.pl
skins/standard/global.css

index 68299378b4af8beb90969ddfe567b49d26d2569f..9979008d1d622f502eeb85d977e5132ad8d59bb4 100644 (file)
@@ -529,6 +529,10 @@ sub quoteUrls {
 
     $text = html_quote($text);
 
+    # Color quoted text
+    $text =~ s~^(&gt;.+)$~<span class="quote">$1</span >~mg;
+    $text =~ s~</span >\n<span class="quote">~\n~g;
+    
     # mailto:
     # Use |<nothing> so that $1 is defined regardless
     $text =~ s~\b(mailto:|)?([\w\.\-\+\=]+\@[\w\-]+(?:\.[\w\-]+)+)\b
index 5570c6f2c9703d2add0e347e3bba9554ef8b0d6d..cddfc96f956ce457557544ab58657c5dadbe6381 100644 (file)
@@ -336,4 +336,8 @@ td.tab.spacer
     background: white;
 }
 
+span.quote {
+    color: #65379c;
+}
+
 table#flags th, table#flags td { vertical-align: baseline; text-align: left; }