Browse Source

Merge branch '10404' into 10500

10500
fredtempez 1 week ago
parent
commit
1244f2a60c
9 changed files with 57 additions and 12 deletions
  1. +6
    -0
      CHANGES.md
  2. +1
    -1
      README.md
  3. +8
    -3
      module/blog/blog.php
  4. +1
    -0
      module/blog/view/article/article.php
  5. +8
    -2
      module/form/form.php
  6. +9
    -2
      module/gallery/gallery.php
  7. +8
    -0
      module/news/news.php
  8. +8
    -2
      module/redirection/redirection.php
  9. +8
    -2
      module/search/search.php

+ 6
- 0
CHANGES.md 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.


+ 1
- 1
README.md 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.


+ 8
- 3
module/blog/blog.php 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
*/


+ 1
- 0
module/blog/view/article/article.php 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; ?>


+ 8
- 2
module/form/form.php 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';


+ 9
- 2
module/gallery/gallery.php 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 = [];


+ 8
- 0
module/news/news.php 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,


+ 8
- 2
module/redirection/redirection.php 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


+ 8
- 2
module/search/search.php 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() {


Loading…
Cancel
Save