diff --git a/module/blog/blog.php b/module/blog/blog.php index 9894d5f..9ae8e4f 100644 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -16,7 +16,7 @@ class blog extends common { - const VERSION = '7.1'; + const VERSION = '7.3'; const REALNAME = 'Blog'; const DELETE = true; const UPDATE = '0.0'; @@ -359,7 +359,7 @@ class blog extends common self::$dateFormat = $this->getData(['module', $this->getUrl(0), 'config', 'dateFormat']); self::$timeFormat = $this->getData(['module', $this->getUrl(0), 'config', 'timeFormat']); self::$comments[] = [ - helper::dateUTF8(self::$dateFormat, $comment['createdOn'], self::$i18nUI) . ' - ' . helper::dateUTF8(self::$timeFormat, $comment['createdOn'], self::$i18nUI), + helper::dateUTF8(self::$dateFormat, $comment['createdOn'], self::$i18nContent) . ' - ' . helper::dateUTF8(self::$timeFormat, $comment['createdOn'], self::$i18nContent), $comment['content'], $comment['userId'] ? $this->getData(['user', $comment['userId'], 'firstname']) . ' ' . $this->getData(['user', $comment['userId'], 'lastname']) : $comment['author'], $buttonApproval, @@ -528,7 +528,7 @@ class blog extends common '' . $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'title']) . '', - helper::dateUTF8(self::$dateFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'publishedOn']), self::$i18nUI) . ' - ' . helper::dateUTF8(self::$timeFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'publishedOn']), self::$i18nUI), + helper::dateUTF8(self::$dateFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'publishedOn']), self::$i18nContent) . ' - ' . helper::dateUTF8(self::$timeFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'publishedOn']), self::$i18nContent), self::$states[$this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'state'])], // Bouton pour afficher les commentaires de l'article template::button('blogConfigComment' . $articleIds[$i], [ diff --git a/module/blog/changes.md b/module/blog/changes.md index 5ee383d..a79b03d 100644 --- a/module/blog/changes.md +++ b/module/blog/changes.md @@ -1,3 +1,7 @@ +# Version 7.3 +- Termes des commandes de profils +# Version 7.2 +- Problème avec la portée de la fonction signature déplacée # Version 7.1 - Permission lors de la validation d'un formulaire # Version 7.0 diff --git a/module/blog/enum.json b/module/blog/enum.json index 1cd7c43..418671e 100644 --- a/module/blog/enum.json +++ b/module/blog/enum.json @@ -1 +1 @@ -{"name":"blog","realName":"Blog","version":"7.1","update":"0.0","delete":true,"dataDirectory":""} \ No newline at end of file +{"name":"blog","realName":"Blog","version":"7.2","update":"0.0","delete":true,"dataDirectory":""} \ No newline at end of file diff --git a/module/blog/i18n/de.json b/module/blog/i18n/de.json index 40f824a..353fb97 100644 --- a/module/blog/i18n/de.json +++ b/module/blog/i18n/de.json @@ -49,5 +49,9 @@ "Tous les groupes": "Alle Gruppen", "Tout effacer": "Alles löschen", "Très Grande": "Sehr groß", - "État": "État" + "État": "État", + "Ajouter un article": "Einen Artikel hinzufügen", + "Éditer un article!": "Einen Artikel bearbeiten", + "Effacer un article": "Einen Artikel löschen", + "Options des articles": "Artikelmöglichkeiten" } \ No newline at end of file diff --git a/module/blog/i18n/en_EN.json b/module/blog/i18n/en_EN.json index 5e6cde9..efed80c 100644 --- a/module/blog/i18n/en_EN.json +++ b/module/blog/i18n/en_EN.json @@ -49,5 +49,9 @@ "Tous les groupes": "All groups", "Tout effacer": "Erase everything", "Très Grande": "Very tall", - "État": "Status" + "État": "Status", + "Ajouter un article": "Add an article", + "Éditer un article!": "Edit an article", + "Effacer un article": "Delete an article", + "Options des articles": "Article options" } \ No newline at end of file diff --git a/module/blog/i18n/es.json b/module/blog/i18n/es.json index 7fabded..a3d8d13 100644 --- a/module/blog/i18n/es.json +++ b/module/blog/i18n/es.json @@ -49,5 +49,9 @@ "Tous les groupes": "Todos los grupos", "Tout effacer": "Borrar todo", "Très Grande": "Muy grande", - "État": "Estado" + "État": "Estado", + "Ajouter un article": "Agregar un artículo", + "Éditer un article!": "Editar un artículo", + "Effacer un article": "Borrar un artículo", + "Options des articles": "Opciones de artículos" } \ No newline at end of file diff --git a/module/blog/i18n/fr_FR.json b/module/blog/i18n/fr_FR.json index 3e10b39..c162c66 100644 --- a/module/blog/i18n/fr_FR.json +++ b/module/blog/i18n/fr_FR.json @@ -49,5 +49,9 @@ "Tous les groupes": "", "Tout effacer": "", "Très Grande": "", - "État": "" + "État": "", + "Ajouter un article": "", + "Éditer un article!": "", + "Effacer un article": "", + "Options des articles": "" } \ No newline at end of file diff --git a/module/blog/i18n/gr_GR.json b/module/blog/i18n/gr_GR.json index 7e6158e..0bd94d2 100644 --- a/module/blog/i18n/gr_GR.json +++ b/module/blog/i18n/gr_GR.json @@ -49,5 +49,9 @@ "Tous les groupes": "Όλες οι ομάδες", "Tout effacer": "Διαγραφή όλων", "Très Grande": "Πολύ μεγάλη", - "État": "κατάσταση" + "État": "κατάσταση", + "Ajouter un article": "Προσθήκη άρθρου", + "Éditer un article!": "Επεξεργασία άρθρου", + "Effacer un article": "Διαγραφή άρθρου", + "Options des articles": "Επιλογές άρθρων" } \ No newline at end of file diff --git a/module/blog/i18n/it.json b/module/blog/i18n/it.json index 99c2cb2..9086059 100644 --- a/module/blog/i18n/it.json +++ b/module/blog/i18n/it.json @@ -49,5 +49,9 @@ "Tous les groupes": "Tutti i gruppi", "Tout effacer": "Cancellare tutto", "Très Grande": "Molto alto", - "État": "Stato" + "État": "Stato", + "Ajouter un article": "Aggiungi un articolo", + "Éditer un article!": "Modifica un articolo", + "Effacer un article": "Cancella un articolo", + "Options des articles": "Opzioni degli articoli" } \ No newline at end of file diff --git a/module/blog/i18n/pt_PT.json b/module/blog/i18n/pt_PT.json index f0ac489..9294d35 100644 --- a/module/blog/i18n/pt_PT.json +++ b/module/blog/i18n/pt_PT.json @@ -49,5 +49,9 @@ "Tous les groupes": "Todos os grupos", "Tout effacer": "Apague tudo", "Très Grande": "Muito alto", - "État": "Estado" + "État": "Estado", + "Ajouter un article": "Adicionar um artigo", + "Éditer un article!": "Editar um artigo", + "Effacer un article": "Apagar um artigo", + "Options des articles": "Opções de artigos" } \ No newline at end of file diff --git a/module/blog/i18n/tr_TR.json b/module/blog/i18n/tr_TR.json index c01232c..5c4d206 100644 --- a/module/blog/i18n/tr_TR.json +++ b/module/blog/i18n/tr_TR.json @@ -49,5 +49,9 @@ "Tous les groupes": "Tüm gruplar", "Tout effacer": "Her şeyi sil", "Très Grande": "Çok büyük", - "État": "Durum" + "État": "Durum", + "Ajouter un article": "Makale ekleyin", + "Éditer un article!": "Makale düzenleyin", + "Effacer un article": "Makale silin", + "Options des articles": "Makale seçenekleri" } \ No newline at end of file diff --git a/module/blog/profil/view/add.inc.php b/module/blog/profil/view/add.inc.php index 0f0bed9..8c3aa32 100644 --- a/module/blog/profil/view/add.inc.php +++ b/module/blog/profil/view/add.inc.php @@ -6,29 +6,31 @@