phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgroupware/index.php, 1.121


From: nomail
Subject: [Phpgroupware-cvs] phpgroupware/index.php, 1.121
Date: Thu, 30 Dec 2004 11:46:22 +0100

Update of /phpgroupware
Modified Files:
        Branch: 
          index.php

date: 2004/12/30 10:46:22;  author: skwashd;  state: Exp;  lines: +11 -14

Log Message:
create new head
=====================================================================
Index: phpgroupware/index.php
diff -u phpgroupware/index.php:1.120 phpgroupware/index.php:1.121
--- phpgroupware/index.php:1.120        Sun May 18 15:22:43 2003
+++ phpgroupware/index.php      Thu Dec 30 10:46:22 2004
@@ -8,9 +8,10 @@
        *  Free Software Foundation; either version 2 of the License, or (at 
your  *
        *  option) any later version.                                           
   *
        
\**************************************************************************/
+
        /* $Id$ */
 
-       $GLOBALS['phpgw_info'] = array();
+       $phpgw_info = array();
        if (!file_exists('header.inc.php'))
        {
                Header('Location: setup/index.php');
@@ -44,20 +45,17 @@
                $invalid_data = True;
        }
 
-       // FIX ME! Don't leave this, we need to create a common place where 
applications can access
-       // things like the spell check class that the API has. (jengo)
        if ($app == 'phpgwapi')
        {
                $app = 'home';
                $api_requested = True;
        }
 
-       $GLOBALS['phpgw_info']['flags'] = array
-       (
-               //'noheader'   => True,
+       $GLOBALS['phpgw_info']['flags'] = array(
+               'noheader'   => True,
+               'nonavbar'   => True,
                'currentapp' => $app
        );
-
        include('./header.inc.php');
 
        if ($app == 'home' && ! $api_requested)
@@ -76,12 +74,6 @@
        {
 //             eval("\$GLOBALS['obj']->$method();");
                execmethod($_GET['menuaction']);
-
-               if ($GLOBALS['phpgw_info']['server']['support_old_style_apps'])
-               {
-                       $GLOBALS['phpgw']->common->stop_xslt_capture(); // send 
captured output to the xslttpl
-               }
-
                unset($app);
                unset($obj);
                unset($class);
@@ -118,4 +110,9 @@
                $_obj->get_list();
                */
        }
+
+       if (! $GLOBALS['phpgw_info']['nofooter'])
+       {
+               $GLOBALS['phpgw']->common->phpgw_footer();
+       }
 ?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]