phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: setup index.php,1.107,1.108


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: setup index.php,1.107,1.108
Date: Fri, 12 Apr 2002 23:02:24 -0400

Update of /cvsroot/phpgroupware/setup
In directory subversions:/tmp/cvs-serv30421/setup

Modified Files:
        index.php 
Log Message:
Cleaned up the extra comma at the end of the langs that are installed.

Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/index.php,v
retrieving revision 1.107
retrieving revision 1.108
diff -C2 -r1.107 -r1.108
*** index.php   26 Mar 2002 02:34:38 -0000      1.107
--- index.php   13 Apr 2002 03:02:22 -0000      1.108
***************
*** 396,409 ****
                        while (list ($key, $value) = each 
($GLOBALS['phpgw_info']['setup']['installed_langs']))
                        {
!                               $langs_list = ($langs_list ? $langs_list . ', ' 
: '') . $value;
!                       }
!                       if(@strlen($langs_list))
!                       {
!                               if(substr($langs_list,0,-2) == ', ')
                                {
!                                       $langs_list = substr($langs_list,0,-2);
                                }
                        }
- 
                        $setup_tpl->set_var('lang_status_img',$completed);
                        $setup_tpl->set_var('lang_status_alt','completed');
--- 396,404 ----
                        while (list ($key, $value) = each 
($GLOBALS['phpgw_info']['setup']['installed_langs']))
                        {
!                               if($value)
                                {
!                                       $langs_list .= ($langs_list?', ':'') . 
$value;
                                }
                        }
                        $setup_tpl->set_var('lang_status_img',$completed);
                        $setup_tpl->set_var('lang_status_alt','completed');




reply via email to

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