phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: nomail
Subject: [Phpgroupware-cvs] property/class.uiproject.php, 1.1.1.4
Date: Fri, 21 May 2004 19:05:57 -0000

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

date: 2004/04/24 19:39:54;  author: sigurdne;  state: Exp;  lines: +11 -5

Log Message:
no message
=====================================================================
Index: property/class.uiproject.php
diff -u property/class.uiproject.php:1.1.1.3 
property/class.uiproject.php:1.1.1.4
--- property/class.uiproject.php:1.1.1.3        Fri Apr 23 21:26:42 2004
+++ property/class.uiproject.php        Sat Apr 24 19:39:54 2004
@@ -40,8 +40,7 @@
 
                function property_uiproject()
                {
-                       $GLOBALS['phpgw_info']['flags']['xslt_app'] = True;
-                       $this->currentapp                       = 'property'; 
//$GLOBALS['phpgw_info']['flags']['currentapp'];
+                       $this->currentapp                       = 'property'; 
//$GLOBALS['phpgw_data']['flags']['req_app'];
                        $this->account                          = 
$GLOBALS['phpgw_data']['user']['id'];
 
                        $this->bo                                       = 
CreateObject($this->currentapp.'_boproject',True);
@@ -136,10 +135,16 @@
                        }
                }
 
+               function index2()
+               {
+                       echo 'hepp';
+               }
                function index()
                {
+//                             echo 'hepp';
                        if(!$this->acl_read)
                        {
+                               echo 'hepp';
                                
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=1&acl_location='
 . $this->acl2_location);
                        }
 
@@ -154,7 +159,7 @@
 
                        $links = $this->menu->links('project');
 
-                       $project_list = $this->bo->read($start_date,$end_date);
+//                     $project_list = $this->bo->read($start_date,$end_date);
                        $uicols = $this->bo->uicols;
                        $count_uicols_name=count($uicols['name']);
 
@@ -436,6 +441,7 @@
 
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang($this->currentapp) . ' - ' . $appname . ': ' . $function_msg;
 
+//echo 'hei';
                        //$this->save_sessiondata();
                        return array('list_project' => $data);
                }
@@ -839,7 +845,7 @@
 
                        $data = array
                        (
-                               'msgbox_data'                                   
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
+                               //'msgbox_data'                                 
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
                                'lang_ticket'                                   
=> lang('ticket'),
                                'lang_ticket_statustext'                => 
lang('Link to the ticket for this project'),
                                'link_ticket'                                   
=> 
$this->bocommon->link('/index.php','sid=cookie&op='.$this->currentapp.'.uitts.view'),
@@ -1094,7 +1100,7 @@
 
                        $data = array
                        (
-                               'msgbox_data'                                   
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
+                               //'msgbox_data'                                 
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
 
                                'lang_ticket'                                   
=> lang('ticket'),
                                'lang_ticket_statustext'                => 
lang('Link to the ticket for this project'),




reply via email to

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