- $mkdir_str1 = t('The following directory could not be created') . ':';
- $mkdir_str2 = t('You should create this directory manually.');
- $write_str1 = t('The following directory is not writable') . ':';
+ $mkdir_str1 = t('CANNOT_CREATE_DIR') . ':';
+ $mkdir_str2 = t('MANUAL_CREATE');
+ $write_str1 = t('DIR_NOT_W') . ':';
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(t('Installation of Jirafeau') . ' - ' . t('step') .
- ' %d ' . t('out of') . ' %d', 1, 4);
+ ?><h2><?php printf(t('JI_INSTALL') . ' - ' . t('STEP') .
+ ' %d ' . t('OUT_OF') . ' %d', 1, 4);
?></h2> <div id = "install"> <form method="post"> <input type =
"hidden" name = "jirafeau" value =
"<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name =
?></h2> <div id = "install"> <form method="post"> <input type =
"hidden" name = "jirafeau" value =
"<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name =
t('Jirafeau is internationalised. Choose a specific langage or ' .
'choose Automatic (langage is provided by user\'s browser).');
?></td> </tr> <tr> <td class = "label"><label for = "select_lang"
t('Jirafeau is internationalised. Choose a specific langage or ' .
'choose Automatic (langage is provided by user\'s browser).');
?></td> </tr> <tr> <td class = "label"><label for = "select_lang"
- ?><h2><?php printf(t('Installation of Jirafeau') . ' - ' . t('step') .
- ' %d ' . t('out of') . ' %d', 2, 4);
+ ?><h2><?php printf(t('JI_INSTALL') . ' - ' . t('STEP') .
+ ' %d ' . t('OUT_OF') . ' %d', 2, 4);
?></h2> <div id = "install"> <form method="post"> <input type =
"hidden" name = "jirafeau" value =
"<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name =
"step" value = "2" /><fieldset> <legend><?php
?></h2> <div id = "install"> <form method="post"> <input type =
"hidden" name = "jirafeau" value =
"<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name =
"step" value = "2" /><fieldset> <legend><?php
?></legend> <table> <tr> <td class = "info" colspan =
"2"><?php echo
t('Jirafeau has an administration interface (through admin.php). ' .
'You can set a password to access the interface or leave it empty ' .
'to disable the interface.');
?></td> </tr> <tr> <td class = "label"><label for = "select_password"
?></legend> <table> <tr> <td class = "info" colspan =
"2"><?php echo
t('Jirafeau has an administration interface (through admin.php). ' .
'You can set a password to access the interface or leave it empty ' .
'to disable the interface.');
?></td> </tr> <tr> <td class = "label"><label for = "select_password"
?></label></td>
<td class = "field"><input type = "password" name = "admin_password"
id = "admin_password" size = "40" /></td>
?></label></td>
<td class = "field"><input type = "password" name = "admin_password"
id = "admin_password" size = "40" /></td>
- ?><h2><?php printf(t('Installation of Jirafeau') . ' - ' . t('step') .
- ' %d ' . t('out of') . ' %d', 3, 4);
+ ?><h2><?php printf(t('JI_INSTALL') . ' - ' . t('STEP') .
+ ' %d ' . t('OUT_OF') . ' %d', 3, 4);
?></h2> <div id = "install"> <form method="post"> <input type =
"hidden" name = "jirafeau" value =
"<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name =
"step" value =
?></h2> <div id = "install"> <form method="post"> <input type =
"hidden" name = "jirafeau" value =
"<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name =
"step" value =
?></legend> <table> <tr> <td class = "info" colspan =
"2"><?php echo
t('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 trailing slash!');
?></td> </tr> <tr> <td class = "label"><label for = "input_web_root"
?></legend> <table> <tr> <td class = "info" colspan =
"2"><?php echo
t('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 trailing slash!');
?></td> </tr> <tr> <td class = "label"><label for = "input_web_root"
'site, or at least restrict the access to this directory. Do not ' .
'forget the trailing slash!');
?></td> </tr> <tr> <td class = "label"><label for = "input_var_root"
'site, or at least restrict the access to this directory. Do not ' .
'forget the trailing slash!');
?></td> </tr> <tr> <td class = "label"><label for = "input_var_root"
?>" size = "40" /></td>
</tr> <tr> <td colspan = "2"><input type = "submit"
class = "navleft" name = "previous" value = "<?php
?>" size = "40" /></td>
</tr> <tr> <td colspan = "2"><input type = "submit"
class = "navleft" name = "previous" value = "<?php
- ?><h2><?php printf(t('Installation of Jirafeau') . ' - ' . t('step') .
- ' %d ' . t('out of') . ' %d', 4, 4);
+ ?><h2><?php printf(t('JI_INSTALL') . ' - ' . t('STEP') .
+ ' %d ' . t('OUT_OF') . ' %d', 4, 4);
?></h2> <div id = "install"> <form method="post"> <input type =
"hidden" name = "jirafeau" value =
"<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name =
"step" value =
?></h2> <div id = "install"> <form method="post"> <input type =
"hidden" name = "jirafeau" value =
"<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name =
"step" value =
?></legend> <table> <tr> <td class = "info" colspan =
"2"><?php echo
t('Jirafeau is setting the website according to the configuration ' .
?></legend> <table> <tr> <td class = "info" colspan =
"2"><?php echo
t('Jirafeau is setting the website according to the configuration ' .
"<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name =
"step" value = "4" /><input type = "submit" name =
"retry" value =
"<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name =
"step" value = "4" /><input type = "submit" name =
"retry" value =
<?php echo '</p></div>';
} else {
$cfg['installation_done'] = true;
jirafeau_export_cfg($cfg);
echo '<div class="message"><p>' .
<?php echo '</p></div>';
} else {
$cfg['installation_done'] = true;
jirafeau_export_cfg($cfg);
echo '<div class="message"><p>' .