[otrs-cvs] CVS: ITSMCMDB/Kernel/Output/HTML LayoutITSMCMDB.pm, 1.9, 1.10

cvs-log at otrs.org cvs-log at otrs.org
Mon Nov 6 16:40:28 CET 2006


Update of /home/cvs/ITSMCMDB/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv16234/Kernel/Output/HTML

Modified Files:
	LayoutITSMCMDB.pm 
Log Message:
moved regexp and require check to core module

Index: LayoutITSMCMDB.pm
===================================================================
RCS file: /home/cvs/ITSMCMDB/Kernel/Output/HTML/LayoutITSMCMDB.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** LayoutITSMCMDB.pm	3 Nov 2006 13:33:08 -0000	1.9
--- LayoutITSMCMDB.pm	6 Nov 2006 15:40:26 -0000	1.10
***************
*** 55,62 ****
      $String .= "> ";
  
!     if ($Param{RegExp} && $Param{Value}) {
!         if ($Param{Value} !~ /$Param{RegExp}/i) {
!             $String .= "<font color=red>* \$Text{\"invalid\"}</font>";
!         }
      }
  
--- 55,63 ----
      $String .= "> ";
  
!     if ($Param{RequiredInvalid}) {
!         $String .= "<font color=red>* \$Text{\"invalid\"}</font>";
!     }
!     elsif ($Param{RegExpInvalid}) {
!         $String .= "<font color=red>* \$Text{\"invalid\"}</font>";
      }
  



More information about the cvs-log mailing list