if (!jirafeau_mkdir ($path) || !jirafeau_is_writable ($path))
return array ('has_error' => true,
if (!jirafeau_mkdir ($path) || !jirafeau_is_writable ($path))
return array ('has_error' => true,
- ?><h2><?php printf (_('Installation of Jirafeau - step %d out of %d'),
- 3, 3);
+ ?><h2><?php printf (_('Installation of Jirafeau') . ' - ' . _('step') .
+ ' %d ' . _('out of') . ' %d', 3, 3);
?></h2> <div id = "install"> <form action =
"<?php echo basename(__FILE__); ?>" method = "post"> <input type =
"hidden" name = "jirafeau" value =
?></h2> <div id = "install"> <form action =
"<?php echo basename(__FILE__); ?>" method = "post"> <input type =
"hidden" name = "jirafeau" value =
"3" /><fieldset> <legend><?php echo _('Finalisation');
?></legend> <table> <tr> <td class = "info" colspan =
"2"><?php echo
"3" /><fieldset> <legend><?php echo _('Finalisation');
?></legend> <table> <tr> <td class = "info" colspan =
"2"><?php echo
- ?><h2><?php printf (_('Installation of Jirafeau - step %d out of %d'),
- 2, 3);
+ ?><h2><?php printf (_('Installation of Jirafeau') . ' - ' . _('step') .
+ ' %d ' . _('out of') . ' %d', 2, 3);
?></h2> <div id = "install"> <form action =
"<?php echo basename(__FILE__); ?>" method = "post"> <input type =
"hidden" name = "jirafeau" value =
?></h2> <div id = "install"> <form action =
"<?php echo basename(__FILE__); ?>" method = "post"> <input type =
"hidden" name = "jirafeau" value =
_
('The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: "http://www.example.com/". Do not forget the ending slash!');
?></td> </tr> <tr> <td class = "label"><label for = "input_web_root"
_
('The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: "http://www.example.com/". Do not forget the ending slash!');
?></td> </tr> <tr> <td class = "label"><label for = "input_web_root"
?></label></td>
<td class = "field"><input type = "text" name = "web_root" id = "input_web_root" value = "<?php
echo (empty($cfg['web_root']) ?
?></label></td>
<td class = "field"><input type = "text" name = "web_root" id = "input_web_root" value = "<?php
echo (empty($cfg['web_root']) ?
?>" size = "40" /></td>
</tr> <tr> <td class = "info" colspan = "2"><?php echo _('The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access of this directory. Do not forget the ending slash!');
?></td> </tr> <tr> <td class = "label"><label for = "input_var_root"
?>" size = "40" /></td>
</tr> <tr> <td class = "info" colspan = "2"><?php echo _('The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access of this directory. Do not forget the ending slash!');
?></td> </tr> <tr> <td class = "label"><label for = "input_var_root"
?></label></td>
<td class = "field"><input type = "text" name = "var_root" id = "input_var_root" value = "<?php
if(empty($cfg['var_root'])) {
?></label></td>
<td class = "field"><input type = "text" name = "var_root" id = "input_var_root" value = "<?php
if(empty($cfg['var_root'])) {
- $languages = array ('' => 'English', 'fr_FR.UTF-8' => 'Français');
- ?><h2><?php printf (_('Installation of Jirafeau - step %d out of %d'),
- 1, 3);
+ ?><h2><?php printf (_('Installation of Jirafeau') . ' - ' . _('step') .
+ ' %d ' . _('out of') . ' %d', 1, 3);
?></h2> <div id = "install"> <form action =
"<?php echo basename(__FILE__); ?>" method = "post"> <input type =
"hidden" name = "jirafeau" value =
?></h2> <div id = "install"> <form action =
"<?php echo basename(__FILE__); ?>" method = "post"> <input type =
"hidden" name = "jirafeau" value =