mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Added option to allow developers to include there own header and footer
This commit is contained in:
parent
d915c33f18
commit
f87e15da72
@ -9,14 +9,24 @@
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\***************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags = array('currentapp' => $cats_app,
|
||||
'enable_nextmatchs_class' => True,
|
||||
'noappheader' => True,
|
||||
'noappfooter' => True);
|
||||
$phpgw_info['flags'] = array(
|
||||
'currentapp' => $cats_app,
|
||||
'enable_nextmatchs_class' => True
|
||||
);
|
||||
|
||||
if (! $appheader)
|
||||
{
|
||||
$phpgw_info['flags']['noappheader'] = True;
|
||||
}
|
||||
|
||||
if (! $appfooter)
|
||||
{
|
||||
$phpgw_info['flags']['noappfooter'] = True;
|
||||
}
|
||||
|
||||
$phpgw_info['flags'] = $phpgw_flags;
|
||||
include('../header.inc.php');
|
||||
|
||||
$t = CreateObject('phpgwapi.Template',$phpgw->common->get_tpl_dir('preferences'));
|
||||
|
Loading…
Reference in New Issue
Block a user