[Top][All Lists]
[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 */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: wcm/website main.php,1.14,1.15,
Miles Lott <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: wcm/setup setup.inc.php,1.7,1.8 tables_current.inc.php,1.6,1.7 tables_update.inc.php,1.4,1.5
- Next by Date:
[Phpgroupware-cvs] CVS: wcm/templates/default page_form.tpl,1.11,1.12 site_form.tpl,1.9,1.10
- Previous by thread:
[Phpgroupware-cvs] CVS: wcm/setup setup.inc.php,1.7,1.8 tables_current.inc.php,1.6,1.7 tables_update.inc.php,1.4,1.5
- Next by thread:
[Phpgroupware-cvs] CVS: wcm/templates/default page_form.tpl,1.11,1.12 site_form.tpl,1.9,1.10
- Index(es):