diff --git a/core/core.php b/core/core.php index 08adb6f4..3a7a3335 100644 --- a/core/core.php +++ b/core/core.php @@ -28,7 +28,7 @@ class common { const GROUP_ADMIN = 3; // Numéro de version de développement :/ // Désactive l'update auto - const ZWII_VERSION = '9.0.00-dev3'; + const ZWII_VERSION = '9.0.00-dev4'; // Numéro de version stable //const ZWII_VERSION = '9.0.00'; diff --git a/module/blog/blog.php b/module/blog/blog.php index 5de45b4d..0756074d 100755 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -37,6 +37,8 @@ class blog extends common { public static $users = []; + const BLOG_VERSION = '1.1'; + /** * Édition */ diff --git a/module/blog/view/config/config.php b/module/blog/view/config/config.php index 4a47b803..68ededa8 100755 --- a/module/blog/view/config/config.php +++ b/module/blog/view/config/config.php @@ -26,4 +26,7 @@ - \ No newline at end of file + +Version du module :  + + \ No newline at end of file diff --git a/module/form/form.php b/module/form/form.php index 77252975..00f68ef8 100755 --- a/module/form/form.php +++ b/module/form/form.php @@ -31,13 +31,16 @@ class form extends common { public static $pages = []; public static $pagination; + + const FORM_VERSION = '1.3'; const TYPE_MAIL = 'mail'; const TYPE_SELECT = 'select'; const TYPE_TEXT = 'text'; const TYPE_TEXTAREA = 'textarea'; const TYPE_DATETIME = "date"; - CONST TYPE_CHECKBOX = "checkbox"; + const TYPE_CHECKBOX = "checkbox"; + public static $types = [ self::TYPE_TEXT => 'Champ texte', diff --git a/module/form/view/config/config.php b/module/form/view/config/config.php index ab3d368d..9f8dc48f 100755 --- a/module/form/view/config/config.php +++ b/module/form/view/config/config.php @@ -149,4 +149,7 @@ - \ No newline at end of file + +Version du module :  + + diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index 4c423af8..ec6c1ac7 100755 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -30,6 +30,8 @@ class gallery extends common { public static $pictures = []; + const GALLERY_VERSION = '1.1'; + /** * Configuration */ diff --git a/module/gallery/view/config/config.php b/module/gallery/view/config/config.php index 4e48429f..ba0e9d79 100755 --- a/module/gallery/view/config/config.php +++ b/module/gallery/view/config/config.php @@ -43,4 +43,7 @@ - \ No newline at end of file + +Version du module :  + + \ No newline at end of file diff --git a/module/news/news.php b/module/news/news.php index 34d32f22..6fe7b4f4 100755 --- a/module/news/news.php +++ b/module/news/news.php @@ -32,6 +32,7 @@ class news extends common { false => 'Brouillon', true => 'Publié' ]; + const NEWS_VERSION = '1.1'; public static $users = []; diff --git a/module/news/view/config/config.php b/module/news/view/config/config.php index 75422b6a..b57ace4b 100755 --- a/module/news/view/config/config.php +++ b/module/news/view/config/config.php @@ -20,4 +20,7 @@ - \ No newline at end of file + +Version du module :  + + \ No newline at end of file diff --git a/module/redirection/redirection.php b/module/redirection/redirection.php index 1f285162..48286e11 100755 --- a/module/redirection/redirection.php +++ b/module/redirection/redirection.php @@ -19,6 +19,8 @@ class redirection extends common { 'index' => self::GROUP_VISITOR ]; + const REDIRECTION_VERSION = '1.1'; + /** * Configuration */ diff --git a/module/redirection/view/config/config.php b/module/redirection/view/config/config.php index 83262c2b..e0ae1bb3 100755 --- a/module/redirection/view/config/config.php +++ b/module/redirection/view/config/config.php @@ -34,4 +34,7 @@ - \ No newline at end of file + +Version du module :  + + \ No newline at end of file