Blog Balise de fermeture de commentaire - constantes dans les modules
This commit is contained in:
parent
23de277cd6
commit
b5d31033ff
@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## version 10.4.04
|
||||
- Correction :
|
||||
- Module Blog : balise non fermée dans les commentaires.
|
||||
- Modifications :
|
||||
-Constantes de modules.
|
||||
|
||||
## version 10.4.03
|
||||
- Corrections :
|
||||
- En-tête html : absence de la langue.
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
# ZwiiCMS 10.4.03
|
||||
# ZwiiCMS 10.4.04
|
||||
|
||||
Zwii est un CMS sans base de données (flat-file) qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation.
|
||||
|
||||
|
@ -44,7 +44,7 @@ class common {
|
||||
const ACCESS_TIMER = 1800;
|
||||
|
||||
// Numéro de version
|
||||
const ZWII_VERSION = '10.4.03';
|
||||
const ZWII_VERSION = '10.4.04';
|
||||
const ZWII_UPDATE_CHANNEL = "v10";
|
||||
|
||||
public static $actions = [];
|
||||
|
@ -14,6 +14,14 @@
|
||||
|
||||
class blog extends common {
|
||||
|
||||
const VERSION = '4.4';
|
||||
const REALNAME = 'Blog';
|
||||
const DELETE = true;
|
||||
const UPDATE = true;
|
||||
const DATADIRECTORY = [
|
||||
'fr/module.json'
|
||||
];
|
||||
|
||||
const EDIT_OWNER = 'owner';
|
||||
const EDIT_GROUP = 'group';
|
||||
const EDIT_ALL = 'all';
|
||||
@ -87,7 +95,6 @@ class blog extends common {
|
||||
|
||||
public static $users = [];
|
||||
|
||||
const BLOG_VERSION = '4.3';
|
||||
|
||||
/**
|
||||
* Flux RSS
|
||||
|
@ -144,6 +144,7 @@
|
||||
? strftime('%d %B %Y - %H:%M', $comment['createdOn'])
|
||||
: utf8_encode(strftime('%d %B %Y - %H:%M', $comment['createdOn']));
|
||||
?>
|
||||
</h4>
|
||||
<?php echo $comment['content']; ?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
|
@ -47,6 +47,6 @@
|
||||
<?php echo template::speech('Aucun article.'); ?>
|
||||
<?php endif; ?>
|
||||
<div class="moduleVersion">Version n°
|
||||
<?php echo $module::BLOG_VERSION; ?>
|
||||
<?php echo $module::VERSION; ?>
|
||||
</div>
|
||||
|
||||
|
@ -16,6 +16,14 @@
|
||||
|
||||
class form extends common {
|
||||
|
||||
const VERSION = '2.8';
|
||||
const REALNAME = 'Formulaire';
|
||||
const DELETE = true;
|
||||
const UPDATE = true;
|
||||
const DATADIRECTORY = [
|
||||
'fr/module.json'
|
||||
];
|
||||
|
||||
public static $actions = [
|
||||
'config' => self::GROUP_MODERATOR,
|
||||
'data' => self::GROUP_MODERATOR,
|
||||
@ -32,7 +40,7 @@ class form extends common {
|
||||
|
||||
public static $pagination;
|
||||
|
||||
const FORM_VERSION = '2.7';
|
||||
|
||||
|
||||
// Objets
|
||||
const TYPE_MAIL = 'mail';
|
||||
|
@ -164,5 +164,5 @@
|
||||
</div>
|
||||
<?php echo template::formClose(); ?>
|
||||
<div class="moduleVersion">Version n°
|
||||
<?php echo $module::FORM_VERSION; ?>
|
||||
<?php echo $module::VERSION; ?>
|
||||
</div>
|
||||
|
@ -26,5 +26,5 @@
|
||||
<?php echo template::table([11, 1], $module::$data, ['Données', '']); ?>
|
||||
<?php echo $module::$pagination; ?>
|
||||
<div class="moduleVersion">Version n°
|
||||
<?php echo $module::FORM_VERSION; ?>
|
||||
<?php echo $module::VERSION; ?>
|
||||
</div>
|
@ -16,10 +16,19 @@
|
||||
|
||||
class gallery extends common {
|
||||
|
||||
|
||||
const VERSION = '2.6';
|
||||
const REALNAME = 'Galerie';
|
||||
const DELETE = true;
|
||||
const UPDATE = true;
|
||||
const DATADIRECTORY = [
|
||||
'fr/module.json'
|
||||
];
|
||||
|
||||
const SORT_ASC = 'SORT_ASC';
|
||||
const SORT_DSC = 'SORT_DSC';
|
||||
const SORT_HAND = 'SORT_HAND';
|
||||
const GALLERY_VERSION = '2.5';
|
||||
|
||||
|
||||
public static $directories = [];
|
||||
|
||||
|
@ -58,6 +58,6 @@
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="moduleVersion">Version n°
|
||||
<?php echo $module::GALLERY_VERSION; ?>
|
||||
<?php echo $module::VERSION; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -64,6 +64,6 @@
|
||||
</div>
|
||||
|
||||
<div class="moduleVersion">Version n°
|
||||
<?php echo $module::GALLERY_VERSION; ?>
|
||||
<?php echo $module::VERSION; ?>
|
||||
</div>
|
||||
<?php echo template::formClose(); ?>
|
||||
|
@ -139,7 +139,7 @@
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<div class="moduleVersion">Version n°
|
||||
<?php echo $module::GALLERY_VERSION; ?>
|
||||
<?php echo $module::VERSION; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -14,6 +14,14 @@
|
||||
|
||||
class news extends common {
|
||||
|
||||
const VERSION = '2.1';
|
||||
const REALNAME = 'Actualités';
|
||||
const DELETE = true;
|
||||
const UPDATE = true;
|
||||
const DATADIRECTORY = [
|
||||
'fr/module.json'
|
||||
];
|
||||
|
||||
public static $actions = [
|
||||
'add' => self::GROUP_MODERATOR,
|
||||
'config' => self::GROUP_MODERATOR,
|
||||
@ -33,7 +41,6 @@ class news extends common {
|
||||
false => 'Brouillon',
|
||||
true => 'Publié'
|
||||
];
|
||||
const NEWS_VERSION = '2.0';
|
||||
|
||||
public static $users = [];
|
||||
|
||||
|
@ -48,5 +48,5 @@
|
||||
<?php endif; ?>
|
||||
<?php echo template::formClose(); ?>
|
||||
<div class="moduleVersion">Version n°
|
||||
<?php echo $module::NEWS_VERSION; ?>
|
||||
<?php echo $module::VERSION; ?>
|
||||
</div>
|
@ -14,12 +14,19 @@
|
||||
|
||||
class redirection extends common {
|
||||
|
||||
const VERSION = '1.5';
|
||||
const REALNAME = 'Redirection';
|
||||
const DELETE = true;
|
||||
const UPDATE = true;
|
||||
const DATADIRECTORY = [
|
||||
'fr/module.json'
|
||||
];
|
||||
|
||||
public static $actions = [
|
||||
'config' => self::GROUP_MODERATOR,
|
||||
'index' => self::GROUP_VISITOR
|
||||
];
|
||||
|
||||
const REDIRECTION_VERSION = '1.4';
|
||||
|
||||
/**
|
||||
* Configuration
|
||||
|
@ -37,5 +37,5 @@
|
||||
</div>
|
||||
<?php echo template::formClose(); ?>
|
||||
<div class="moduleVersion">Version n°
|
||||
<?php echo $module::REDIRECTION_VERSION; ?>
|
||||
<?php echo $module::VERSION; ?>
|
||||
</div>
|
@ -18,6 +18,14 @@
|
||||
|
||||
class search extends common {
|
||||
|
||||
const VERSION = '1.3';
|
||||
const REALNAME = 'Recherche';
|
||||
const DELETE = true;
|
||||
const UPDATE = true;
|
||||
const DATADIRECTORY = [
|
||||
'fr/module.json'
|
||||
];
|
||||
|
||||
public static $actions = [
|
||||
'index' => self::GROUP_VISITOR,
|
||||
'config' => self::GROUP_MODERATOR
|
||||
@ -38,7 +46,6 @@ class search extends common {
|
||||
400 => '400 caractères',
|
||||
];
|
||||
|
||||
const SEARCH_VERSION = '1.2';
|
||||
|
||||
// Configuration vide
|
||||
public function config() {
|
||||
|
@ -68,5 +68,5 @@
|
||||
</div>
|
||||
<?php echo template::formClose(); ?>
|
||||
<div class="moduleVersion">Version n°
|
||||
<?php echo $module::SEARCH_VERSION; ?>
|
||||
<?php echo $module::VERSION; ?>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user