[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware theme.p
From: |
Patrick Walsh <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware theme.php,1.2,1.3 |
Date: |
Sun, 01 Sep 2002 04:35:14 -0400 |
Update of /cvsroot/phpgroupware/sitemgr/sitemgr-site/themes/phpgroupware
In directory subversions:/tmp/cvs-serv5529/themes/phpgroupware
Modified Files:
theme.php
Log Message:
i don't know why it says some of these were changed. but whatever, the major
differences should be the addition of {block-xxx} vars in content
Index: theme.php
===================================================================
RCS file:
/cvsroot/phpgroupware/sitemgr/sitemgr-site/themes/phpgroupware/theme.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** theme.php 1 Sep 2002 04:22:46 -0000 1.2
--- theme.php 1 Sep 2002 08:35:12 -0000 1.3
***************
*** 152,154 ****
--- 152,164 ----
}
+ function themecenterbox($title, $content) {
+ $tmpl_file = "themes/phpgroupware/center_block.html";
+ $thefile = implode("", file($tmpl_file));
+ $thefile = addslashes($thefile);
+ $thefile = "\$r_file=\"".$thefile."\";";
+ $thefile = parse_theme_vars($thefile);
+ eval($thefile);
+ return $r_file;
+ }
+
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware theme.php,1.2,1.3,
Patrick Walsh <address@hidden> <=