phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: admin/inc class.uicategories.inc.php,1.6.2.2,1.6


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: admin/inc class.uicategories.inc.php,1.6.2.2,1.6.2.3
Date: Mon, 25 Feb 2002 16:11:38 -0500

Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv3135

Modified Files:
      Tag: Version-0_9_14-branch
        class.uicategories.inc.php 
Log Message:
fixed wrong name display

Index: class.uicategories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.uicategories.inc.php,v
retrieving revision 1.6.2.2
retrieving revision 1.6.2.3
diff -C2 -r1.6.2.2 -r1.6.2.3
*** class.uicategories.inc.php  23 Jan 2002 20:47:03 -0000      1.6.2.2
--- class.uicategories.inc.php  25 Feb 2002 21:11:35 -0000      1.6.2.3
***************
*** 152,158 ****
                                $this->template->set_var(tr_color,$tr_color);
  
!                               $id    = $categories[$i]['id'];
!                               $level = $categories[$i]['level'];
!                               $owner = $categories[$i]['owner'];
  
                                if ($level > 0)
--- 152,159 ----
                                $this->template->set_var(tr_color,$tr_color);
  
!                               $id             = $categories[$i]['id'];
!                               $level  = $categories[$i]['level'];
!                               $owner  = $categories[$i]['owner'];
!                               $name   = 
$GLOBALS['phpgw']->strip_html($categories[$i]['name']);
  
                                if ($level > 0)
***************
*** 160,164 ****
                                        $space = '&nbsp;&nbsp;';
                                        $spaceset = str_repeat($space,$level);
!                                       $name = $spaceset . 
$GLOBALS['phpgw']->strip_html($categories[$i]['name']);
                                }
  
--- 161,165 ----
                                        $space = '&nbsp;&nbsp;';
                                        $spaceset = str_repeat($space,$level);
!                                       $name = $spaceset . $name;
                                }
  
***************
*** 171,180 ****
                                if ($level == 0 && $owner != -1)
                                {
!                                       $name = '<font color="FF0000"><b>' . 
$GLOBALS['phpgw']->strip_html($categories[$i]['name']) . '</b></font>';
                                        $descr = '<font color="FF0000"><b>' . 
$descr . '</b></font>';
-                               }
-                               else
-                               {
-                                       $name = 
$GLOBALS['phpgw']->strip_html($categories[$i]['name']);
                                }
  
--- 172,177 ----
                                if ($level == 0 && $owner != -1)
                                {
!                                       $name = '<font color="FF0000"><b>' . 
$name . '</b></font>';
                                        $descr = '<font color="FF0000"><b>' . 
$descr . '</b></font>';
                                }
  




reply via email to

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