[interchange-cvs] interchange - kwalsh modified 2 files

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Aug 1 01:42:29 EDT 2007


User:      kwalsh
Date:      2007-08-01 05:42:29 GMT
Modified:  code/SystemTag error.coretag
Modified:  dist/standard/variables THEME_CSS
Log:
    * Closing bug #83 (Fallback value for std_label uses deprecated
      HTML font tag).

	-- Added a ".contrast" class to the THEME_CSS file.

	-- Modified the [error] tag to use <span class="contrast"> instead
	   of <FONT COLOR=RED>.

Revision  Changes    Path
1.8       +4 -4      interchange/code/SystemTag/error.coretag


rev 1.8, prev_rev 1.7
Index: error.coretag
===================================================================
RCS file: /var/cvs/interchange/code/SystemTag/error.coretag,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- error.coretag	30 Mar 2007 23:40:49 -0000	1.7
+++ error.coretag	1 Aug 2007 05:42:29 -0000	1.8
@@ -5,14 +5,14 @@
 # the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.  See the LICENSE file for details.
 # 
-# $Id: error.coretag,v 1.7 2007/03/30 23:40:49 pajamian Exp $
+# $Id: error.coretag,v 1.8 2007/08/01 05:42:29 kwalsh Exp $
 
 ### This is in package Vend::Interpolate, and may make reference
 ### to variables in that module
 UserTag error               Order        name
 UserTag error               addAttr
 UserTag error               PosNumber    1
-UserTag error               Version      $Revision: 1.7 $
+UserTag error               Version      $Revision: 1.8 $
 UserTag error               Routine      <<EOR
 sub set_error {
 	my ($error, $var, $opt) = @_;
@@ -128,8 +128,8 @@
 		}
 		else {
 			$text = <<EOF;
-<FONT COLOR=RED>{LABEL} <SMALL><I>(%s)</I></SMALL></FONT>
-[else]{REQUIRED <B>}{LABEL}{REQUIRED </B>}[/else]
+<span class="contrast">{LABEL} <small><i>(%s)</i></small></span>
+[else]{REQUIRED <b>}{LABEL}{REQUIRED </b>}[/else]
 EOF
 		}
 		$text =~ s/{LABEL}/$opt->{std_label}/g;



1.6       +4 -0      interchange/dist/standard/variables/THEME_CSS


rev 1.6, prev_rev 1.5
Index: THEME_CSS
===================================================================
RCS file: /var/cvs/interchange/dist/standard/variables/THEME_CSS,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- THEME_CSS	11 Nov 2005 12:45:02 -0000	1.5
+++ THEME_CSS	1 Aug 2007 05:42:29 -0000	1.6
@@ -535,5 +535,9 @@
 
 /**********End results_ component classes*/
 
+.contrast {
+	color: [either][var CONTRAST][or]#FF0000[/either];
+}
+
 </style>
 








More information about the interchange-cvs mailing list