mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
add globals to naked php_self in function redirect, comment out some broken code in template linux-at-work
This commit is contained in:
parent
ae720586a4
commit
111a88617b
@ -122,7 +122,7 @@
|
||||
|
||||
if ( !$url )
|
||||
{
|
||||
$url = $PHP_SELF;
|
||||
$url = $GLOBALS['PHP_SELF'];
|
||||
}
|
||||
if ( $iis )
|
||||
{
|
||||
|
@ -143,8 +143,13 @@
|
||||
{
|
||||
$tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
|
||||
$tpl->set_unknowns('remove');
|
||||
|
||||
|
||||
$tpl->set_file(array('footer' => 'footer.tpl'));
|
||||
|
||||
// as of Dec 10, 2001 this powered by code is somewhat broken
|
||||
// can cause a loop of error message about power bottom being invalid
|
||||
// needs repair (ed: Angles)
|
||||
/*
|
||||
$tpl->set_block('footer','B_powered_bottom','V_powered_bottom');
|
||||
|
||||
if ($GLOBALS['phpgw_info']['server']['showpoweredbyon'] == 'bottom')
|
||||
@ -163,7 +168,8 @@
|
||||
{
|
||||
$tpl->set_var('V_powered_bottom','');
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
$GLOBALS['phpgw']->common->hook('navbar_end');
|
||||
$tpl->pfp('out','footer');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user