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.4,1.45.2.5


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: setup manageheader.php,1.45.2.4,1.45.2.5
Date: Sun, 10 Aug 2003 20:17:55 -0400

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

Modified Files:
      Tag: Version-0_9_16-branch
        manageheader.php 
Log Message:
header admin is available now in different languages

Index: manageheader.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/manageheader.php,v
retrieving revision 1.45.2.4
retrieving revision 1.45.2.5
diff -C2 -r1.45.2.4 -r1.45.2.5
*** manageheader.php    28 May 2003 02:20:04 -0000      1.45.2.4
--- manageheader.php    11 Aug 2003 00:17:53 -0000      1.45.2.5
***************
*** 147,151 ****
                        echo '<br>' . lang('After retrieving the file, put it 
into place as the header.inc.php.  Then, click "continue".') . '<br>';
                        echo '<input type="hidden" name="FormLogout" 
value="header">';
!                       echo '<input type="submit" name="junk" 
value="continue">';
                        echo '</form>';
                        echo '</body></html>';
--- 147,151 ----
                        echo '<br>' . lang('After retrieving the file, put it 
into place as the header.inc.php.  Then, click "continue".') . '<br>';
                        echo '<input type="hidden" name="FormLogout" 
value="header">';
!                       echo '<input type="submit" name="junk" 
value="'.lang('Continue').'">';
                        echo '</form>';
                        echo '</body></html>';
***************
*** 164,168 ****
                                echo '<br>Created header.inc.php! ';
                                echo '<input type="hidden" name="FormLogout" 
value="header">';
!                               echo '<input type="submit" name="junk" 
value="continue">';
                                echo '</form>';
                                echo '</body></html>';
--- 164,168 ----
                                echo '<br>Created header.inc.php! ';
                                echo '<input type="hidden" name="FormLogout" 
value="header">';
!                               echo '<input type="submit" name="junk" 
value="'.lang('Continue').'">';
                                echo '</form>';
                                echo '</body></html>';
***************
*** 179,188 ****
                default:
                        
$GLOBALS['phpgw_setup']->html->show_header($GLOBALS['phpgw_info']['setup']['HeaderFormMSG'],
 False, 'header');
-                       $detected  = '<table border="0" width="100%" 
cellspacing="0" cellpadding="0" style="{ border: 1px solid #000000; }">' . "\n";
  
!                       $detected .= '<tr><td colspan="2"><p>' . 
$GLOBALS['phpgw_info']['setup']['PageMSG'] . '<br />&nbsp;</p></td></tr>';
  
!                       $detected .= '<tr><td colspan="2"><p><b>Please consult 
the <a href="../doc/en_US/html/admin/" target="manual">phpGroupWare 
Administration Manual</a>.</b></p>'. "\n";
!                       $detected .= '<b>If you running this the first time, 
don\'t forget to manualy <a href="../doc/en_US/html/admin/x62.html#AEN134" 
target="manual">Setup the database</a> !!!</b></td></tr>'. "\n"; 
  
                        $detected .= '<tr class="th"><td colspan="2">' . 
lang('Analysis') . '</td></tr><tr><td colspan="2">'. "\n";
--- 179,198 ----
                default:
                        
$GLOBALS['phpgw_setup']->html->show_header($GLOBALS['phpgw_info']['setup']['HeaderFormMSG'],
 False, 'header');
  
!                       $detected = '';
! 
!                       if (!$ConfigLang)
!                       {
!                               $_POST['ConfigLang'] = 'en';
!                               $detected .= '<br><form 
action="manageheader.php" method="Post">Please Select your language 
'.lang_select(True)."</form>\n";
!                       }
! 
!                       $detected .= '<table border="0" width="100%" 
cellspacing="0" cellpadding="0" style="{ border: 1px solid #000000; }">' . "\n";
  
!                       $detected .= '<tr><td colspan="2"><p>' . 
$GLOBALS['phpgw_info']['setup']['PageMSG'] . '<br />&nbsp;</p></td></tr>';
!                       $manual = '<a href="../doc/en_US/html/admin/" 
target="manual">'.lang('phpGroupWare Administration Manual').'</a>';
!                       $detected .= '<tr><td colspan="2"><p><b>'.lang('Please 
consult the %1.',$manual).'</b></p>'. "\n";
!                       $manual = '<a 
href="../doc/en_US/html/admin/x62.html#AEN134" target="manual">'.lang('Setup 
the database').'</a>';
!                       $detected .= '<b>'.lang('If you running this the first 
time, don\'t forget to manualy %1 !!!',$manual).'</b><br>&nbsp;</td></tr>'. 
"\n";
  
                        $detected .= '<tr class="th"><td colspan="2">' . 
lang('Analysis') . '</td></tr><tr><td colspan="2">'. "\n";
***************
*** 480,486 ****
                                (!file_exists('../header.inc.php') && 
is_writeable('../')))
                        {
!                               $errors .= '<br><input type="submit" 
name="action" value="write config">&nbsp;'
!                                       . lang('or') . '&nbsp;<input 
type="submit" name="action" value="download">&nbsp;'
!                                       . lang('or') . '&nbsp;<input 
type=submit name="action" value="view"> the file.</form>';
                        }
                        else
--- 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
***************
*** 488,492 ****
                                $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="download">' . lang('or') . '&nbsp;<input type="submit" name="action" 
value="view">')
                                        . '</form>';
                        }
--- 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>';
                        }
***************
*** 521,524 ****
--- 531,535 ----
                        $setup_tpl->set_var('lang_domselect',lang('Domain 
select box on login'));
                        $setup_tpl->set_var('lang_finaldescr',lang('After 
retrieving the file, put it into place as the header.inc.php.  Then, click 
"continue".'));
+                       $setup_tpl->set_var('lang_continue',lang('Continue'));
  
                        $setup_tpl->pfp('out','manageheader');





reply via email to

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