Merge branch '10404' into 10500

This commit is contained in:
fredtempez 2021-02-18 10:16:38 +01:00
commit 1244f2a60c
9 changed files with 57 additions and 12 deletions

View File

@ -5,6 +5,12 @@
- Gestion des module dans l'interface d'administration.
- à compléter..
## 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.

View File

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

View File

@ -15,6 +15,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';
@ -88,9 +96,6 @@ class blog extends common {
public static $users = [];
const VERSION = '4.3';
const REALNAME = 'Blog';
/**
* Flux RSS
*/

View File

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

View File

@ -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,8 +40,6 @@ class form extends common {
public static $pagination;
const VERSION = '2.7';
const REALNAME = 'Formulaire';
// Objets
const TYPE_MAIL = 'mail';

View File

@ -16,12 +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 VERSION = '2.5';
const REALNAME = 'Galerie';
public static $directories = [];

View File

@ -15,6 +15,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,

View File

@ -15,13 +15,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 VERSION = '1.4';
const REALNAME = 'Redirection';
/**
* Configuration

View File

@ -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,8 +46,6 @@ class search extends common {
400 => '400 caractères',
];
const VERSION = '1.2';
const REALNAME = 'Recherche';
// Configuration vide
public function config() {