phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc class.uitts.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/inc class.uitts.inc.php
Date: Tue, 12 Sep 2006 07:56:47 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Changes by:     Sigurd Nes <sigurdne>   06/09/12 07:56:47

Modified files:
        inc            : class.uitts.inc.php 

Log message:
        link

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.uitts.inc.php?cvsroot=phpgroupware&r1=1.34&r2=1.35

Patches:
Index: class.uitts.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.uitts.inc.php,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- class.uitts.inc.php 17 Jun 2006 07:11:17 -0000      1.34
+++ class.uitts.inc.php 12 Sep 2006 07:56:47 -0000      1.35
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage helpdesk
-       * @version $Id: class.uitts.inc.php,v 1.34 2006/06/17 07:11:17 sigurdne 
Exp $
+       * @version $Id: class.uitts.inc.php,v 1.35 2006/09/12 07:56:47 sigurdne 
Exp $
        */
 
        /**
@@ -71,7 +71,7 @@
                                'sort'          => $this->sort,
                                'order'         => $this->order,
                                'filter'        => $this->filter,
-                               'user_filter'=> $this->user_filter,
+                               'user_filter'   => $this->user_filter,
                                'cat_id'        => $this->cat_id,
                                'district_id'   => $this->district_id,
                                'allrows'       => $this->allrows,
@@ -253,7 +253,7 @@
                                                        'id'                    
=> $ticket['id'],
                                                        'edit_status'   => true,
                                                        'new_status'    => 
$new_status,
-                                                       'second_display'        
=> true,
+                                                       'second_display'=> true,
                                                        'sort'                  
=>$this->sort,
                                                        'order'                 
=>$this->order,
                                                        'cat_id'                
=>$this->cat_id,
@@ -280,7 +280,7 @@
                                        'user'                                  
        => $ticket['user'],
                                        'assignedto'                            
=> $ticket['assignedto'],
                                        'child_date'                            
=> $ticket['child_date'],
-                                       'link_view'                             
        => 
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uitts.view&id='
 . $ticket['id']),
+                                       'link_view'                             
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=> 
$this->currentapp.'.uitts.view', 'id'=> $ticket['id'])),
                                        'lang_view_statustext'          => 
lang('view the ticket'),
                                        'text_view'                             
        => lang('view'),
                                        'status'                                
        => $status,
@@ -398,15 +398,15 @@
                                                                                
        'var'   =>      'finnish_date',
                                                                                
        'order' =>      $this->order,
                                                                                
        'extra'         => array('menuaction'   => 
$this->currentapp.'.uitts.index',
-                                                                               
                                                        'cat_id'        
=>$this->cat_id,
-                                                                               
                                                        'filter'        
=>$this->filter,
-                                                                               
                                                        'user_filter'   
=>$this->user_filter,
+                                                                               
                                                        'cat_id'        => 
$this->cat_id,
+                                                                               
                                                        'filter'        => 
$this->filter,
+                                                                               
                                                        'user_filter'   => 
$this->user_filter,
                                                                                
                                                        'district_id'   => 
$this->district_id,
-                                                                               
                                                        'query'         
=>$this->query,
-                                                                               
                                                        'second_display'        
=> true,
-                                                                               
                                                        
'allrows'=>$this->allrows,
-                                                                               
                                                        'start_date'    
=>$start_date,
-                                                                               
                                                        'end_date'      
=>$end_date
+                                                                               
                                                        'query'         => 
$this->query,
+                                                                               
                                                        'second_display'=> true,
+                                                                               
                                                        'allrows'       => 
$this->allrows,
+                                                                               
                                                        'start_date'    => 
$start_date,
+                                                                               
                                                        'end_date'      => 
$end_date
                                                                                
                                                        )
                                                                                
)),
                                'lang_finnish_date'             => 
lang('finnish date'),
@@ -425,23 +425,23 @@
                        (
                                'lang_add'                              => 
lang('add'),
                                'lang_add_statustext'   => lang('add a ticket'),
-                               'add_action'                    => 
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uitts.add')
+                               'add_action'            => 
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=> 
$this->currentapp.'.uitts.add'))
                        );
 
                        $link_data = array
                        (
                                'menuaction'    => 
$this->currentapp.'.uitts.index',
-                                               'second_display'        => true,
-                                               'sort'          =>$this->sort,
-                                               'order'         =>$this->order,
-                                               'cat_id'        =>$this->cat_id,
-                                               'filter'        =>$this->filter,
-                                               'user_filter'   
=>$this->user_filter,
-                                               'query'         =>$this->query,
+                               'second_display'=> true,
+                               'sort'          => $this->sort,
+                               'order'         => $this->order,
+                               'cat_id'        => $this->cat_id,
+                               'filter'        => $this->filter,
+                               'user_filter'   => $this->user_filter,
+                               'query'         => $this->query,
                                                'district_id'   => 
$this->district_id,
-                                               'start_date'    =>$start_date,
-                                               'end_date'      =>$end_date,
-                                               'allrows'       =>$this->allrows
+                               'start_date'    => $start_date,
+                               'end_date'      => $end_date,
+                               'allrows'       => $this->allrows
                        );
 
                        $receipt = 
$GLOBALS['phpgw']->session->appsession('receipt',$this->currentapp);
@@ -466,23 +466,23 @@
 
                        $msgbox_data = $this->bocommon->msgbox_data($receipt);
 
-                       $link_date_search       = 
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uiproject.date_search');
+                       $link_date_search       = 
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=> 
$this->currentapp.'.uiproject.date_search'));
 
                        $link_excel = array
                        (
                                'menuaction'    => 
$this->currentapp.'.uitts.excel',
-                                               'second_display'        => true,
-                                               'sort'          =>$this->sort,
-                                               'order'         =>$this->order,
-                                               'cat_id'        =>$this->cat_id,
-                                               'filter'        =>$this->filter,
-                                               'user_filter'   
=>$this->user_filter,
-                                               'query'         =>$this->query,
+                               'second_display'=> true,
+                               'sort'          => $this->sort,
+                               'order'         => $this->order,
+                               'cat_id'        => $this->cat_id,
+                               'filter'        => $this->filter,
+                               'user_filter'   => $this->user_filter,
+                               'query'         => $this->query,
                                                'district_id'   => 
$this->district_id,
-                                               'allrows'       
=>$this->allrows,
-                                               'start_date'    =>$start_date,
-                                               'end_date'      =>$end_date,
-                                               'start' =>$this->start
+                               'allrows'       => $this->allrows,
+                               'start_date'    => $start_date,
+                               'end_date'      => $end_date,
+                               'start'         => $this->start
                        );
 
                        
if($GLOBALS['phpgw_info']['user']['preferences'][$this->currentapp]['group_filters'])
@@ -740,7 +740,7 @@
                                'priority_list'                                 
=> $this->bo->get_priority_list($values['priority']),
 
                                'form_action'                                   
=> $GLOBALS['phpgw']->link('/index.php',$link_data),
-                               'done_action'                                   
=> 
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uitts.index'),
+                               'done_action'                           => 
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=> 
$this->currentapp.'.uitts.index')),
                                'lang_subject'                                  
=> lang('Subject'),
                                'lang_subject_statustext'               => 
lang('Enter the subject of this ticket'),
 
@@ -987,7 +987,7 @@
                        {
                                for ($i=0;$i<count($ticket['origin']);$i++)
                                {
-                                       
$ticket['origin'][$i]['link']=$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp
 . $ticket['origin'][$i]['link']);
+                                       
$ticket['origin'][$i]['link']=$GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
 $this->currentapp . $ticket['origin'][$i]['link']));
                                        
if(substr($ticket['origin'][$i]['type'],0,6)=='entity')
                                        {
                                                $type           = 
explode("_",$ticket['origin'][$i]['type']);
@@ -1071,7 +1071,7 @@
                                'value_category_name'                   => 
$ticket['category_name'],
 
                                'form_action'                                   
=> $GLOBALS['phpgw']->link('/index.php',$form_link),
-                               'done_action'                                   
=> 
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uitts.index'),
+                               'done_action'                           => 
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=>$this->currentapp.'.uitts.index')),
                                'value_subject'                                 
=> $ticket['subject'],
                                'lang_subject_statustext'               => 
lang('update subject'),
                                'value_id'                                      
        => '[ #'. $id . ' ] - ',




reply via email to

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