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

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

View File

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

View File

@ -149,4 +149,7 @@
</div>
</div>
</div>
<?php echo template::formClose(); ?>
<?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

@ -43,4 +43,7 @@
<?php else: ?>
<?php echo template::speech('Aucune galerie.'); ?>
<?php endif; ?>
<?php echo template::formClose(); ?>
<?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

@ -20,4 +20,7 @@
<?php echo $module::$pages; ?>
<?php else: ?>
<?php echo template::speech('Aucune news.'); ?>
<?php endif; ?>
<?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

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