now each app can set $GLOBALS['phpgw_info']['flags']['xslt_app'] itself

This commit is contained in:
Ralf Becker 2003-04-21 08:38:17 +00:00
parent 33c30dc147
commit 200c2a0457

View File

@ -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)