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.137,1.138


From: Dan Kuykendall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.137,1.138
Date: Fri, 24 May 2002 17:56:58 -0400

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

Modified Files:
        class.common.inc.php 
Log Message:
more improvements on the msgbox

Index: class.common.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.common.inc.php,v
retrieving revision 1.137
retrieving revision 1.138
diff -C2 -r1.137 -r1.138
*** class.common.inc.php        24 May 2002 20:47:28 -0000      1.137
--- class.common.inc.php        24 May 2002 21:56:55 -0000      1.138
***************
*** 985,990 ****
                        }
                        
$GLOBALS['phpgw']->template->set_block('common','msgbox_start');
!                       
$GLOBALS['phpgw']->template->set_block('common','msgbox_row_good');
!                       
$GLOBALS['phpgw']->template->set_block('common','msgbox_row_bad');
                        
$GLOBALS['phpgw']->template->set_block('common','msgbox_end');
                        
$GLOBALS['phpgw']->template->fp('msgbox','msgbox_start');
--- 985,989 ----
                        }
                        
$GLOBALS['phpgw']->template->set_block('common','msgbox_start');
!                       
$GLOBALS['phpgw']->template->set_block('common','msgbox_row');
                        
$GLOBALS['phpgw']->template->set_block('common','msgbox_end');
                        
$GLOBALS['phpgw']->template->fp('msgbox','msgbox_start');
***************
*** 1010,1019 ****
                                        if ($value == True)
                                        {
!                                               
$GLOBALS['phpgw']->template->fp('msgbox','msgbox_row_good',True);
                                        }
                                        else
                                        {
!                                               
$GLOBALS['phpgw']->template->fp('msgbox','msgbox_row_bad',True);
                                        }
                                }
                        }
--- 1009,1021 ----
                                        if ($value == True)
                                        {
!                                               
$GLOBALS['phpgw']->template->set_var('msgbox_img',$this->image('phpgwapi','msgbox_good'));
!                                               
$GLOBALS['phpgw']->template->set_var('msgbox_img_alt','OK');
                                        }
                                        else
                                        {
!                                               
$GLOBALS['phpgw']->template->set_var('msgbox_img',$this->image('phpgwapi','msgbox_bad'));
!                                               
$GLOBALS['phpgw']->template->set_var('msgbox_img_alt','ERROR');
                                        }
+                                       
$GLOBALS['phpgw']->template->fp('msgbox','msgbox_row',True);
                                }
                        }
***************
*** 1024,1033 ****
                                if ($type == True)
                                {
!                                       
$GLOBALS['phpgw']->template->fp('msgbox','msgbox_row_good',True);
                                }
                                else
                                {
!                                       
$GLOBALS['phpgw']->template->fp('msgbox','msgbox_row_bad',True);
                                }
                        }
                        
$GLOBALS['phpgw']->template->fp('msgbox','msgbox_end',True);
--- 1026,1038 ----
                                if ($type == True)
                                {
!                                       
$GLOBALS['phpgw']->template->set_var('msgbox_img',$this->image('phpgwapi','msgbox_good'));
!                                       
$GLOBALS['phpgw']->template->set_var('msgbox_img_alt','OK');
                                }
                                else
                                {
!                                       
$GLOBALS['phpgw']->template->set_var('msgbox_img',$this->image('phpgwapi','msgbox_bad'));
!                                       
$GLOBALS['phpgw']->template->set_var('msgbox_img_alt','ERROR');
                                }
+                               
$GLOBALS['phpgw']->template->fp('msgbox','msgbox_row',True);
                        }
                        
$GLOBALS['phpgw']->template->fp('msgbox','msgbox_end',True);




reply via email to

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