Browse Source

dev4 version des modules

pull/5/head
fredtempez 3 years ago
parent
commit
f8f1af4563
  1. 2
      core/core.php
  2. 2
      module/blog/blog.php
  3. 5
      module/blog/view/config/config.php
  4. 5
      module/form/form.php
  5. 5
      module/form/view/config/config.php
  6. 2
      module/gallery/gallery.php
  7. 5
      module/gallery/view/config/config.php
  8. 1
      module/news/news.php
  9. 5
      module/news/view/config/config.php
  10. 2
      module/redirection/redirection.php
  11. 5
      module/redirection/view/config/config.php

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

2
module/blog/blog.php

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

5
module/blog/view/config/config.php

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

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

5
module/form/view/config/config.php

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

2
module/gallery/gallery.php

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

5
module/gallery/view/config/config.php

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

1
module/news/news.php

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

5
module/news/view/config/config.php

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

2
module/redirection/redirection.php

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

5
module/redirection/view/config/config.php

@ -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>
Loading…
Cancel
Save