dev4 version des modules

This commit is contained in:
fredtempez 2019-02-14 15:17:03 +01:00
parent b2c97b7f58
commit f8f1af4563
11 changed files with 32 additions and 7 deletions

View File

@ -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';

View File

@ -37,6 +37,8 @@ class blog extends common {
public static $users = [];
const BLOG_VERSION = '1.1';
/**
* Édition
*/

View File

@ -27,3 +27,6 @@
<?php else: ?>
<?php echo template::speech('Aucun article.'); ?>
<?php endif; ?>
<em>Version du module&nbsp;:&nbsp;
<?php echo $module::BLOG_VERSION; ?>
</em>

View File

@ -32,12 +32,15 @@ class form extends common {
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',

View File

@ -150,3 +150,6 @@
</div>
</div>
<?php echo template::formClose(); ?>
<em>Version du module&nbsp;:&nbsp;
<?php echo $module::FORM_VERSION; ?>
</em>

View File

@ -30,6 +30,8 @@ class gallery extends common {
public static $pictures = [];
const GALLERY_VERSION = '1.1';
/**
* Configuration
*/

View File

@ -44,3 +44,6 @@
<?php echo template::speech('Aucune galerie.'); ?>
<?php endif; ?>
<?php echo template::formClose(); ?>
<em>Version du module&nbsp;:&nbsp;
<?php echo $module::GALLERY_VERSION; ?>
</em>

View File

@ -32,6 +32,7 @@ class news extends common {
false => 'Brouillon',
true => 'Publié'
];
const NEWS_VERSION = '1.1';
public static $users = [];

View File

@ -21,3 +21,6 @@
<?php else: ?>
<?php echo template::speech('Aucune news.'); ?>
<?php endif; ?>
<em>Version du module&nbsp;:&nbsp;
<?php echo $module::NEWS_VERSION; ?>
</em>

View File

@ -19,6 +19,8 @@ class redirection extends common {
'index' => self::GROUP_VISITOR
];
const REDIRECTION_VERSION = '1.1';
/**
* Configuration
*/

View File

@ -35,3 +35,6 @@
</div>
</div>
<?php echo template::formClose(); ?>
<em>Version du module&nbsp;:&nbsp;
<?php echo $module::REDIRECTION_VERSION; ?>
</em>