X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/3cf8b39b331dd5f80c4ac674d13a6387d01d49b9..6165f1ef9bf8abf6d07caff88f14a36f368832c6:/install.php diff --git a/install.php b/install.php old mode 100644 new mode 100755 index 8a34477..9d55b3b --- a/install.php +++ b/install.php @@ -23,6 +23,7 @@ define ('QUOTE', "'"); 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 @@ -261,7 +262,6 @@ case 2: 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 = @@ -278,7 +278,7 @@ default: ?></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"'