define ('JIRAFEAU_CFG', JIRAFEAU_ROOT.'lib/config.local.php');
define ('JIRAFEAU_VAR_RAND_LENGTH', 15);
+require (JIRAFEAU_ROOT . 'lib/lang.php');
require (JIRAFEAU_ROOT . 'lib/config.php');
function
case 1:
default:
- $languages = array ('' => 'English', 'fr_FR.UTF-8' => 'Français');
?><h2><?php printf (_('Installation of Jirafeau - step %d out of %d'),
1, 3);
?></h2> <div id = "install"> <form action =
?></label></td>
<td class = "field">
<select name = "lang" id = "select_lang">
- <?php foreach ($languages as $key => $item)
+ <?php foreach ($languages_list as $key => $item)
{
echo '<option value="'.$key.'"'.($key ==
$cfg['lang'] ? ' selected="selected"'