Upgrade LBCAlerte to version 3.3

Add upgrade script
This commit is contained in:
Jimmy Monin
2016-11-26 19:19:16 +01:00
parent a7c054b535
commit 58ffd500e6
89 changed files with 6436 additions and 758 deletions

View File

@ -1,6 +1,11 @@
<?php if (!empty($errors)) : ?>
<ul class="error"><li><?php echo implode("</li><li>", $errors); ?></li></ul>
<?php else: ?>
<?php if (!empty($warnings)) : ?>
<ul class="warning"><li><?php echo implode("</li><li>", $warnings); ?></li></ul>
<?php endif; ?>
<form action="" method="post">
<fieldset>
<legend>Nouvelle installation</legend>
@ -35,13 +40,16 @@
<dd>
<label for="typefiles">
<input type="radio" id="typefiles" name="type" value="files"<?php
echo isset($_POST["type"]) && "files" == $_POST["type"] ? ' checked="checked"' : ""
echo isset($warnings["mysqli"])
|| isset($_POST["type"]) && "files" == $_POST["type"] ?
' checked="checked"' : ""
?> />
fichiers
</label>
<label for="typedb" style="margin-left: 40px;">
<input type="radio" id="typedb" name="type" value="db"<?php
echo isset($_POST["type"]) && "db" == $_POST["type"] ? ' checked="checked"' : ""
echo isset($_POST["type"]) && "db" == $_POST["type"] ? ' checked="checked"' : "";
echo isset($warnings["mysqli"]) ? ' disabled="disabled"' : "";
?> />
base de données MySQL
</label>
@ -93,6 +101,18 @@
<p>Vous pouvez vous connecter avec les identifiants suivants :<br />
<strong>Utilisateur:</strong> admin<br />
<strong>Mot de passe:</strong> spécifié lors de l'installation.</p>
<h3>Configuration d'une tâche automatique</h3>
<p>
L'installation de LBCAlerte est terminée mais il reste une étape
indispensable. Afin de recevoir les nouvelles alertes, vous devez
configurer une tâche automatique.
<br />
Vous trouverez plus d'informations sur la
<a href="https://alerte.ilatumi.org/documentation/configuration-alerte-leboncoin-mail-sms"
target="_blank">page dédiée de la documentation</a>.
</p>
<p><a href="./">continuer &gt;</a></p>
<?php endif; ?>
</fieldset>