phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: wcm/website main.php,1.14,1.15


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: wcm/website main.php,1.14,1.15
Date: Sat, 23 Mar 2002 09:25:09 -0500

Update of /cvsroot/phpgroupware/wcm/website
In directory subversions:/tmp/cvs-serv5825/website

Modified Files:
        main.php 
Log Message:
Add color selection and setting for pages and sites



Index: main.php
===================================================================
RCS file: /cvsroot/phpgroupware/wcm/website/main.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** main.php    25 Feb 2002 04:04:00 -0000      1.14
--- main.php    23 Mar 2002 14:25:06 -0000      1.15
***************
*** 72,76 ****
        $tpl->set_var('right_width',   $site_right ? $site_right : '130');
  
!       /* TODO check expiration of each page and element */
  
        /* Read and parse page header */
--- 72,87 ----
        $tpl->set_var('right_width',   $site_right ? $site_right : '130');
  
!       if(@$page['page_bgcolor'])
!       {
!               $tpl->set_var('bgcolor', $page['page_bgcolor']);
!       }
!       elseif(@$wcm->site['site_bgcolor'])
!       {
!               $tpl->set_var('bgcolor', $wcm->site['site_bgcolor']);
!       }
!       else
!       {
!               $tpl->set_var('bgcolor', '#FFFFFF');
!       }
  
        /* Read and parse page header */




reply via email to

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