phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] projects/inc class.uistatistics.inc.php, 1.58 class.u


From: ceb
Subject: [Phpgroupware-cvs] projects/inc class.uistatistics.inc.php, 1.58 class.uiconfig.inc.php, 1.31 class.uiprojects_base.inc.php, 1.2
Date: Tue, 15 Mar 2005 02:10:00 +0100

Update of projects/inc

Modified Files:
     Branch: MAIN
            class.uistatistics.inc.php lines: +2 -2
            class.uiconfig.inc.php lines: +15 -10
            class.uiprojects_base.inc.php lines: +3 -3

Log Message:
update

====================================================
Index: projects/inc/class.uistatistics.inc.php
diff -u projects/inc/class.uistatistics.inc.php:1.57 
projects/inc/class.uistatistics.inc.php:1.58
--- projects/inc/class.uistatistics.inc.php:1.57        Tue Mar 15 00:30:03 2005
+++ projects/inc/class.uistatistics.inc.php     Tue Mar 15 01:10:42 2005
@@ -434,7 +434,7 @@
                                        'sdate'                 => 
$pro[$i]['sdateout'],
                                        'edate'                 => 
$pro[$i]['edateout'],
                                        'coordinator'   => 
$pro[$i]['coordinatorout'],
-                                       'view_img'              => 
$GLOBALS['phpgw']->common->image('project','users'),
+                                       'view_img'              => 
$GLOBALS['phpgw']->common->image('phpgwapi','users'),
                                        'radio_user_checked'    => 
$_POST['viewuser']?(in_array($pro[$i]['project_id'],$pro_user)?' 
checked':''):'',
                                        'project_id'    => 
$pro[$i]['project_id'],
                                        'node_style'    => $node_style,

====================================================
Index: projects/inc/class.uiconfig.inc.php
diff -u projects/inc/class.uiconfig.inc.php:1.30 
projects/inc/class.uiconfig.inc.php:1.31
--- projects/inc/class.uiconfig.inc.php:1.30    Mon Mar 14 17:39:39 2005
+++ projects/inc/class.uiconfig.inc.php Tue Mar 15 01:10:42 2005
@@ -7,7 +7,7 @@
        * Project Manager                                                   *
        * Written by Bettina Gille address@hidden                   *
        * -----------------------------------------------                   *
-       * Copyright 2004 Free Software Foundation, Inc.                     *
+       * Copyright 2004 - 2005 Free Software Foundation, Inc.              *
        *                                                                   *
        * This program is free software; you can redistribute it and/or     *
        * modify it under the terms of the GNU General Public License as    *
@@ -924,15 +924,20 @@

 // -------------------------- end header declaration 
--------------------------------------

-                       for ($i=0;$i<count($roles);$i++)
+                       if(is_array($roles))
                        {
-                               
$this->nextmatchs->template_alternate_row_color(&$GLOBALS['phpgw']->template);
-
-                               
$GLOBALS['phpgw']->template->set_var('role_name',$roles[$i]['role_name']);
-                               
$GLOBALS['phpgw']->template->set_var('delete_role',$GLOBALS['phpgw']->link('/index.php','menuaction=projects.uiconfig.list_roles&role_id='
-                                                                               
                                                        . $roles[$i]['role_id'] 
. '&delete=True'));
-
-                               
$GLOBALS['phpgw']->template->fp('list','roles_list',True);
+                               for($i=0;$i<count($roles);++$i)
+                               {
+                                       
$this->nextmatchs->template_alternate_row_color(&$GLOBALS['phpgw']->template);
+                                       
$GLOBALS['phpgw']->template->set_var(array
+                                       (
+                                               'role_name'             => 
$roles[$i]['role_name'],
+                                               'delete_role'   => 
$GLOBALS['phpgw']->link('/index.php','menuaction=projects.uiconfig.list_roles&role_id='
+                                                                               
                                                        . $roles[$i]['role_id'] 
. '&delete=True'),
+                                               'delete_img'    => 
$GLOBALS['phpgw']->common->image('phpgwapi','delete')
+                                       ));
+                                       
$GLOBALS['phpgw']->template->fp('list','roles_list',True);
+                               }
                        }
                        
$GLOBALS['phpgw']->template->set_var('lang_add_role',lang('add role'));
                        $this->save_sessiondata('role');

====================================================
Index: projects/inc/class.uiprojects_base.inc.php
diff -u projects/inc/class.uiprojects_base.inc.php:1.1 
projects/inc/class.uiprojects_base.inc.php:1.2
--- projects/inc/class.uiprojects_base.inc.php:1.1      Tue Mar 15 00:30:03 2005
+++ projects/inc/class.uiprojects_base.inc.php  Tue Mar 15 01:10:42 2005
@@ -1072,7 +1072,7 @@
                        
$GLOBALS['phpgw']->template->set_var('lang_comment',lang('comment'));
                        
$GLOBALS['phpgw']->template->set_var('lang_action',lang('action'));

-
+                       
$GLOBALS['phpgw']->template->set_var('lang_plus_jobs',lang('Jobs included'));
                        // stats

                        
$GLOBALS['phpgw']->template->set_var('lang_archiv',lang('archive'));






reply via email to

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