[freeside-commits] freeside/httemplate/elements mcp_lint.html, 1.1, 1.2

Ivan,,, ivan at wavetail.420.am
Tue Aug 26 16:53:49 PDT 2008


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv18678/httemplate/elements

Modified Files:
	mcp_lint.html 
Log Message:
add unchecked vs. ok distinction to lint

Index: mcp_lint.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/mcp_lint.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mcp_lint.html	22 Aug 2008 03:01:06 -0000	1.1
+++ mcp_lint.html	26 Aug 2008 23:53:47 -0000	1.2
@@ -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>



More information about the freeside-commits mailing list