mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +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 *
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||||
* option) any later version. *
|
* option) any later version. *
|
||||||
\***************************************************************************/
|
\***************************************************************************/
|
||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
$phpgw_flags = array('currentapp' => $cats_app,
|
$phpgw_info['flags'] = array(
|
||||||
'enable_nextmatchs_class' => True,
|
'currentapp' => $cats_app,
|
||||||
'noappheader' => True,
|
'enable_nextmatchs_class' => True
|
||||||
'noappfooter' => True);
|
);
|
||||||
|
|
||||||
|
if (! $appheader)
|
||||||
|
{
|
||||||
|
$phpgw_info['flags']['noappheader'] = True;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (! $appfooter)
|
||||||
|
{
|
||||||
|
$phpgw_info['flags']['noappfooter'] = True;
|
||||||
|
}
|
||||||
|
|
||||||
$phpgw_info['flags'] = $phpgw_flags;
|
|
||||||
include('../header.inc.php');
|
include('../header.inc.php');
|
||||||
|
|
||||||
$t = CreateObject('phpgwapi.Template',$phpgw->common->get_tpl_dir('preferences'));
|
$t = CreateObject('phpgwapi.Template',$phpgw->common->get_tpl_dir('preferences'));
|
||||||
|
Loading…
Reference in New Issue
Block a user