Termes de profil 13.0.07

This commit is contained in:
Fred Tempez 2023-11-07 11:11:47 +01:00
parent e1e73e13d8
commit 27c4f4b7a6
90 changed files with 467 additions and 269 deletions

View File

@ -16,7 +16,7 @@
class blog extends common class blog extends common
{ {
const VERSION = '7.1'; const VERSION = '7.3';
const REALNAME = 'Blog'; const REALNAME = 'Blog';
const DELETE = true; const DELETE = true;
const UPDATE = '0.0'; const UPDATE = '0.0';
@ -359,7 +359,7 @@ class blog extends common
self::$dateFormat = $this->getData(['module', $this->getUrl(0), 'config', 'dateFormat']); self::$dateFormat = $this->getData(['module', $this->getUrl(0), 'config', 'dateFormat']);
self::$timeFormat = $this->getData(['module', $this->getUrl(0), 'config', 'timeFormat']); self::$timeFormat = $this->getData(['module', $this->getUrl(0), 'config', 'timeFormat']);
self::$comments[] = [ 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['content'],
$comment['userId'] ? $this->getData(['user', $comment['userId'], 'firstname']) . ' ' . $this->getData(['user', $comment['userId'], 'lastname']) : $comment['author'], $comment['userId'] ? $this->getData(['user', $comment['userId'], 'firstname']) . ' ' . $this->getData(['user', $comment['userId'], 'lastname']) : $comment['author'],
$buttonApproval, $buttonApproval,
@ -528,7 +528,7 @@ class blog extends common
'<a href="' . helper::baseurl() . $this->getUrl(0) . '/' . $articleIds[$i] . '" target="_blank" >' . '<a href="' . helper::baseurl() . $this->getUrl(0) . '/' . $articleIds[$i] . '" target="_blank" >' .
$this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'title']) . $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'title']) .
'</a>', '</a>',
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'])], self::$states[$this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'state'])],
// Bouton pour afficher les commentaires de l'article // Bouton pour afficher les commentaires de l'article
template::button('blogConfigComment' . $articleIds[$i], [ template::button('blogConfigComment' . $articleIds[$i], [

View File

@ -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 # Version 7.1
- Permission lors de la validation d'un formulaire - Permission lors de la validation d'un formulaire
# Version 7.0 # Version 7.0

View File

@ -1 +1 @@
{"name":"blog","realName":"Blog","version":"7.1","update":"0.0","delete":true,"dataDirectory":""} {"name":"blog","realName":"Blog","version":"7.2","update":"0.0","delete":true,"dataDirectory":""}

View File

@ -49,5 +49,9 @@
"Tous les groupes": "Alle Gruppen", "Tous les groupes": "Alle Gruppen",
"Tout effacer": "Alles löschen", "Tout effacer": "Alles löschen",
"Très Grande": "Sehr groß", "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"
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "All groups", "Tous les groupes": "All groups",
"Tout effacer": "Erase everything", "Tout effacer": "Erase everything",
"Très Grande": "Very tall", "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"
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "Todos los grupos", "Tous les groupes": "Todos los grupos",
"Tout effacer": "Borrar todo", "Tout effacer": "Borrar todo",
"Très Grande": "Muy grande", "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"
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "", "Tous les groupes": "",
"Tout effacer": "", "Tout effacer": "",
"Très Grande": "", "Très Grande": "",
"État": "" "État": "",
"Ajouter un article": "",
"Éditer un article!": "",
"Effacer un article": "",
"Options des articles": ""
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "Όλες οι ομάδες", "Tous les groupes": "Όλες οι ομάδες",
"Tout effacer": "Διαγραφή όλων", "Tout effacer": "Διαγραφή όλων",
"Très Grande": "Πολύ μεγάλη", "Très Grande": "Πολύ μεγάλη",
"État": "κατάσταση" "État": "κατάσταση",
"Ajouter un article": "Προσθήκη άρθρου",
"Éditer un article!": "Επεξεργασία άρθρου",
"Effacer un article": "Διαγραφή άρθρου",
"Options des articles": "Επιλογές άρθρων"
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "Tutti i gruppi", "Tous les groupes": "Tutti i gruppi",
"Tout effacer": "Cancellare tutto", "Tout effacer": "Cancellare tutto",
"Très Grande": "Molto alto", "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"
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "Todos os grupos", "Tous les groupes": "Todos os grupos",
"Tout effacer": "Apague tudo", "Tout effacer": "Apague tudo",
"Très Grande": "Muito alto", "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"
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "Tüm gruplar", "Tous les groupes": "Tüm gruplar",
"Tout effacer": "Her şeyi sil", "Tout effacer": "Her şeyi sil",
"Très Grande": "Çok büyük", "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"
} }

View File

@ -6,29 +6,31 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddBlogAdd', true, 'Ajouter'); ?> <?php echo template::checkbox('profilAddBlogAdd', true, 'Ajouter un article'); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddBlogEdit', true, 'Éditer'); ?> <?php echo template::checkbox('profilAddBlogEdit', true, 'Éditer un article'); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddBlogDelete', true, 'Effacer'); ?> <?php echo template::checkbox('profilAddBlogDelete', true, 'Effacer un article'); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddBlogOption', true, 'Options'); ?> <?php echo template::checkbox('profilAddBlogOption', true, 'Options des articles'); ?>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col3"> <div class="col6">
<?php echo template::checkbox('profilAddBlogComment', true, 'Gérer les commentaires'); ?> <?php echo template::checkbox('profilAddBlogComment', true, 'Gérer les commentaires'); ?>
</div> </div>
<div class="col3 blogAddCommentOptions"> <div class="col6 blogAddCommentOptions">
<?php echo template::checkbox('profilAddBlogCommentApprove', true, 'Approuver un commentaire'); ?> <?php echo template::checkbox('profilAddBlogCommentApprove', true, 'Approuver un commentaire'); ?>
</div> </div>
<div class="col3 blogAddCommentOptions"> </div>
<div class="row">
<div class="col6 blogAddCommentOptions">
<?php echo template::checkbox('profilAddBlogCommentDelete', true, 'Effacer un commentaire'); ?> <?php echo template::checkbox('profilAddBlogCommentDelete', true, 'Effacer un commentaire'); ?>
</div> </div>
<div class="col3 blogAddCommentOptions"> <div class="col6 blogAddCommentOptions">
<?php echo template::checkbox('profilAddBlogCommentDeleteAll', true, 'Effacer tous les commentaires'); ?> <?php echo template::checkbox('profilAddBlogCommentDeleteAll', true, 'Effacer tous les commentaires'); ?>
</div> </div>
</div> </div>

View File

@ -6,43 +6,45 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditBlogAdd', true, 'Ajouter', [ <?php echo template::checkbox('profilEditBlogAdd', true, 'Ajouter un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'add']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'add'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditBlogEdit', true, 'Éditer', [ <?php echo template::checkbox('profilEditBlogEdit', true, 'Éditer un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'edit']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'edit'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditBlogDelete', true, 'Effacer', [ <?php echo template::checkbox('profilEditBlogDelete', true, 'Effacer un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'delete']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'delete'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditBlogOption', true, 'Options', [ <?php echo template::checkbox('profilEditBlogOption', true, 'Options des articles', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'option']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'option'])
]); ?> ]); ?>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col3"> <div class="col6">
<?php echo template::checkbox('profilEditBlogComment', true, 'Gérer les commentaires', [ <?php echo template::checkbox('profilEditBlogComment', true, 'Gérer les commentaires', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment'])
]); ?> ]); ?>
</div> </div>
<div class="col3 blogEditCommentOptions"> <div class="col6 blogEditCommentOptions">
<?php echo template::checkbox('profilEditBlogCommentApprove', true, 'Approuver un commentaire', [ <?php echo template::checkbox('profilEditBlogCommentApprove', true, 'Approuver un commentaire', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove'])
]); ?> ]); ?>
</div> </div>
<div class="col3 blogEditCommentOptions"> </div>
<div class="row">
<div class="col6 blogEditCommentOptions">
<?php echo template::checkbox('profilEditBlogCommentDelete', true, 'Effacer un commentaire', [ <?php echo template::checkbox('profilEditBlogCommentDelete', true, 'Effacer un commentaire', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDelete']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDelete'])
]); ?> ]); ?>
</div> </div>
<div class="col3 blogEditCommentOptions"> <div class="col6 blogEditCommentOptions">
<?php echo template::checkbox('profilEditBlogCommentDeleteAll', true, 'Effacer tous les commentaires', [ <?php echo template::checkbox('profilEditBlogCommentDeleteAll', true, 'Effacer tous les commentaires', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDeleteAll']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDeleteAll'])
]); ?> ]); ?>

View File

@ -1,33 +1,33 @@
<?php <?php
namespace FeedWriter; namespace FeedWriter;
use \LogicException; use \LogicException;
/* /*
* Copyright (C) 2016 Michael Bemmerl <mail@mx-server.de> * Copyright (C) 2016 Michael Bemmerl <mail@mx-server.de>
* *
* This file is part of the "Universal Feed Writer" project. * This file is part of the "Universal Feed Writer" project.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/** /**
* The exception that is thrown when an invalid operation is performed on * The exception that is thrown when an invalid operation is performed on
* the object. * the object.
* *
* @package UniversalFeedWriter * @package UniversalFeedWriter
*/ */
class InvalidOperationException extends LogicException class InvalidOperationException extends LogicException
{ {
} }

View File

@ -15,7 +15,7 @@
<?php echo template::ico('user'); ?> <?php echo template::ico('user'); ?>
<?php echo $module::$articleSignature; ?> <?php echo $module::$articleSignature; ?>
<?php echo template::ico('calendar-empty'); ?> <?php echo template::ico('calendar-empty'); ?>
<?php echo helper::dateUTF8($module::$dateFormat, $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn']), self::$i18nUI) . ' - ' . helper::dateUTF8($module::$timeFormat, $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn']), self::$i18nUI); ?> <?php echo helper::dateUTF8($module::$dateFormat, $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn']), self::$i18nContent) . ' - ' . helper::dateUTF8($module::$timeFormat, $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn']), self::$i18nContent); ?>
<!-- Bloc edition --> <!-- Bloc edition -->
<?php if ( <?php if (
@ -147,7 +147,7 @@
<?php echo template::ico('user'); ?> <?php echo template::ico('user'); ?>
<?php echo $module::$commentsSignature[$commentId]; ?> <?php echo $module::$commentsSignature[$commentId]; ?>
<?php echo template::ico('calendar-empty'); ?> <?php echo template::ico('calendar-empty'); ?>
<?php echo helper::dateUTF8($module::$dateFormat, $comment['createdOn'], self::$i18nUI) . ' - ' . helper::dateUTF8($module::$timeFormat, $comment['createdOn'], self::$i18nUI); ?> <?php echo helper::dateUTF8($module::$dateFormat, $comment['createdOn'], self::$i18nContent) . ' - ' . helper::dateUTF8($module::$timeFormat, $comment['createdOn'], self::$i18nContent); ?>
</h4> </h4>
<?php echo $comment['content']; ?> <?php echo $comment['content']; ?>
</div> </div>

View File

@ -28,7 +28,7 @@
<?php echo template::ico('user'); ?> <?php echo template::ico('user'); ?>
<?php echo $this->signature($this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'userId'])); ?> <?php echo $this->signature($this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'userId'])); ?>
<?php echo template::ico('calendar-empty'); ?> <?php echo template::ico('calendar-empty'); ?>
<?php echo helper::dateUTF8($module::$dateFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'publishedOn']), self::$i18nUI) . ' - ' . helper::dateUTF8($module::$timeFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'publishedOn']), self::$i18nUI); ?> <?php echo helper::dateUTF8($module::$dateFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'publishedOn']), self::$i18nContent) . ' - ' . helper::dateUTF8($module::$timeFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'publishedOn']), self::$i18nContent); ?>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
@ -143,7 +143,7 @@
<?php echo template::ico('user'); ?> <?php echo template::ico('user'); ?>
<?php echo $this->signature($this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'userId'])); ?> <?php echo $this->signature($this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'userId'])); ?>
<?php echo template::ico('calendar-empty'); ?> <?php echo template::ico('calendar-empty'); ?>
<?php echo helper::dateUTF8($module::$dateFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'publishedOn']), self::$i18nUI) . ' - ' . helper::dateUTF8($module::$timeFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'publishedOn']), self::$i18nUI); ?> <?php echo helper::dateUTF8($module::$dateFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'publishedOn']), self::$i18nContent) . ' - ' . helper::dateUTF8($module::$timeFormat, $this->getData(['module', $this->getUrl(0), 'posts', $articleId, 'publishedOn'], self::$i18nContent), self::$i18nContent); ?>
</div> </div>
<div class="blogContent"> <div class="blogContent">
<?php $lenght = $this->getData(['module', $this->getUrl(0), 'config', 'articlesLenght']) !== 0 ? $this->getData(['module', $this->getUrl(0), 'config', 'articlesLenght']) : 500 ?> <?php $lenght = $this->getData(['module', $this->getUrl(0), 'config', 'articlesLenght']) !== 0 ? $this->getData(['module', $this->getUrl(0), 'config', 'articlesLenght']) : 500 ?>

View File

@ -1,3 +1,5 @@
# Version 4.2
- Termes des commandes de profils
# Version 4.1 # Version 4.1
- Corrige un email non envoyé après validation d'un formulaire. - Corrige un email non envoyé après validation d'un formulaire.
# Version 4.0 # Version 4.0

View File

@ -17,7 +17,7 @@
class form extends common class form extends common
{ {
const VERSION = '4.1'; const VERSION = '4.2';
const REALNAME = 'Formulaire'; const REALNAME = 'Formulaire';
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json) const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)

View File

@ -48,5 +48,10 @@
"Vide affiche le texte par défaut": "Das Vakuum zeigt den Standardtext an", "Vide affiche le texte par défaut": "Das Vakuum zeigt den Standardtext an",
"Voir et exporter les données du formulaire": "Sehen und exportieren Sie Formulardaten", "Voir et exporter les données du formulaire": "Sehen und exportieren Sie Formulardaten",
"Étiquette": "Etikett", "Étiquette": "Etikett",
"Étiquette du bouton de soumission": "Schaltfläche Einsender" "Étiquette du bouton de soumission": "Schaltfläche Einsender",
"Options du formulaire": "Formularoptionen",
"Consulter les réponses": "Antworten anzeigen",
"Effacer une réponse": "Antwort löschen",
"Effacer toutes les réponses": "Alle Antworten löschen",
"Exporter toutes les réponses": "Alle Antworten exportieren"
} }

View File

@ -48,5 +48,10 @@
"Vide affiche le texte par défaut": "Vacuum displays the default text", "Vide affiche le texte par défaut": "Vacuum displays the default text",
"Voir et exporter les données du formulaire": "See and export form data", "Voir et exporter les données du formulaire": "See and export form data",
"Étiquette": "Label", "Étiquette": "Label",
"Étiquette du bouton de soumission": "Submission button label" "Étiquette du bouton de soumission": "Submission button label",
"Options du formulaire": "Form Options",
"Consulter les réponses": "View Responses",
"Effacer une réponse": "Delete a Response",
"Effacer toutes les réponses": "Delete All Responses",
"Exporter toutes les réponses": "Export All Responses"
} }

View File

@ -48,5 +48,10 @@
"Vide affiche le texte par défaut": "Vacío muestra el texto predeterminado", "Vide affiche le texte par défaut": "Vacío muestra el texto predeterminado",
"Voir et exporter les données du formulaire": "Ver y exportar datos del formulario", "Voir et exporter les données du formulaire": "Ver y exportar datos del formulario",
"Étiquette": "Etiqueta", "Étiquette": "Etiqueta",
"Étiquette du bouton de soumission": "Etiqueta del botón de envio" "Étiquette du bouton de soumission": "Etiqueta del botón de envio",
"Options du formulaire": "Opciones del formulario",
"Consulter les réponses": "Consultar respuestas",
"Effacer une réponse": "Eliminar una respuesta",
"Effacer toutes les réponses": "Eliminar todas las respuestas",
"Exporter toutes les réponses": "Exportar todas las respuestas"
} }

View File

@ -48,5 +48,10 @@
"Vide affiche le texte par défaut": "", "Vide affiche le texte par défaut": "",
"Voir et exporter les données du formulaire": "", "Voir et exporter les données du formulaire": "",
"Étiquette": "", "Étiquette": "",
"Étiquette du bouton de soumission": "" "Étiquette du bouton de soumission": "",
"Options du formulaire": "",
"Consulter les réponses": "",
"Effacer une réponse": "",
"Effacer toutes les réponses": "",
"Exporter toutes les réponses": ""
} }

View File

@ -48,5 +48,10 @@
"Vide affiche le texte par défaut": "Το κενό εμφανίζει προεπιλεγμένο κείμενο", "Vide affiche le texte par défaut": "Το κενό εμφανίζει προεπιλεγμένο κείμενο",
"Voir et exporter les données du formulaire": "Προβολή και εξαγωγή δεδομένων φόρμας", "Voir et exporter les données du formulaire": "Προβολή και εξαγωγή δεδομένων φόρμας",
"Étiquette": "ετικέτα", "Étiquette": "ετικέτα",
"Étiquette du bouton de soumission": "Ετικέτα κουμπιού υποβολής" "Étiquette du bouton de soumission": "Ετικέτα κουμπιού υποβολής",
"Options du formulaire": "Επιλογές φόρμας",
"Consulter les réponses": "Προβολή απαντήσεων",
"Effacer une réponse": "Διαγραφή μιας απάντησης",
"Effacer toutes les réponses": "Διαγραφή όλων των απαντήσεων",
"Exporter toutes les réponses": "Εξαγωγή όλων των απαντήσεων"
} }

View File

@ -48,5 +48,10 @@
"Vide affiche le texte par défaut": "Il vuoto visualizza il testo predefinito", "Vide affiche le texte par défaut": "Il vuoto visualizza il testo predefinito",
"Voir et exporter les données du formulaire": "Vedi ed esporta i dati del modulo", "Voir et exporter les données du formulaire": "Vedi ed esporta i dati del modulo",
"Étiquette": "Etichetta", "Étiquette": "Etichetta",
"Étiquette du bouton de soumission": "Etichetta del pulsante di invio" "Étiquette du bouton de soumission": "Etichetta del pulsante di invio",
"Options du formulaire": "Opzioni del modulo",
"Consulter les réponses": "Visualizza risposte",
"Effacer une réponse": "Cancella una risposta",
"Effacer toutes les réponses": "Cancella tutte le risposte",
"Exporter toutes les réponses": "Esporta tutte le risposte"
} }

View File

@ -48,5 +48,10 @@
"Vide affiche le texte par défaut": "A vácuo exibe o texto padrão", "Vide affiche le texte par défaut": "A vácuo exibe o texto padrão",
"Voir et exporter les données du formulaire": "Ver e exportar dados de formulário", "Voir et exporter les données du formulaire": "Ver e exportar dados de formulário",
"Étiquette": "Etiqueta", "Étiquette": "Etiqueta",
"Étiquette du bouton de soumission": "Etiqueta do botão de envio" "Étiquette du bouton de soumission": "Etiqueta do botão de envio",
"Options du formulaire": "Opções do formulário",
"Consulter les réponses": "Ver respostas",
"Effacer une réponse": "Apagar uma resposta",
"Effacer toutes les réponses": "Apagar todas as respostas",
"Exporter toutes les réponses": "Exportar todas as respostas"
} }

View File

@ -48,5 +48,10 @@
"Vide affiche le texte par défaut": "Boş ise, varsayılan metni görüntüler", "Vide affiche le texte par défaut": "Boş ise, varsayılan metni görüntüler",
"Voir et exporter les données du formulaire": "Form verilerini görüntüle ve dışa aktar", "Voir et exporter les données du formulaire": "Form verilerini görüntüle ve dışa aktar",
"Étiquette": "Etiket", "Étiquette": "Etiket",
"Étiquette du bouton de soumission": "Düğme etiketini gönder" "Étiquette du bouton de soumission": "Düğme etiketini gönder",
"Options du formulaire": "Form Seçenekleri",
"Consulter les réponses": "Yanıtları Görüntüle",
"Effacer une réponse": "Bir Yanıtı Sil",
"Effacer toutes les réponses": "Tüm Yanıtları Sil",
"Exporter toutes les réponses": "Tüm Yanıtları Dışa Aktar"
} }

View File

@ -5,20 +5,22 @@
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Formulaire')); ?> <?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Formulaire')); ?>
</h4> </h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col6">
<?php echo template::checkbox('profilEditFormData', true, 'Gérer les données'); ?> <?php echo template::checkbox('profilEditFormOption', true, 'Options du formulaire'); ?>
</div> </div>
<div class="col2"> <div class="col6">
<?php echo template::checkbox('profilEditFormOption', true, 'Options'); ?> <?php echo template::checkbox('profilEditFormData', true, 'Consulter les réponses'); ?>
</div> </div>
<div class="col2">
<?php echo template::checkbox('profilEditFormDelete', true, 'Effacer'); ?>
</div> </div>
<div class="col2"> <div class="row">
<?php echo template::checkbox('profilEditFormDeleteAll', true, 'Tout Effacer'); ?> <div class="col4">
<?php echo template::checkbox('profilEditFormDelete', true, 'Effacer une réponse'); ?>
</div> </div>
<div class="col2"> <div class="col4">
<?php echo template::checkbox('profilEditFormExport2csv', true, 'Export CSV'); ?> <?php echo template::checkbox('profilEditFormDeleteAll', true, 'Effacer toutes les réponses'); ?>
</div>
<div class="col4">
<?php echo template::checkbox('profilEditFormExport2csv', true, 'Exporter toutes les réponses'); ?>
</div> </div>
</div> </div>
</div> </div>

View File

@ -5,28 +5,30 @@
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Formulaire')); ?> <?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Formulaire')); ?>
</h4> </h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col6">
<?php echo template::checkbox('profilEditFormData', true, 'Gérer les données', [ <?php echo template::checkbox('profilEditFormOption', true, 'Options du formulaire', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'data'])
]); ?>
</div>
<div class="col2">
<?php echo template::checkbox('profilEditFormOption', true, 'Options', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'option']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'option'])
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col6">
<?php echo template::checkbox('profilEditFormDelete', true, 'Effacer', [ <?php echo template::checkbox('profilEditFormData', true, 'Consulter les réponses', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'data'])
]); ?>
</div>
</div>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilEditFormDelete', true, 'Effacer une réponse', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'delete']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'delete'])
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col4">
<?php echo template::checkbox('profilEditFormDeleteAll', true, 'Tout Effacer', [ <?php echo template::checkbox('profilEditFormDeleteAll', true, 'Effacer toutes les réponses', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'deleteAll']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'deleteAll'])
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col4">
<?php echo template::checkbox('profilEditFormExport2csv', true, 'Export CSV', [ <?php echo template::checkbox('profilEditFormExport2csv', true, 'Exporter toutes les réponses', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'export2csv']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'export2csv'])
]); ?> ]); ?>
</div> </div>

View File

@ -1,19 +1,19 @@
<?php <?php
class init extends form { class init extends form {
public static $defaultData = [ public static $defaultData = [
'button'=> '', 'button'=> '',
'captcha'=> false, 'captcha'=> false,
'group'=> 0, 'group'=> 0,
'user'=> '', 'user'=> '',
'mail'=> '', 'mail'=> '',
'pageId'=> '', 'pageId'=> '',
'subject'=> '', 'subject'=> '',
'replyto'=> false, 'replyto'=> false,
'signature'=> 'text', 'signature'=> 'text',
'logoUrl'=> '', 'logoUrl'=> '',
'logoWidth'=> '40', 'logoWidth'=> '40',
'offset'=> '0', 'offset'=> '0',
'width'=> '12', 'width'=> '12',
'align'=> '' 'align'=> ''
]; ];
} }

View File

@ -1,31 +1,31 @@
/** /**
* This file is part of Zwii. * This file is part of Zwii.
* *
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* *
* @author Rémi Jean <remi.jean@outlook.com> * @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean * @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com> * @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2023, Frédéric Tempez * @copyright Copyright (C) 2018-2023, Frédéric Tempez
* @license CC Attribution-NonCommercial-NoDerivatives 4.0 International * @license CC Attribution-NonCommercial-NoDerivatives 4.0 International
* @link http://zwiicms.fr/ * @link http://zwiicms.fr/
*/ */
/* Paramètres de l'étiquette dans form */ /* Paramètres de l'étiquette dans form */
.formLabel { .formLabel {
margin-top: 20px; margin-top: 20px;
} }
.formLabel hr { .formLabel hr {
border: 0.5px solid; border: 0.5px solid;
margin: 5px 0 5px; margin: 5px 0 5px;
} }
.inputDateManagerWrapper { .inputDateManagerWrapper {
width: 20%; width: 20%;
} }
input[type="date"] { input[type="date"] {
width: 200px; width: 200px;
text-align: center; text-align: center;
} }

View File

@ -1,3 +1,5 @@
# Version 4.1
- Termes des commandes de profils
# Version 4.0 # Version 4.0
- Gestion des permissions intégrée dans le module - Gestion des permissions intégrée dans le module
# Version 3.9 # Version 3.9

View File

@ -1 +1 @@
{"name":"gallery","realName":"Galerie","version":"3.9","update":"0.0","delete":true,"dataDirectory":"site\/data\/gallery\/"} {"name":"gallery","realName":"Galerie","version":"4.0","update":"0.0","delete":true,"dataDirectory":"site\/data\/gallery\/"}

View File

@ -18,7 +18,7 @@ class gallery extends common
{ {
const VERSION = '4.0'; const VERSION = '4.1';
const REALNAME = 'Galerie'; const REALNAME = 'Galerie';
const DATADIRECTORY = self::DATA_DIR . 'gallery/'; const DATADIRECTORY = self::DATA_DIR . 'gallery/';

View File

@ -35,5 +35,10 @@
"Très fine": "Sehr gut", "Très fine": "Sehr gut",
"Très forte": "Sehr stark", "Très forte": "Sehr stark",
"Très épaisse": "Sehr dick", "Très épaisse": "Sehr dick",
"Vignettes": "Vignetten" "Vignettes": "Vignetten",
"Ajouter une galerie": "Eine Galerie hinzufügen",
"Éditer une galerie": "Eine Galerie bearbeiten",
"Effacer une galerie": "Eine Galerie löschen",
"Options des galeries": "Galerieoptionen",
"Thème des galeries": "Galeriethemen"
} }

View File

@ -35,5 +35,10 @@
"Très fine": "Very fine", "Très fine": "Very fine",
"Très forte": "Very strong", "Très forte": "Very strong",
"Très épaisse": "Very thick", "Très épaisse": "Very thick",
"Vignettes": "Vignettes" "Vignettes": "Vignettes",
"Ajouter une galerie": "Add a gallery",
"Éditer une galerie": "Edit a gallery",
"Effacer une galerie": "Delete a gallery",
"Options des galeries": "Gallery options",
"Thème des galeries": "Gallery themes"
} }

View File

@ -35,5 +35,10 @@
"Très fine": "Muy fino", "Très fine": "Muy fino",
"Très forte": "Muy fuerte", "Très forte": "Muy fuerte",
"Très épaisse": "Muy grueso", "Très épaisse": "Muy grueso",
"Vignettes": "Viñetas" "Vignettes": "Viñetas",
"Ajouter une galerie": "Agregar una galería",
"Éditer une galerie": "Editar una galería",
"Effacer une galerie": "Borrar una galería",
"Options des galeries": "Opciones de galerías",
"Thème des galeries": "Temas de galerías"
} }

View File

@ -35,5 +35,10 @@
"Très fine": "", "Très fine": "",
"Très forte": "", "Très forte": "",
"Très épaisse": "", "Très épaisse": "",
"Vignettes": "" "Vignettes": "",
"Ajouter une galerie": "",
"Éditer une galerie": "",
"Effacer une galerie": "",
"Options des galeries": "",
"Thème des galeries": ""
} }

View File

@ -35,5 +35,10 @@
"Très fine": "Πολύ λεπτή γραμμή ", "Très fine": "Πολύ λεπτή γραμμή ",
"Très forte": "Πολύ Ισχυρή αδιαφάνεια", "Très forte": "Πολύ Ισχυρή αδιαφάνεια",
"Très épaisse": "πολύ παχιά γραμμή", "Très épaisse": "πολύ παχιά γραμμή",
"Vignettes": "" "Vignettes": "",
"Ajouter une galerie": "Προσθήκη συλλογής",
"Éditer une galerie": "Επεξεργασία συλλογής",
"Effacer une galerie": "Διαγραφή συλλογής",
"Options des galeries": "Επιλογές συλλογών",
"Thème des galeries": "Θέματα συλλογών"
} }

View File

@ -35,5 +35,10 @@
"Très fine": "Molto bene", "Très fine": "Molto bene",
"Très forte": "Molto forte", "Très forte": "Molto forte",
"Très épaisse": "Molto spesso", "Très épaisse": "Molto spesso",
"Vignettes": "Vignette" "Vignettes": "Vignette",
"Ajouter une galerie": "Aggiungi una galleria",
"Éditer une galerie": "Modifica una galleria",
"Effacer une galerie": "Cancella una galleria",
"Options des galeries": "Opzioni delle gallerie",
"Thème des galeries": "Temi delle gallerie"
} }

View File

@ -35,5 +35,10 @@
"Très fine": "Muito bem", "Très fine": "Muito bem",
"Très forte": "Muito forte", "Très forte": "Muito forte",
"Très épaisse": "Muito espesso", "Très épaisse": "Muito espesso",
"Vignettes": "Vinhetas" "Vignettes": "Vinhetas",
"Ajouter une galerie": "Adicionar uma galeria",
"Éditer une galerie": "Editar uma galeria",
"Effacer une galerie": "Apagar uma galeria",
"Options des galeries": "Opções de galerias",
"Thème des galeries": "Temas de galerias"
} }

View File

@ -35,5 +35,10 @@
"Très fine": "Çok ince", "Très fine": "Çok ince",
"Très forte": "Çok güçlü", "Très forte": "Çok güçlü",
"Très épaisse": "Çok kalın", "Très épaisse": "Çok kalın",
"Vignettes": "Küçük resim" "Vignettes": "Küçük resim",
"Ajouter une galerie": "Galeri Ekle",
"Éditer une galerie": "Galeri Düzenle",
"Effacer une galerie": "Galeri Sil",
"Options des galeries": "Galeri Seçenekleri",
"Thème des galeries": "Galeri Temaları"
} }

View File

@ -5,20 +5,22 @@
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Galerie')); ?> <?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Galerie')); ?>
</h4> </h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col4">
<?php echo template::checkbox('profilAddGalleryAdd', true, 'Ajouter'); ?> <?php echo template::checkbox('profilAddGalleryAdd', true, 'Ajouter une galerie'); ?>
</div> </div>
<div class="col3"> <div class="col4">
<?php echo template::checkbox('profilAddGalleryEdit', true, 'Éditer'); ?> <?php echo template::checkbox('profilAddGalleryEdit', true, 'Éditer une galerie'); ?>
</div> </div>
<div class="col2"> <div class="col4">
<?php echo template::checkbox('profilAddGalleryDelete', true, 'Effacer'); ?> <?php echo template::checkbox('profilAddGalleryDelete', true, 'Effacer une galerie'); ?>
</div> </div>
<div class="col2"> </div>
<?php echo template::checkbox('profilAddGalleryOption', true, 'Options'); ?> <div class="row">
<div class="col6">
<?php echo template::checkbox('profilAddGalleryOption', true, 'Options des galeries'); ?>
</div> </div>
<div class="col2"> <div class="col6">
<?php echo template::checkbox('profilAddGalleryTheme', true, 'Thème'); ?> <?php echo template::checkbox('profilAddGalleryTheme', true, 'Thème des galeries'); ?>
</div> </div>
</div> </div>
</div> </div>

View File

@ -2,31 +2,33 @@
<div class="col12"> <div class="col12">
<div class="block"> <div class="block">
<h4> <h4>
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Galerie')); ?> <?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Galerie')); ?>
</h4> </h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col4">
<?php echo template::checkbox('profilEditGalleryAdd', true, 'Ajouter', [ <?php echo template::checkbox('profilEditGalleryAdd', true, 'Ajouter une galerie', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'add']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'add'])
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col4">
<?php echo template::checkbox('profilEditGalleryEdit', true, 'Éditer', [ <?php echo template::checkbox('profilEditGalleryEdit', true, 'Éditer une galerie', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'edit']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'edit'])
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col4">
<?php echo template::checkbox('profilEditGalleryDelete', true, 'Effacer', [ <?php echo template::checkbox('profilEditGalleryDelete', true, 'Effacer une galerie', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'delete']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'delete'])
]); ?> ]); ?>
</div> </div>
<div class="col2"> </div>
<?php echo template::checkbox('profilEditGalleryOption', true, 'Options', [ <div class="row">
<div class="col6">
<?php echo template::checkbox('profilEditGalleryOption', true, 'Options des galeries', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'option']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'option'])
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col6">
<?php echo template::checkbox('profilEditGalleryTheme', true, 'Thème', [ <?php echo template::checkbox('profilEditGalleryTheme', true, 'Thème des galeries', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'theme']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'theme'])
]); ?> ]); ?>
</div> </div>

View File

@ -1,3 +1,5 @@
# Version 5.2
- Termes des commandes de profils
# Version 5.1 # Version 5.1
- Erreur de profil - Erreur de profil
# Version 5.0 # Version 5.0

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Schreiben Sie eine Nachricht", "Rédiger une news": "Schreiben Sie eine Nachricht",
"Supprimer cet article ?": "Diesen Artikel löschen?", "Supprimer cet article ?": "Diesen Artikel löschen?",
"Très fine": "Sehr gut", "Très fine": "Sehr gut",
"Épaisseur": "Dicke" "Épaisseur": "Dicke",
"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"
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Write a news", "Rédiger une news": "Write a news",
"Supprimer cet article ?": "Delete this article?", "Supprimer cet article ?": "Delete this article?",
"Très fine": "Very fine", "Très fine": "Very fine",
"Épaisseur": "Thickness" "Épaisseur": "Thickness",
"Ajouter un article": "Add an article",
"Éditer un article!": "Edit an article",
"Effacer un article": "Delete an article",
"Options des articles": "Article options"
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Escribir una noticia", "Rédiger une news": "Escribir una noticia",
"Supprimer cet article ?": "¿Borrar este artículo?", "Supprimer cet article ?": "¿Borrar este artículo?",
"Très fine": "Muy fino", "Très fine": "Muy fino",
"Épaisseur": "Espesor" "Épaisseur": "Espesor",
"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"
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "", "Rédiger une news": "",
"Supprimer cet article ?": "", "Supprimer cet article ?": "",
"Très fine": "", "Très fine": "",
"Épaisseur": "" "Épaisseur": "",
"Ajouter un article": "",
"Éditer un article!": "",
"Effacer un article":"",
"Options des articles":""
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Γράψε μια είδηση", "Rédiger une news": "Γράψε μια είδηση",
"Supprimer cet article ?": "Να διαγράψετε αυτό το άρθρο;", "Supprimer cet article ?": "Να διαγράψετε αυτό το άρθρο;",
"Très fine": "Πολύ λεπτή γραμμή", "Très fine": "Πολύ λεπτή γραμμή",
"Épaisseur": "Πάχος" "Épaisseur": "Πάχος",
"Ajouter un article": "Προσθήκη άρθρου",
"Éditer un article!": "Επεξεργασία άρθρου",
"Effacer un article": "Διαγραφή άρθρου",
"Options des articles": "Επιλογές άρθρων"
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Scrivi una notizia", "Rédiger une news": "Scrivi una notizia",
"Supprimer cet article ?": "Elimina questo articolo?", "Supprimer cet article ?": "Elimina questo articolo?",
"Très fine": "Molto bene", "Très fine": "Molto bene",
"Épaisseur": "Spessore" "Épaisseur": "Spessore",
"Ajouter un article": "Aggiungi un articolo",
"Éditer un article!": "Modifica un articolo",
"Effacer un article": "Cancella un articolo",
"Options des articles": "Opzioni degli articoli"
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Escreva uma notícia", "Rédiger une news": "Escreva uma notícia",
"Supprimer cet article ?": "Excluir este artigo?", "Supprimer cet article ?": "Excluir este artigo?",
"Très fine": "Muito bem", "Très fine": "Muito bem",
"Épaisseur": "Espessura" "Épaisseur": "Espessura",
"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"
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Bir haber yaz", "Rédiger une news": "Bir haber yaz",
"Supprimer cet article ?": "Bu makale silinsin mi?", "Supprimer cet article ?": "Bu makale silinsin mi?",
"Très fine": "Çok ince", "Très fine": "Çok ince",
"Épaisseur": "Kalınlık" "Épaisseur": "Kalınlık",
"Ajouter un article": "Makale ekleyin",
"Éditer un article!": "Makale düzenleyin",
"Effacer un article": "Makale silin",
"Options des articles": "Makale seçenekleri"
} }

View File

@ -16,7 +16,7 @@
class news extends common class news extends common
{ {
const VERSION = '5.1'; const VERSION = '5.2';
const REALNAME = 'News'; const REALNAME = 'News';
const DATADIRECTORY = self::DATA_DIR . 'news/'; const DATADIRECTORY = self::DATA_DIR . 'news/';

View File

@ -6,16 +6,16 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddNewsAdd', true, 'Ajouter'); ?> <?php echo template::checkbox('profilAddNewsAdd', true, 'Ajouter un article'); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddNewsEdit', true, 'Éditer'); ?> <?php echo template::checkbox('profilAddNewsEdit', true, 'Éditer un article'); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddNewsDelete', true, 'Effacer'); ?> <?php echo template::checkbox('profilAddNewsDelete', true, 'Effacer un article'); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddNewsOption', true, 'Options'); ?> <?php echo template::checkbox('profilAddNewsOption', true, 'Options des articles'); ?>
</div> </div>
</div> </div>

View File

@ -6,22 +6,22 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditNewsAdd', true, 'Ajouter', [ <?php echo template::checkbox('profilEditNewsAdd', true, 'Ajouter un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'add']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'add'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditNewsEdit', true, 'Éditer', [ <?php echo template::checkbox('profilEditNewsEdit', true, 'Éditer un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'edit']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'edit'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditNewsDelete', true, 'Effacer', [ <?php echo template::checkbox('profilEditNewsDelete', true, 'Effacer un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'delete']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'delete'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditNewsOption', true, 'Options', [ <?php echo template::checkbox('profilEditNewsOption', true, 'Options des articles', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'option']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'option'])
]); ?> ]); ?>
</div> </div>

View File

@ -1,33 +1,33 @@
<?php <?php
namespace FeedWriter; namespace FeedWriter;
use \LogicException; use \LogicException;
/* /*
* Copyright (C) 2016 Michael Bemmerl <mail@mx-server.de> * Copyright (C) 2016 Michael Bemmerl <mail@mx-server.de>
* *
* This file is part of the "Universal Feed Writer" project. * This file is part of the "Universal Feed Writer" project.
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/** /**
* The exception that is thrown when an invalid operation is performed on * The exception that is thrown when an invalid operation is performed on
* the object. * the object.
* *
* @package UniversalFeedWriter * @package UniversalFeedWriter
*/ */
class InvalidOperationException extends LogicException class InvalidOperationException extends LogicException
{ {
} }

View File

@ -1,6 +1,6 @@
# Version 2.1 # Version 2.1
- Edition du module ou de la page impossible. - Edition du module ou de la page impossible.
# Version 2.0 # Version 2.0
- Gestion des permissions intégrée dans le module - Gestion des permissions intégrée dans le module
# Version 1.6 # Version 1.6
- Multilinguisme - Multilinguisme

View File

@ -1 +1 @@
{"name":"redirection","realName":"Redirection","version":"1.6","update":"0.0","delete":true,"dataDirectory":""} {"name":"redirection","realName":"Redirection","version":"2.1","update":"0.0","delete":true,"dataDirectory":""}

View File

@ -1,5 +1,6 @@
{ {
"Lien de redirection": "Umleitung Link", "Lien de redirection": "Umleitung Link",
"Nombre de redirections": "Anzahl der Weiterleitungen", "Nombre de redirections": "Anzahl der Weiterleitungen",
"Statistiques": "Statistiken" "Statistiques": "Statistiken",
"Configurer le module": "Das Modul konfigurieren"
} }

View File

@ -1,5 +1,6 @@
{ {
"Lien de redirection": "Redirection link", "Lien de redirection": "Redirection link",
"Nombre de redirections": "Number of redirects", "Nombre de redirections": "Number of redirects",
"Statistiques": "Statistics" "Statistiques": "Statistics",
"Configurer le module": "Configure the module"
} }

View File

@ -1,5 +1,6 @@
{ {
"Lien de redirection": "Redireccionar enlace", "Lien de redirection": "Redireccionar enlace",
"Nombre de redirections": "Nombre de redireccionamientos", "Nombre de redirections": "Nombre de redireccionamientos",
"Statistiques": "Estadísticas" "Statistiques": "Estadísticas",
"Configurer le module": "Configurar el módulo"
} }

View File

@ -1,5 +1,6 @@
{ {
"Lien de redirection": "", "Lien de redirection": "",
"Nombre de redirections": "", "Nombre de redirections": "",
"Statistiques": "" "Statistiques": "",
"Configurer le module": ""
} }

View File

@ -1,5 +1,6 @@
{ {
"Lien de redirection": "Σύνδεσμος ανακατεύθυνσης", "Lien de redirection": "Σύνδεσμος ανακατεύθυνσης",
"Nombre de redirections": "Αριθμός ανακατευθύνσεων", "Nombre de redirections": "Αριθμός ανακατευθύνσεων",
"Statistiques": "Στατιστικά" "Statistiques": "Στατιστικά",
"Configurer le module": "Διαμορφώστε τον ενότητα"
} }

View File

@ -1,5 +1,6 @@
{ {
"Lien de redirection": "Link di reindirizzamento", "Lien de redirection": "Link di reindirizzamento",
"Nombre de redirections": "Numero di reindirizzamenti", "Nombre de redirections": "Numero di reindirizzamenti",
"Statistiques": "Statistiche" "Statistiques": "Statistiche",
"Configurer le module": "Configurare il modulo"
} }

View File

@ -1,5 +1,6 @@
{ {
"Lien de redirection": "Link de redirecionamento", "Lien de redirection": "Link de redirecionamento",
"Nombre de redirections": "Número de redirecionamentos", "Nombre de redirections": "Número de redirecionamentos",
"Statistiques": "Estatísticas" "Statistiques": "Estatísticas",
"Configurer le module": "Configurar o módulo"
} }

View File

@ -1,5 +1,6 @@
{ {
"Lien de redirection": "Yönlendirme bağlantısı", "Lien de redirection": "Yönlendirme bağlantısı",
"Nombre de redirections": "Yönlendirme sayısı", "Nombre de redirections": "Yönlendirme sayısı",
"Statistiques": "İstatistik" "Statistiques": "İstatistik",
"Configurer le module": "Modülü Yapılandır"
} }

View File

@ -6,7 +6,7 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col4"> <div class="col4">
<?php echo template::checkbox('profilEditRedirectionConfig', true, 'Configurer'); ?> <?php echo template::checkbox('profilEditRedirectionConfig', true, 'Configurer le module'); ?>
</div> </div>
</div> </div>
</div> </div>

View File

@ -6,7 +6,7 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col4"> <div class="col4">
<?php echo template::checkbox('profilEditRedirectionConfig', true, 'Configurer', [ <?php echo template::checkbox('profilEditRedirectionConfig', true, 'Configurer le module', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'redirection', 'config']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'redirection', 'config'])
]); ?> ]); ?>
</div> </div>

View File

@ -1 +1 @@
{"name":"search","realName":"Recherche","version":"2.8","update":"0.0","delete":true,"dataDirectory":"site\/data\/search\/"} {"name":"search","realName":"Recherche","version":"3.0","update":"0.0","delete":true,"dataDirectory":"site\/data\/search\/"}

View File

@ -9,5 +9,6 @@
"Masquer le contenu de la page dans les résultats": "Verstecken Sie den Inhalt der Seite in den Ergebnissen", "Masquer le contenu de la page dans les résultats": "Verstecken Sie den Inhalt der Seite in den Ergebnissen",
"Mots approchants": "Wörter nähern", "Mots approchants": "Wörter nähern",
"Surlignement": "Hervorhebung", "Surlignement": "Hervorhebung",
"Texte du bouton": "Schaltflächentext" "Texte du bouton": "Schaltflächentext",
"Configurer le module": "Das Modul konfigurieren"
} }

View File

@ -9,5 +9,6 @@
"Masquer le contenu de la page dans les résultats": "Hide the content of the page in the results", "Masquer le contenu de la page dans les résultats": "Hide the content of the page in the results",
"Mots approchants": "Approaching words", "Mots approchants": "Approaching words",
"Surlignement": "Highlighting", "Surlignement": "Highlighting",
"Texte du bouton": "Button text" "Texte du bouton": "Button text",
"Configurer le module": "Configure the module"
} }

View File

@ -9,5 +9,6 @@
"Masquer le contenu de la page dans les résultats": "Ocultar el contenido de la página de los resultados", "Masquer le contenu de la page dans les résultats": "Ocultar el contenido de la página de los resultados",
"Mots approchants": "Palabras relacionadas", "Mots approchants": "Palabras relacionadas",
"Surlignement": "Destacar", "Surlignement": "Destacar",
"Texte du bouton": "Botón de texto" "Texte du bouton": "Botón de texto",
"Configurer le module": "Configurar el módulo"
} }

View File

@ -9,5 +9,6 @@
"Masquer le contenu de la page dans les résultats": "", "Masquer le contenu de la page dans les résultats": "",
"Mots approchants": "", "Mots approchants": "",
"Surlignement": "", "Surlignement": "",
"Texte du bouton": "" "Texte du bouton": "",
"Configurer le module": ""
} }

View File

@ -9,5 +9,6 @@
"Masquer le contenu de la page dans les résultats": "Απόκρυψη περιεχομένου σελίδας από αποτελέσματα", "Masquer le contenu de la page dans les résultats": "Απόκρυψη περιεχομένου σελίδας από αποτελέσματα",
"Mots approchants": "Λέξεις κοντά", "Mots approchants": "Λέξεις κοντά",
"Surlignement": "Επισήμανση", "Surlignement": "Επισήμανση",
"Texte du bouton": "Κείμενο κουμπιού" "Texte du bouton": "Κείμενο κουμπιού",
"Configurer le module": "Διαμορφώστε τον ενότητα"
} }

View File

@ -9,5 +9,6 @@
"Masquer le contenu de la page dans les résultats": "Nascondi il contenuto della pagina nei risultati", "Masquer le contenu de la page dans les résultats": "Nascondi il contenuto della pagina nei risultati",
"Mots approchants": "Avvicinarsi alle parole", "Mots approchants": "Avvicinarsi alle parole",
"Surlignement": "Evidenziazione", "Surlignement": "Evidenziazione",
"Texte du bouton": "Testo del pulsante" "Texte du bouton": "Testo del pulsante",
"Configurer le module": "Configurare il modulo"
} }

View File

@ -9,5 +9,6 @@
"Masquer le contenu de la page dans les résultats": "Ocultar o conteúdo da página nos resultados", "Masquer le contenu de la page dans les résultats": "Ocultar o conteúdo da página nos resultados",
"Mots approchants": "Palavras se aproximando", "Mots approchants": "Palavras se aproximando",
"Surlignement": "Destacando", "Surlignement": "Destacando",
"Texte du bouton": "Botão de texto" "Texte du bouton": "Botão de texto",
"Configurer le module": "Configurar o módulo"
} }

View File

@ -9,5 +9,6 @@
"Masquer le contenu de la page dans les résultats": "Sayfa içeriğini sonuçlardan gizle", "Masquer le contenu de la page dans les résultats": "Sayfa içeriğini sonuçlardan gizle",
"Mots approchants": "Yakındaki kelimeler", "Mots approchants": "Yakındaki kelimeler",
"Surlignement": "Vurgulamak", "Surlignement": "Vurgulamak",
"Texte du bouton": "Düğme metni" "Texte du bouton": "Düğme metni",
"Configurer le module": "Modülü Yapılandır"
} }

View File

@ -6,7 +6,7 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col4"> <div class="col4">
<?php echo template::checkbox('profilEditSearchConfig', true, 'Configurer'); ?> <?php echo template::checkbox('profilEditSearchConfig', true, 'Configurer le module'); ?>
</div> </div>
</div> </div>
</div> </div>

View File

@ -6,7 +6,7 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col4"> <div class="col4">
<?php echo template::checkbox('profilEditSearchConfig', true, 'Configurer', [ <?php echo template::checkbox('profilEditSearchConfig', true, 'Configurer le module', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'search', 'config']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'search', 'config'])
]); ?> ]); ?>
</div> </div>

View File

@ -213,8 +213,8 @@ class search extends common
) { ) {
$url = $parentId; $url = $parentId;
$titre = $this->getData(['page', $parentId, 'title']); $titre = $this->getData(['page', $parentId, 'title']);
//$content = file_get_contents(self::DATA_DIR . self::$siteContent . '/content/' . $this->getData(['page', $parentId, 'content'])); //$content = file_get_contents(self::DATA_DIR . self::$i18nContent . '/content/' . $this->getData(['page', $parentId, 'content']));
$content = $this->getPage($parentId, self::$siteContent); $content = $this->getPage($parentId, self::$i18nContent);
$content = $titre . ' ' . $content; $content = $titre . ' ' . $content;
// Pages sauf pages filles et articles de blog // Pages sauf pages filles et articles de blog
$tempData = $this->occurrence($url, $titre, $content, $motclef, self::$motentier); $tempData = $this->occurrence($url, $titre, $content, $motclef, self::$motentier);
@ -232,8 +232,8 @@ class search extends common
) { ) {
$url = $childId; $url = $childId;
$titre = $this->getData(['page', $childId, 'title']); $titre = $this->getData(['page', $childId, 'title']);
//$content = file_get_contents(self::DATA_DIR . self::$siteContent . '/content/' . $this->getData(['page', $childId, 'content'])); //$content = file_get_contents(self::DATA_DIR . self::$i18nContent . '/content/' . $this->getData(['page', $childId, 'content']));
$content = $this->getPage($childId, self::$siteContent); $content = $this->getPage($childId, self::$i18nContent);
$content = $titre . ' ' . $content; $content = $titre . ' ' . $content;
//Pages filles //Pages filles
$tempData = $this->occurrence($url, $titre, $content, $motclef, self::$motentier); $tempData = $this->occurrence($url, $titre, $content, $motclef, self::$motentier);

View File

@ -1,5 +1,7 @@
{ {
"Dossier cible": "Zielordner", "Dossier cible": "Zielordner",
"Masqué": "Versteckt", "Masqué": "Versteckt",
"Tri des images": "Bildsortierung" "Tri des images": "Bildsortierung",
"Thème du carrousel": "Karussell-Thema",
"Effacer le carrousel": "Karussell löschen"
} }

View File

@ -1,5 +1,7 @@
{ {
"Dossier cible": "Target folder", "Dossier cible": "Target folder",
"Masqué": "Hidden", "Masqué": "Hidden",
"Tri des images": "Image sorting" "Tri des images": "Image sorting",
"Thème du carrousel": "Slider Theme",
"Effacer le carrousel": "Delete slider"
} }

View File

@ -1,5 +1,7 @@
{ {
"Dossier cible": "Carpeta de destino", "Dossier cible": "Carpeta de destino",
"Masqué": "Oculto", "Masqué": "Oculto",
"Tri des images": "Ordenar imágenes" "Tri des images": "Ordenar imágenes",
"Thème du carrousel": "Tema del carrusel",
"Effacer le carrousel": "Borrar el carrusel"
} }

View File

@ -1,5 +1,7 @@
{ {
"Dossier cible": "", "Dossier cible": "",
"Masqué": "", "Masqué": "",
"Tri des images": "" "Tri des images": "",
"Thème du carrousel": "",
"Effacer le carrousel":""
} }

View File

@ -1,5 +1,7 @@
{ {
"Dossier cible": "Στόχευση φακέλου", "Dossier cible": "Στόχευση φακέλου",
"Masqué": "Κρυφό", "Masqué": "Κρυφό",
"Tri des images": "Ταξινόμηση εικόνων" "Tri des images": "Ταξινόμηση εικόνων",
"Thème du carrousel": "Θέμα καρουσέλ",
"Effacer le carrousel": "Διαγραφή καρουσέλ"
} }

View File

@ -1,5 +1,7 @@
{ {
"Dossier cible": "Cartella di destinazione", "Dossier cible": "Cartella di destinazione",
"Masqué": "Nascosto", "Masqué": "Nascosto",
"Tri des images": "Ordinamento immagini" "Tri des images": "Ordinamento immagini",
"Thème du carrousel": "Tema del carosello",
"Effacer le carrousel": "Cancella il carosello"
} }

View File

@ -1,5 +1,7 @@
{ {
"Dossier cible": "Pasta de destino", "Dossier cible": "Pasta de destino",
"Masqué": "Escondido", "Masqué": "Escondido",
"Tri des images": "Ordenação de imagens" "Tri des images": "Ordenação de imagens",
"Thème du carrousel": "Tema do carrossel",
"Effacer le carrousel": "Apagar o carrossel"
} }

View File

@ -1,5 +1,7 @@
{ {
"Dossier cible": "Hedef klasör", "Dossier cible": "Hedef klasör",
"Masqué": "Gizli", "Masqué": "Gizli",
"Tri des images": "Resim sıralama" "Tri des images": "Resim sıralama",
"Thème du carrousel": "Karakter Teması",
"Effacer le carrousel": "Karouseli Sil"
} }

View File

@ -6,12 +6,12 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col6"> <div class="col6">
<?php echo template::checkbox('profilAddSliderTheme', true, 'Thème', [ <?php echo template::checkbox('profilAddSliderTheme', true, 'Thème du carrousel', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'slider', 'theme']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'slider', 'theme'])
]); ?> ]); ?>
</div> </div>
<div class="col6"> <div class="col6">
<?php echo template::checkbox('profilAddSliderDelete', true, 'Effacer', [ <?php echo template::checkbox('profilAddSliderDelete', true, 'Effacer le carrousel', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'slider', 'delete']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'slider', 'delete'])
]); ?> ]); ?>
</div> </div>

View File

@ -6,12 +6,12 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col6"> <div class="col6">
<?php echo template::checkbox('profilEditSliderTheme', true, 'Thème', [ <?php echo template::checkbox('profilEditSliderTheme', true, 'Thème du carrousel', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'slider', 'theme']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'slider', 'theme'])
]); ?> ]); ?>
</div> </div>
<div class="col6"> <div class="col6">
<?php echo template::checkbox('profilEditSliderDelete', true, 'Effacer', [ <?php echo template::checkbox('profilEditSliderDelete', true, 'Effacer le carrousel', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'slider', 'delete']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'slider', 'delete'])
]); ?> ]); ?>
</div> </div>