phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.138,1.139


From: Dan Kuykendall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.138,1.139
Date: Fri, 24 May 2002 18:30:38 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv17288/phpgwapi/inc

Modified Files:
        class.common.inc.php 
Log Message:
subverted error_list() to use msgbox

Index: class.common.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.common.inc.php,v
retrieving revision 1.138
retrieving revision 1.139
diff -C2 -r1.138 -r1.139
*** class.common.inc.php        24 May 2002 21:56:55 -0000      1.138
--- class.common.inc.php        24 May 2002 22:30:35 -0000      1.139
***************
*** 360,370 ****
                        }
  
!                       $html_error = '<table border="0" width="100%"><tr><td 
align="right"><b>' . lang($text)
!                               . '</b>: </td><td align="left">' . $errors[0] . 
'</td></tr>';
!                       for ($i=1; $i<count($errors); $i++)
                        {
!                               $html_error .= '<tr><td>&nbsp;</td><td 
align="left">' . $errors[$i] . '</td></tr>';
                        }
!                       return $html_error . '</table>';
                }
  
--- 360,378 ----
                        }
  
!                       if ($text == 'Error')
                        {
!                               $text = '';
                        }
!                       else
!                       {
!                               $text .= ': ';
!                       }
!                       reset($errors);
!                       while(list(,$value) = each($errors))
!                       {
!                               $msgbox_input[$text.$value] = False;
!                               
!                       }
!                       return $this->msgbox($msgbox_input);
                }
  




reply via email to

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