diff options
author | ivan <ivan> | 2008-08-26 23:53:47 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-08-26 23:53:47 +0000 |
commit | 4f18470292da780c53dcf4885c9227562ee07742 (patch) | |
tree | 807efd7ec68afba2c6c5c3c590f3ae11a7858a19 /httemplate/elements | |
parent | baf358bed42ad8459f4124b77febb7d937e761c1 (diff) |
add unchecked vs. ok distinction to lint
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/mcp_lint.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/elements/mcp_lint.html b/httemplate/elements/mcp_lint.html index 826549c65..9e2b5cab6 100644 --- a/httemplate/elements/mcp_lint.html +++ b/httemplate/elements/mcp_lint.html @@ -1,5 +1,6 @@ % foreach my $lint (@lint) { - <FONT COLOR="#FF0000"><% $lint %></FONT><BR> +% my $color = ( $lint =~ /unchecked$/ ? '#FF9900' : '#FF0000' ); + <FONT COLOR="<% $color %>"><% $lint %></FONT><BR> % } <%init> |