phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.base.php, 1.1.1.4


From: nomail
Subject: [Phpgroupware-cvs] property/class.base.php, 1.1.1.4
Date: Fri, 21 May 2004 20:11:36 -0000

Update of /property
Modified Files:
        Branch: 
          class.base.php

date: 2004/04/26 12:21:24;  author: sigurdne;  state: Exp;  lines: +20 -12

Log Message:
no message
=====================================================================
Index: property/class.base.php
diff -u property/class.base.php:1.1.1.3 property/class.base.php:1.1.1.4
--- property/class.base.php:1.1.1.3     Fri Apr 23 21:26:33 2004
+++ property/class.base.php     Mon Apr 26 12:21:24 2004
@@ -43,20 +43,28 @@
                        );
 
 
-               //      
$start_page=$GLOBALS['phpgw_info']['user']['preferences'][$currentapp]['default_start_page'];
-
-                       if ($start_page)
-                       {
-                               
$start_page='sid=cookie&op='.$currentapp.'.ui'.$start_page.'.index';
-                       }
-                       else
+                       
if($GLOBALS['phpgw_data']['api']['op']!='api.base.prefs')
                        {
-                               
$start_page='sid=cookie&op='.$currentapp.'.uilocation.index';
+               //              
$start_page=$GLOBALS['phpgw_info']['user']['preferences'][$currentapp]['default_start_page'];
+
+                               if ($start_page)
+                               {
+                                       
$start_page='sid=cookie&op='.$currentapp.'.ui'.$start_page.'.index';
+                               }
+                               else
+                               {
+                                       
$start_page='sid=cookie&op='.$currentapp.'.uilocation.index';
+                               }
+                               header('Location: 
'.$GLOBALS['HTTP_SERVER_VARS']['PHP_SELF'].'?'.$start_page);
+               //              
$this->bocommon->redirect_link('/index.php',$start_page);
                        }
-                       header('Location: 
'.$GLOBALS['HTTP_SERVER_VARS']['PHP_SELF'].'?'.$start_page);
-                       
//$this->bocommon->redirect_link('/index.php',$start_page);
                }
 
+               function start()
+               {
+//html_print_r($GLOBALS['phpgw_data']);
+                       echo ' ';
+               }
 
                var $prefs = array
                (




reply via email to

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