[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.hooks.inc.php,1.12,1.13
From: |
Miles Lott <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.hooks.inc.php,1.12,1.13 |
Date: |
Sat, 16 Feb 2002 09:30:42 -0500 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv11920
Modified Files:
class.hooks.inc.php
Log Message:
rework function to remove php3 error - need to test on php4 again
Index: class.hooks.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.hooks.inc.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** class.hooks.inc.php 10 Feb 2002 19:34:11 -0000 1.12
--- class.hooks.inc.php 16 Feb 2002 14:30:40 -0000 1.13
***************
*** 161,165 ****
@function single_tpl
@abstract call the hooks for a single application, return
output from the hook
! @discussion This is only used so far for the wcm app (website
hook) - Milosch.
@param $location hook location - required
@param $appname application name - optional
--- 161,165 ----
@function single_tpl
@abstract call the hooks for a single application, return
output from the hook
! @discussion This is a BROKEN function on php3... wcm is not
using it anymore
@param $location hook location - required
@param $appname application name - optional
***************
*** 179,183 ****
(
$GLOBALS['phpgw_info']['user']['apps'][$appname] || (($no_permission_check ||
$location == 'config' || $appname == 'phpgwapi') && $appname)) )
{
! return include($f);
}
else
--- 179,184 ----
(
$GLOBALS['phpgw_info']['user']['apps'][$appname] || (($no_permission_check ||
$location == 'config' || $appname == 'phpgwapi') && $appname)) )
{
! eval('$retval = include(\$f);');
! return $retval;
}
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.hooks.inc.php,1.12,1.13,
Miles Lott <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: wcm/website main.php,1.7,1.8
- Next by Date:
[Phpgroupware-cvs] CVS: wcm/inc class.soelement.inc.php,1.9,1.10 class.sopage.inc.php,1.8,1.9 class.sosite.inc.php,1.5,1.6 class.uielement.inc.php,1.7,1.8 class.uipage.inc.php,1.10,1.11 class.uisite.inc.php,1.4,1.5
- Previous by thread:
[Phpgroupware-cvs] CVS: wcm/website main.php,1.7,1.8
- Next by thread:
[Phpgroupware-cvs] CVS: wcm/inc class.soelement.inc.php,1.9,1.10 class.sopage.inc.php,1.8,1.9 class.sosite.inc.php,1.5,1.6 class.uielement.inc.php,1.7,1.8 class.uipage.inc.php,1.10,1.11 class.uisite.inc.php,1.4,1.5
- Index(es):