mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
now each app can set $GLOBALS['phpgw_info']['flags']['xslt_app'] itself
This commit is contained in:
parent
33c30dc147
commit
200c2a0457
14
index.php
14
index.php
@ -52,20 +52,6 @@
|
|||||||
'currentapp' => $app
|
'currentapp' => $app
|
||||||
);
|
);
|
||||||
|
|
||||||
/* dont call the xslt_app_tpl if app isnt ported to xslt yet.
|
|
||||||
this is only temporarily. when more apps use xslt we should change it to ask for non xslt apps*/
|
|
||||||
|
|
||||||
switch($app)
|
|
||||||
{
|
|
||||||
case 'notes':
|
|
||||||
case 'property':
|
|
||||||
case 'filemanager':
|
|
||||||
case 'email':
|
|
||||||
case 'admin':
|
|
||||||
$GLOBALS['phpgw_info']['flags']['xslt_app'] = True;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
include('./header.inc.php');
|
include('./header.inc.php');
|
||||||
|
|
||||||
if ($app == 'home' && ! $api_requested)
|
if ($app == 'home' && ! $api_requested)
|
||||||
|
Loading…
Reference in New Issue
Block a user