phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: setup manageheader.php,1.45.2.5,1.45.2.6


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: setup manageheader.php,1.45.2.5,1.45.2.6
Date: Tue, 12 Aug 2003 17:29:11 -0400

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

Modified Files:
      Tag: Version-0_9_16-branch
        manageheader.php 
Log Message:
fix for not useing the (now translated) button labels


Index: manageheader.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/manageheader.php,v
retrieving revision 1.45.2.5
retrieving revision 1.45.2.6
diff -C2 -r1.45.2.5 -r1.45.2.6
*** manageheader.php    11 Aug 2003 00:17:53 -0000      1.45.2.5
--- manageheader.php    12 Aug 2003 21:29:09 -0000      1.45.2.6
***************
*** 119,123 ****
        }
  
!       switch(@get_var('action',Array('POST')))
        {
                case 'download':
--- 119,125 ----
        }
  
!       $action = @get_var('action',Array('POST'));
!       list($action) = @each($action);
!       switch($action)
        {
                case 'download':
***************
*** 490,496 ****
                                (!file_exists('../header.inc.php') && 
is_writeable('../')))
                        {
!                               $errors .= '<br><input type="submit" 
name="action" value="'.lang('Write config').'">&nbsp;'
!                                       . lang('or') . '&nbsp;<input 
type="submit" name="action" value="'.lang('Download').'">&nbsp;'
!                                       . lang('or') . '&nbsp;<input 
type=submit name="action" value="'.lang('View').'"> '.lang('the 
file').'.</form>';
                        }
                        else
--- 492,498 ----
                                (!file_exists('../header.inc.php') && 
is_writeable('../')))
                        {
!                               $errors .= '<br><input type="submit" 
name="action[write]" value="'.lang('Write config').'">&nbsp;'
!                                       . lang('or') . '&nbsp;<input 
type="submit" name="action[download]" value="'.lang('Download').'">&nbsp;'
!                                       . lang('or') . '&nbsp;<input 
type=submit name="action[view]" value="'.lang('View').'"> '.lang('the 
file').'.</form>';
                        }
                        else
***************
*** 498,502 ****
                                $errors .= '<br>'
                                        . lang('Cannot create the 
header.inc.php due to file permission restrictions.<br> Instead you can %1 the 
file.',
!                                       '<input type="submit" name="action" 
value="'.lang('Download').'">' . lang('or') . '&nbsp;<input type="submit" 
name="action" value="'.lang('View').'">')
                                        . '</form>';
                        }
--- 500,504 ----
                                $errors .= '<br>'
                                        . lang('Cannot create the 
header.inc.php due to file permission restrictions.<br> Instead you can %1 the 
file.',
!                                       '<input type="submit" 
name="action[download]" value="'.lang('Download').'">' . lang('or') . 
'&nbsp;<input type="submit" name="action[view]" value="'.lang('View').'">')
                                        . '</form>';
                        }





reply via email to

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