From: jocuri%softhome.net <> Date: Wed, 22 Feb 2006 06:18:35 +0000 (+0000) Subject: Patch for bug 313045: Display quoted text in a different color; patch by Olav Vitters... X-Git-Tag: bugzilla-2.23.1~152 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=631d910c3dbce389638550c66ab2e6d847703687;p=thirdparty%2Fbugzilla.git Patch for bug 313045: Display quoted text in a different color; patch by Olav Vitters , r=LpSolit, a=justdave. --- diff --git a/globals.pl b/globals.pl index 68299378b4..9979008d1d 100644 --- a/globals.pl +++ b/globals.pl @@ -529,6 +529,10 @@ sub quoteUrls { $text = html_quote($text); + # Color quoted text + $text =~ s~^(>.+)$~$1~mg; + $text =~ s~\n~\n~g; + # mailto: # Use | so that $1 is defined regardless $text =~ s~\b(mailto:|)?([\w\.\-\+\=]+\@[\w\-]+(?:\.[\w\-]+)+)\b diff --git a/skins/standard/global.css b/skins/standard/global.css index 5570c6f2c9..cddfc96f95 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -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; }