diff --git a/module/form/changes.md b/module/form/changes.md index ced081f2..12de70e5 100644 --- a/module/form/changes.md +++ b/module/form/changes.md @@ -1,5 +1,7 @@ +# Version 3.2 +- Bug variable non initialisée # Version 3.1 - - Initialisation des paramètres personnalisés +- Initialisation des paramètres personnalisés # Version 3 - - Déplacement des options de formulaires - - Gabarit du formulaire sur la page +- Déplacement des options de formulaires +- Gabarit du formulaire sur la page diff --git a/module/form/form.php b/module/form/form.php index a86412dc..0911f5e5 100644 --- a/module/form/form.php +++ b/module/form/form.php @@ -16,7 +16,7 @@ class form extends common { - const VERSION = '3.0'; + const VERSION = '3.2'; const REALNAME = 'Formulaire'; const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json) @@ -40,7 +40,7 @@ class form extends common { public static $pagination; // Nombre d'articles dans la page de config: - public static $itemperPage = 20; + public static $itemsperPage = 20; // Objets @@ -236,7 +236,7 @@ class form extends common { $data = $this->getData(['module', $this->getUrl(0), 'data']); if($data) { // Pagination - $pagination = helper::pagination($data, $this->getUrl(), self::$itemsperPages); + $pagination = helper::pagination($data, $this->getUrl(), self::$itemsperPage); // Liste des pages self::$pages = $pagination['pages']; // Inverse l'ordre du tableau