A free, self-hostable news aggregator…
Install : quelques corrections
Alexandre Alapetitef2321eb9201b
diff --git a/app/i18n/en.php b/app/i18n/en.phpindex 4de7bc94d..669de4d42 100644--- a/app/i18n/en.php+++ b/app/i18n/en.php@@ -273,6 +273,7 @@ return array ('steps' => 'Steps','checks' => 'Checks','bdd_configuration' => 'Database configuration',+ 'bdd_type' => 'Type of database','this_is_the_end' => 'This is the end','ok' => 'Ok!',diff --git a/app/i18n/fr.php b/app/i18n/fr.phpindex 67a3a1836..a397b4816 100644--- a/app/i18n/fr.php+++ b/app/i18n/fr.php@@ -273,6 +273,7 @@ return array ('steps' => 'Étapes','checks' => 'Vérifications','bdd_configuration' => 'Configuration de la base de données',+ 'bdd_type' => 'Type de base de données','this_is_the_end' => 'This is the end','ok' => 'Ok !',diff --git a/public/install.php b/public/install.phpindex 0701c8c1f..c4ed223de 100644--- a/public/install.php+++ b/public/install.php@@ -61,7 +61,7 @@ define ('SQL_REQ_ENTRY', 'CREATE TABLE IF NOT EXISTS `%sentry` (FOREIGN KEY (`id_feed`) REFERENCES `%sfeed`(`id`) ON DELETE CASCADE ON UPDATE CASCADE,UNIQUE KEY (`id_feed`,`guid`), -- v0.7INDEX (`is_favorite`), -- v0.7- INDEX (`is_read`), -- v0.7+ INDEX (`is_read`) -- v0.7) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ciENGINE = INNODB;');@@ -558,8 +558,6 @@ function printStep3 () {<form action="index.php?step=3" method="post"><legend><?php echo _t ('bdd_configuration'); ?></legend>- <!--- TODO : l'utilisation de SQLite n'est pas encore possible. Pour tester tout de même, décommentez ce bloc<div class="form-group"><label class="group-name" for="type"><?php echo _t ('bdd_type'); ?></label><div class="group-controls">@@ -568,14 +566,14 @@ function printStep3 () {<?php echo (isset($_SESSION['bd_type']) && $_SESSION['bd_type'] === 'mysql') ? 'selected="selected"' : ''; ?>>MySQL</option>+ <!-- TODO : l'utilisation de SQLite n'est pas encore possible. Pour tester tout de même, décommentez ce bloc<option value="sqlite"<?php echo (isset($_SESSION['bd_type']) && $_SESSION['bd_type'] === 'sqlite') ? 'selected="selected"' : ''; ?>>SQLite- </option>+ </option>--></select></div></div>- --><div class="form-group"><label class="group-name" for="host"><?php echo _t ('host'); ?></label>@@ -601,7 +599,7 @@ function printStep3 () {<div class="form-group"><label class="group-name" for="base"><?php echo _t ('bdd'); ?></label><div class="group-controls">- <input type="text" id="base" name="base" maxlength="64" value="<?php echo isset ($_SESSION['bd_name']) ? $_SESSION['bd_name'] : ''; ?>" />+ <input type="text" id="base" name="base" maxlength="64" value="<?php echo isset ($_SESSION['bd_name']) ? $_SESSION['bd_name'] : ''; ?>" placeholder="<?php echo _t ('freshrss'); ?>" /></div></div>