mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 11:29:23 +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 )
|
||||
{
|
||||
|
@ -145,6 +145,11 @@
|
||||
$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,6 +168,7 @@
|
||||
{
|
||||
$tpl->set_var('V_powered_bottom','');
|
||||
}
|
||||
*/
|
||||
|
||||
$GLOBALS['phpgw']->common->hook('navbar_end');
|
||||
$tpl->pfp('out','footer');
|
||||
|
Loading…
Reference in New Issue
Block a user