phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: etemplate/inc class.html.inc.php,1.18,1.19


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/inc class.html.inc.php,1.18,1.19
Date: Sun, 27 Apr 2003 04:18:55 -0400

Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv16438

Modified Files:
        class.html.inc.php 
Log Message:
splitted up themeStyles in theme2css, style and themeStyles

Index: class.html.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.html.inc.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** class.html.inc.php  22 Apr 2003 23:59:21 -0000      1.18
--- class.html.inc.php  27 Apr 2003 08:18:53 -0000      1.19
***************
*** 327,340 ****
        /*!
        @function themeStyles
!       @abstract returns simple stylesheet for nextmatch row-colors
        @result the classes 'th' = nextmatch header, 'row_on'+'row_off' = 
alternating rows
        */
        function themeStyles()
        {
!               return $this->style(
!                       ".th { background: 
".$GLOBALS['phpgw_info']['theme']['th_bg']."; }\n".
                        ".row_on,.th_bright { background: 
".$GLOBALS['phpgw_info']['theme']['row_on']."; }\n".
!                       ".row_off { background: 
".$GLOBALS['phpgw_info']['theme']['row_off']."; }\n"
!               );
        }
  
--- 327,349 ----
        /*!
        @function themeStyles
!       @abstract returns simple stylesheet (incl. <STYLE> tags) for nextmatch 
row-colors
        @result the classes 'th' = nextmatch header, 'row_on'+'row_off' = 
alternating rows
        */
        function themeStyles()
        {
!               return $this->style($this->theme2css());
!       }
! 
!       /*!
!       @function theme2css
!       @abstract returns simple stylesheet for nextmatch row-colors
!       @result the classes 'th' = nextmatch header, 'row_on'+'row_off' = 
alternating rows
!       */
!       function theme2css()
!       {
!               return 
!                       ".th { background: 
".$GLOBALS['phpgw_info']['theme']['th_bg']."; font-weight: bold; }\n".
                        ".row_on,.th_bright { background: 
".$GLOBALS['phpgw_info']['theme']['row_on']."; }\n".
!                       ".row_off { background: 
".$GLOBALS['phpgw_info']['theme']['row_off']."; }\n";
        }
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]