From c4ded281bf7fa5fca67d08e502da19cb5d524079 Mon Sep 17 00:00:00 2001 From: "florian.azizian" <florian.azizian@maarch.org> Date: Wed, 4 Nov 2020 16:58:55 +0100 Subject: [PATCH] FEAT #15350 TIME 0:40 clean useless code (avis + notes + notifications + sendmail + templates) --- modules/avis/class/avis_controler.php | 20 - .../avis/class/avis_controler_Abstract.php | 18 - modules/avis/css/module.css | 79 ---- modules/avis/lang/en.php | 92 ---- modules/avis/lang/fr.php | 92 ---- modules/avis/lang/nl.php | 75 ---- modules/avis/xml/IVS/data_types.xml | 3 - modules/avis/xml/IVS/requests_definitions.xml | 21 - modules/avis/xml/IVS/validation_rules.xml | 8 - modules/avis/xml/actions_pages.xml | 75 ---- modules/avis/xml/config.xml | 8 - modules/avis/xml/config.xml.default | 19 - modules/notes/class/class_modules_tools.php | 41 -- .../class/class_modules_tools_Abstract.php | 99 ----- modules/notes/lang/en.php | 46 -- modules/notes/lang/fr.php | 46 -- modules/notes/lang/nl.php | 33 -- modules/notes/xml/IVS/data_types.xml | 3 - .../notes/xml/IVS/requests_definitions.xml | 17 - modules/notes/xml/IVS/validation_rules.xml | 12 - modules/notes/xml/config.xml | 13 - modules/notes/xml/menu.xml | 3 - .../class/class_modules_tools.php | 40 -- .../class/class_modules_tools_Abstract.php | 89 ---- modules/notifications/lang/en.php | 414 ------------------ modules/notifications/lang/fr.php | 414 ------------------ modules/notifications/lang/nl.php | 383 ---------------- .../notifications_tables_definition.php | 8 - modules/notifications/xml/config.xml | 9 - modules/notifications/xml/menu.xml | 5 - .../class/class_modules_tools_Abstract.php | 146 ------ modules/sendmail/js/functions.js | 65 --- modules/sendmail/lang/en.php | 184 -------- modules/sendmail/lang/fr.php | 254 ----------- modules/sendmail/lang/nl.php | 217 --------- modules/sendmail/xml/IVS/data_types.xml | 3 - .../sendmail/xml/IVS/requests_definitions.xml | 26 -- modules/sendmail/xml/IVS/validation_rules.xml | 25 -- modules/sendmail/xml/config.xml | 14 - modules/sendmail/xml/menu.xml | 10 - .../templates/class/class_modules_tools.php | 40 -- .../class/class_modules_tools_Abstract.php | 82 ---- modules/templates/class/templates.php | 43 -- .../templates/class/templates_Abstract.php | 55 --- modules/templates/lang/en.php | 207 --------- modules/templates/lang/fr.php | 206 --------- modules/templates/lang/nl.php | 203 --------- modules/templates/load_editor.php | 53 --- modules/templates/xml/IVS/data_types.xml | 3 - .../xml/IVS/requests_definitions.xml | 21 - .../templates/xml/IVS/validation_rules.xml | 36 -- modules/templates/xml/config.xml | 18 - modules/templates/xml/menu.xml | 3 - 53 files changed, 4099 deletions(-) delete mode 100755 modules/avis/class/avis_controler.php delete mode 100755 modules/avis/class/avis_controler_Abstract.php delete mode 100755 modules/avis/css/module.css delete mode 100755 modules/avis/lang/en.php delete mode 100755 modules/avis/lang/fr.php delete mode 100755 modules/avis/lang/nl.php delete mode 100755 modules/avis/xml/IVS/data_types.xml delete mode 100755 modules/avis/xml/IVS/requests_definitions.xml delete mode 100755 modules/avis/xml/IVS/validation_rules.xml delete mode 100755 modules/avis/xml/actions_pages.xml delete mode 100755 modules/avis/xml/config.xml delete mode 100755 modules/avis/xml/config.xml.default delete mode 100755 modules/notes/class/class_modules_tools.php delete mode 100755 modules/notes/class/class_modules_tools_Abstract.php delete mode 100755 modules/notes/lang/en.php delete mode 100755 modules/notes/lang/fr.php delete mode 100755 modules/notes/lang/nl.php delete mode 100755 modules/notes/xml/IVS/data_types.xml delete mode 100755 modules/notes/xml/IVS/requests_definitions.xml delete mode 100755 modules/notes/xml/IVS/validation_rules.xml delete mode 100755 modules/notes/xml/config.xml delete mode 100755 modules/notes/xml/menu.xml delete mode 100755 modules/notifications/class/class_modules_tools.php delete mode 100755 modules/notifications/class/class_modules_tools_Abstract.php delete mode 100755 modules/notifications/lang/en.php delete mode 100755 modules/notifications/lang/fr.php delete mode 100755 modules/notifications/lang/nl.php delete mode 100755 modules/notifications/notifications_tables_definition.php delete mode 100755 modules/notifications/xml/config.xml delete mode 100755 modules/notifications/xml/menu.xml delete mode 100755 modules/sendmail/js/functions.js delete mode 100755 modules/sendmail/lang/en.php delete mode 100755 modules/sendmail/lang/fr.php delete mode 100755 modules/sendmail/lang/nl.php delete mode 100755 modules/sendmail/xml/IVS/data_types.xml delete mode 100755 modules/sendmail/xml/IVS/requests_definitions.xml delete mode 100755 modules/sendmail/xml/IVS/validation_rules.xml delete mode 100755 modules/sendmail/xml/config.xml delete mode 100755 modules/sendmail/xml/menu.xml delete mode 100755 modules/templates/class/class_modules_tools.php delete mode 100755 modules/templates/class/class_modules_tools_Abstract.php delete mode 100755 modules/templates/class/templates.php delete mode 100755 modules/templates/class/templates_Abstract.php delete mode 100755 modules/templates/lang/en.php delete mode 100755 modules/templates/lang/fr.php delete mode 100755 modules/templates/lang/nl.php delete mode 100755 modules/templates/load_editor.php delete mode 100755 modules/templates/xml/IVS/data_types.xml delete mode 100755 modules/templates/xml/IVS/requests_definitions.xml delete mode 100755 modules/templates/xml/IVS/validation_rules.xml delete mode 100755 modules/templates/xml/config.xml delete mode 100755 modules/templates/xml/menu.xml diff --git a/modules/avis/class/avis_controler.php b/modules/avis/class/avis_controler.php deleted file mode 100755 index 845d24c4b46..00000000000 --- a/modules/avis/class/avis_controler.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php -/* - * Copyright Maarch since 2008 under licence GPLv3. - * See LICENCE.txt file at the root folder for more details. - * This file is part of Maarch software. - * - */ - -/* - * @brief avis_controler - * @author dev@maarch.org - * @ingroup avis - * - */ -require_once 'modules/avis/class/avis_controler_Abstract.php'; - -class avis_controler extends avis_controler_Abstract -{ - // custom -} diff --git a/modules/avis/class/avis_controler_Abstract.php b/modules/avis/class/avis_controler_Abstract.php deleted file mode 100755 index 8bccb708261..00000000000 --- a/modules/avis/class/avis_controler_Abstract.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php -/* - * Copyright Maarch since 2008 under licence GPLv3. - * See LICENCE.txt file at the root folder for more details. - * This file is part of Maarch software. - * - */ - -/* - * @brief avis_controler_Abstract - * @author dev@maarch.org - * @ingroup avis - * - */ -abstract class avis_controler_Abstract -{ - -} diff --git a/modules/avis/css/module.css b/modules/avis/css/module.css deleted file mode 100755 index 0144dd116ea..00000000000 --- a/modules/avis/css/module.css +++ /dev/null @@ -1,79 +0,0 @@ -[draggable=true]{ - cursor: move; -} -[draggable=true]:hover{ - box-shadow:0 0 5px green; /* CSS3 */ -} -[draggable=false]:hover{ - cursor: not-allowed; -} -.droptarget{ - position: relative; - background-color: #135F7F33; - display: table; - margin: 10px; - padding: 5px; - text-align: left; - width: 95%; - cursor: default; - border: dashed 2px #135F7F33 -} - -.droptarget_arrow { - border: none; - display:table-cell; -} - -.vised{ - opacity: 1; - color: green; - border: solid 2px green; -} - -.droptarget input{ - width : 100%; -} - -.droptarget.currentVis{ - color : #135F7F; - border: solid 2px #135F7F; -} - -.droptarget:hover.vised #dropZone{ - visibility: hidden; -} -.droptarget:hover #dropZone{ - visibility: visible; -} - -.dropArea{ - border: dashed 3px white; - width: 60%; - margin:auto; - opacity: 0.5; - padding: 5px; - -} - -.dropArea::after{ - font-weight: bolder; -} - -#dropZone,#dropZone:active{ - width: 40px; - text-align: right; - opacity: 0.5; - visibility: hidden; - float: right; - margin: 5px; -} -#dropZone:hover{ - cursor: grab; -} -#dropZone:active{ - cursor: grabbing; -} - -.chosen-container-single .chosen-default { - color: black !important; -} \ No newline at end of file diff --git a/modules/avis/lang/en.php b/modules/avis/lang/en.php deleted file mode 100755 index 7bacadfc594..00000000000 --- a/modules/avis/lang/en.php +++ /dev/null @@ -1,92 +0,0 @@ -<?php -if (!defined("_AVIS")) { - define("_AVIS", "recommendation"); -} - -if (!defined("_AVIS_WORKFLOW")) { - define("_AVIS_WORKFLOW", "recommendation workflow"); -} - -if (!defined("_AVIS_WORKFLOW_COMMENT")) { - define("_AVIS_WORKFLOW_COMMENT", "recommendation workflow management"); -} - -if (!defined("_SEND_DOCS_TO_RECOMMENDATION")) { - define("_SEND_DOCS_TO_RECOMMENDATION", "Sent a recommendation request (parallel)"); -} - -if (!defined("_SEND_DOCS_TO_RECOMMENDATION_DESC")) { - define("_SEND_DOCS_TO_RECOMMENDATION_DESC", "Opens a modal to add or remove people in notification in the mailing list."); -} - -if (!defined("_VALIDATE_RECOMMENDATION")) { - define("_VALIDATE_RECOMMENDATION", "Validate the recommendation request(parallel)"); -} - -if (!defined("_VALIDATE_RECOMMENDATION_DESC")) { - define("_VALIDATE_RECOMMENDATION_DESC", "Allows you to add the person who checked the request to the notification request note."); -} - -if (!defined("_AVIS_USER")) { - define("_AVIS_USER", "For recommendation"); -} - -if (!defined("_AVIS_USER_COPY")) { - define("_AVIS_USER_COPY", "On copy (recommendation)"); -} - -if (!defined("_AVIS_USER_INFO")) { - define("_AVIS_USER_INFO", "For information (recommendation)"); -} - -if (!defined("_OPINION_LIMIT_DATE")) { - define("_OPINION_LIMIT_DATE", "Recommendation deadline"); -} - -if (!defined("_TO_AVIS")) { - define("_TO_AVIS", "For recommendation"); -} - -if (!defined("_LAST_AVIS")) { - define("_LAST_AVIS", "decision-maker counsellor"); -} - -if (!defined("_SEND_TO_AVIS_WF")) { - define("_SEND_TO_AVIS_WF", "Request for a recommendation (sequential)"); -} - -if (!defined("_SEND_TO_AVIS_WF_DESC")) { - define("_SEND_TO_AVIS_WF_DESC", "Opens a modal to configure a notification circuit for mail."); -} - -if (!defined("_PROCEED_WORKFLOW_AVIS")) { - define("_PROCEED_WORKFLOW_AVIS", "Issue an opinion (sequential)"); -} - -if (!defined("_PROCEED_WORKFLOW_AVIS_DESC")) { - define("_PROCEED_WORKFLOW_AVIS_DESC", "Updates the notification date of the current advisor in the notification circuit ('process_date' in the listinstance table)."); -} - -if (!defined("_PROCEED_WORKFLOW_AVIS_SIMPLE")) { - define("_PROCEED_WORKFLOW_AVIS_SIMPLE", "Issue an opinion (parallel)"); -} - -if (!defined("_PROCEED_WORKFLOW_AVIS_SIMPLE_DESC")) { - define("_PROCEED_WORKFLOW_AVIS_SIMPLE_DESC", "Updates the notification date of the user present in the mail mailing list ('process_date' in the listinstance table)."); -} - -if (!defined("_AVIS_SENT")) { - define("_AVIS_SENT", "Notice given"); -} - -if (!defined("_DOCUMENTS_LIST_WITH_AVIS")) { - define("_DOCUMENTS_LIST_WITH_AVIS", "List of mails with notices"); -} - -if (!defined("_WRITTEN_BY")) { - define("_WRITTEN_BY", "Written by"); -} - -if (!defined("_VALIDATE_BY")) { - define("_VALIDATE_BY", "Validate by"); -} diff --git a/modules/avis/lang/fr.php b/modules/avis/lang/fr.php deleted file mode 100755 index bdb96ea415e..00000000000 --- a/modules/avis/lang/fr.php +++ /dev/null @@ -1,92 +0,0 @@ -<?php -if (!defined("_AVIS")) { - define("_AVIS", "avis"); -} - -if (!defined("_AVIS_WORKFLOW")) { - define("_AVIS_WORKFLOW", "Circuit d'avis"); -} - -if (!defined("_AVIS_WORKFLOW_COMMENT")) { - define("_AVIS_WORKFLOW_COMMENT", "Gestion du circuit d'avis"); -} - -if (!defined("_SEND_DOCS_TO_RECOMMENDATION")) { - define("_SEND_DOCS_TO_RECOMMENDATION", "Envoyer une demande d'avis (parallèle)"); -} - -if (!defined("_SEND_DOCS_TO_RECOMMENDATION_DESC")) { - define("_SEND_DOCS_TO_RECOMMENDATION_DESC", "Ouvre une modal permettant d'ajouter ou de supprimer des personnes en avis dans la liste de diffusion."); -} - -if (!defined("_VALIDATE_RECOMMENDATION")) { - define("_VALIDATE_RECOMMENDATION", "Valider la demande d'avis (parallèle)"); -} - -if (!defined("_VALIDATE_RECOMMENDATION_DESC")) { - define("_VALIDATE_RECOMMENDATION_DESC", "Permet d'ajouter dans la note de demande avis la personne qui a contrôlé la demande."); -} - -if (!defined("_AVIS_USER")) { - define("_AVIS_USER", "Pour avis"); -} - -if (!defined("_AVIS_USER_COPY")) { - define("_AVIS_USER_COPY", "En copie (avis)"); -} - -if (!defined("_AVIS_USER_INFO")) { - define("_AVIS_USER_INFO", "Pour information (avis)"); -} - -if (!defined("_OPINION_LIMIT_DATE")) { - define("_OPINION_LIMIT_DATE", "Date limite de l'avis"); -} - -if (!defined("_TO_AVIS")) { - define("_TO_AVIS", "POUR AVIS"); -} - -if (!defined("_LAST_AVIS")) { - define("_LAST_AVIS", "Conseiller décideur"); -} - -if (!defined("_SEND_TO_AVIS_WF")) { - define("_SEND_TO_AVIS_WF", "Envoyer une demande d'avis (séquentiel)"); -} - -if (!defined("_SEND_TO_AVIS_WF_DESC")) { - define("_SEND_TO_AVIS_WF_DESC", "Ouvre une modal permettant de configurer un circuit d'avis pour le courrier."); -} - -if (!defined("_PROCEED_WORKFLOW_AVIS")) { - define("_PROCEED_WORKFLOW_AVIS", "Emettre un avis (séquentiel)"); -} - -if (!defined("_PROCEED_WORKFLOW_AVIS_DESC")) { - define("_PROCEED_WORKFLOW_AVIS_DESC", "Met à jour la date d'émission d'avis du conseiller actuel du circuit d'avis ('process_date' de la table listinstance)."); -} - -if (!defined("_PROCEED_WORKFLOW_AVIS_SIMPLE")) { - define("_PROCEED_WORKFLOW_AVIS_SIMPLE", "Emettre un avis (parallèle)"); -} - -if (!defined("_PROCEED_WORKFLOW_AVIS_SIMPLE_DESC")) { - define("_PROCEED_WORKFLOW_AVIS_SIMPLE_DESC", "Met à jour la date d'émission d'avis de l'utilisateur présent en avis dans la liste de diffusion du courrier ('process_date' de la table listinstance)."); -} - -if (!defined("_AVIS_SENT")) { - define("_AVIS_SENT", "Avis donné"); -} - -if (!defined("_DOCUMENTS_LIST_WITH_AVIS")) { - define("_DOCUMENTS_LIST_WITH_AVIS", "Liste des courriers avec avis"); -} - -if (!defined("_WRITTEN_BY")) { - define("_WRITTEN_BY", "Rédigé par"); -} - -if (!defined("_VALIDATE_BY")) { - define("_VALIDATE_BY", "Validé par"); -} diff --git a/modules/avis/lang/nl.php b/modules/avis/lang/nl.php deleted file mode 100755 index 935134239e6..00000000000 --- a/modules/avis/lang/nl.php +++ /dev/null @@ -1,75 +0,0 @@ -<?php -/** - * Copyright Maarch since 2008 under licence GPLv3. - * See LICENCE.txt file at the root folder for more details. - * This file is part of Maarch software. - */ -if (!defined('_AVIS')) { - define('_AVIS', 'bericht'); -} -if (!defined('_AVIS_WORKFLOW')) { - define('_AVIS_WORKFLOW', 'Berichtencircuit'); -} -if (!defined('_AVIS_WORKFLOW_COMMENT')) { - define('_AVIS_WORKFLOW_COMMENT', 'Beheer van een berichtencircuit'); -} -if (!defined('_SEND_DOCS_TO_RECOMMENDATION')) { - define('_SEND_DOCS_TO_RECOMMENDATION', 'Een (parallelle) berichtenvraag verzenden'); -} -if (!defined('_SEND_DOCS_TO_RECOMMENDATION_DESC')) { - define('_SEND_DOCS_TO_RECOMMENDATION_DESC', 'Opent een modaliteit die toelaat personen in het bericht, in de verdelingslijst toe te voegen of te verwijderen.'); -} -if (!defined('_VALIDATE_RECOMMENDATION')) { - define('_VALIDATE_RECOMMENDATION', 'Een (parallelle) berichtenvraag bevestigen'); -} -if (!defined('_VALIDATE_RECOMMENDATION_DESC')) { - define('_VALIDATE_RECOMMENDATION_DESC', 'Om in de nota van de berichtaanvraag de persoon toe te voegen die de vraag gecontroleerd heeft.'); -} -if (!defined('_AVIS_USER')) { - define('_AVIS_USER', 'Voor bericht'); -} -if (!defined('_AVIS_USER_COPY')) { - define('_AVIS_USER_COPY', 'In kopie (bericht)'); -} -if (!defined('_AVIS_USER_INFO')) { - define('_AVIS_USER_INFO', 'Ter informatie (bericht)'); -} -if (!defined('_OPINION_LIMIT_DATE')) { - define('_OPINION_LIMIT_DATE', 'Berichtendeadline'); -} -if (!defined('_TO_AVIS')) { - define('_TO_AVIS', 'VOOR BERICHT'); -} -if (!defined('_LAST_AVIS')) { - define('_LAST_AVIS', 'Beslissende consultant'); -} -if (!defined('_SEND_TO_AVIS_WF')) { - define('_SEND_TO_AVIS_WF', 'Een (sequentiële) berichtenvraag verzenden'); -} -if (!defined('_SEND_TO_AVIS_WF_DESC')) { - define('_SEND_TO_AVIS_WF_DESC', 'Opent een modaliteit die een berichtencircuit voor het brief kan configureren.'); -} -if (!defined('_PROCEED_WORKFLOW_AVIS')) { - define('_PROCEED_WORKFLOW_AVIS', 'Een bericht uitzenden (sequentieel)'); -} -if (!defined('_PROCEED_WORKFLOW_AVIS_DESC')) { - define('_PROCEED_WORKFLOW_AVIS_DESC', 'Werkt de uitgiftedatum bij van het bericht van de huidige consultant van het berichtencircuit (\'process_date\' van de tabel listinstance).'); -} -if (!defined('_PROCEED_WORKFLOW_AVIS_SIMPLE')) { - define('_PROCEED_WORKFLOW_AVIS_SIMPLE', 'Een bericht uitzenden (parallel)'); -} -if (!defined('_PROCEED_WORKFLOW_AVIS_SIMPLE_DESC')) { - define('_PROCEED_WORKFLOW_AVIS_SIMPLE_DESC', 'Werkt de uitgiftedatum bij van het bericht van de gebruiker die aanwezig is in het bericht in de verdelingslijst van het brief (\'process_date\' van de tabel listinstance).'); -} -if (!defined('_AVIS_SENT')) { - define('_AVIS_SENT', 'Gegeven bericht'); -} -if (!defined('_DOCUMENTS_LIST_WITH_AVIS')) { - define('_DOCUMENTS_LIST_WITH_AVIS', 'Lijst van de brieven met berichten'); -} -if (!defined('_WRITTEN_BY')) { - define('_WRITTEN_BY', 'Opgesteld door'); -} -if (!defined('_VALIDATE_BY')) { - define('_VALIDATE_BY', 'Gevalideerd door'); -} diff --git a/modules/avis/xml/IVS/data_types.xml b/modules/avis/xml/IVS/data_types.xml deleted file mode 100755 index 710b3b56651..00000000000 --- a/modules/avis/xml/IVS/data_types.xml +++ /dev/null @@ -1,3 +0,0 @@ -<dataTypes> - -</dataTypes> \ No newline at end of file diff --git a/modules/avis/xml/IVS/requests_definitions.xml b/modules/avis/xml/IVS/requests_definitions.xml deleted file mode 100755 index 71544fbeeb5..00000000000 --- a/modules/avis/xml/IVS/requests_definitions.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<inputValidation xmlns:xi="http://www.w3.org/2001/XInclude"> -<requestDefinitions> - <requestDefinition method="POST" path="/apps/maarch_entreprise/index.php" validationRule="sign_ans" > - <parameter name="page" value="sign_ans"/> - <parameter name="module" value="Avis"/> - </requestDefinition> - <requestDefinition method="GET" path="/apps/maarch_entreprise/index.php" validationRule="sign_ans" > - <parameter name="page" value="sign_ans"/> - <parameter name="module" value="Avis"/> - </requestDefinition> - <requestDefinition method="POST" path="/apps/maarch_entreprise/index.php" validationRule="update_AvisPage" > - <parameter name="page" value="update_AvisPage"/> - <parameter name="module" value="Avis"/> - </requestDefinition> - <requestDefinition method="GET" path="/apps/maarch_entreprise/index.php" validationRule="update_AvisPage" > - <parameter name="page" value="update_AvisPage"/> - <parameter name="module" value="Avis"/> - </requestDefinition> -</requestDefinitions> -</inputValidation> diff --git a/modules/avis/xml/IVS/validation_rules.xml b/modules/avis/xml/IVS/validation_rules.xml deleted file mode 100755 index bea741adb47..00000000000 --- a/modules/avis/xml/IVS/validation_rules.xml +++ /dev/null @@ -1,8 +0,0 @@ -<validationRules> - <validationRule name="update_AvisPage" extends="standardForm" mode="error"> - <parameter name="res_id" type="integer" /> - <parameter name="coll_id" type="collection_list" /> - <parameter name="action" type="string" /> - </validationRule> -</validationRules> - diff --git a/modules/avis/xml/actions_pages.xml b/modules/avis/xml/actions_pages.xml deleted file mode 100755 index 03b3c1deb89..00000000000 --- a/modules/avis/xml/actions_pages.xml +++ /dev/null @@ -1,75 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -An action page is described in a ACTIONPAGE tag : - <ACTIONPAGE> - <ID>redirect</ID> => Action identifier - <LABEL>_REDIRECTION</LABEL> => Action label, can be a language constant or not - <NAME>redirect</NAME> => name of the action page without the .php, here the action page is redirect.php - <ORIGIN>module</ORIGIN> => action origin : apps or module - <MODULE>entities</MODULE> => If origin is module, the module name - <KEYWORD>redirect</KEYWORD> => Keyword used for special parameters (tag not mandatory) - <FLAG_CREATE>false</FLAG_CREATE> => true if the action create a new ressource, false otherwise (we recommend to leave it at false except for the indexing action page) - </ACTIONPAGE> ---> -<ROOT> - <ACTIONPAGE> - <ID>send_docs_to_recommendation</ID> - <LABEL>_SEND_DOCS_TO_RECOMMENDATION</LABEL> - <NAME>send_docs_to_recommendation</NAME> - <DESC>_SEND_DOCS_TO_RECOMMENDATION_DESC</DESC> - <ORIGIN>module</ORIGIN> - <MODULE>avis</MODULE> - <FLAG_CREATE>false</FLAG_CREATE> - <COLLECTIONS> - <COLL_ID>letterbox_coll</COLL_ID> - </COLLECTIONS> - </ACTIONPAGE> - <ACTIONPAGE> - <ID>validate_recommendation</ID> - <LABEL>_VALIDATE_RECOMMENDATION</LABEL> - <NAME>validate_recommendation</NAME> - <DESC>_VALIDATE_RECOMMENDATION_DESC</DESC> - <ORIGIN>module</ORIGIN> - <MODULE>avis</MODULE> - <FLAG_CREATE>false</FLAG_CREATE> - <COLLECTIONS> - <COLL_ID>letterbox_coll</COLL_ID> - </COLLECTIONS> - </ACTIONPAGE> - <ACTIONPAGE> - <ID>send_to_avis</ID> - <LABEL>_SEND_TO_AVIS_WF</LABEL> - <NAME>send_to_avis</NAME> - <DESC>_SEND_TO_AVIS_WF_DESC</DESC> - <ORIGIN>module</ORIGIN> - <MODULE>avis</MODULE> - <FLAG_CREATE>false</FLAG_CREATE> - <COLLECTIONS> - <COLL_ID>letterbox_coll</COLL_ID> - </COLLECTIONS> - </ACTIONPAGE> - <ACTIONPAGE> - <ID>avis_workflow</ID> - <LABEL>_PROCEED_WORKFLOW_AVIS</LABEL> - <NAME>avis_workflow</NAME> - <DESC>_PROCEED_WORKFLOW_AVIS_DESC</DESC> - <ORIGIN>module</ORIGIN> - <MODULE>avis</MODULE> - <FLAG_CREATE>false</FLAG_CREATE> - <COLLECTIONS> - <COLL_ID>letterbox_coll</COLL_ID> - </COLLECTIONS> - </ACTIONPAGE> - <ACTIONPAGE> - <ID>avis_workflow_simple</ID> - <LABEL>_PROCEED_WORKFLOW_AVIS_SIMPLE</LABEL> - <NAME>avis_simple</NAME> - <DESC>_PROCEED_WORKFLOW_AVIS_SIMPLE_DESC</DESC> - <ORIGIN>module</ORIGIN> - <MODULE>avis</MODULE> - <FLAG_CREATE>false</FLAG_CREATE> - <COLLECTIONS> - <COLL_ID>letterbox_coll</COLL_ID> - </COLLECTIONS> - </ACTIONPAGE> -</ROOT> diff --git a/modules/avis/xml/config.xml b/modules/avis/xml/config.xml deleted file mode 100755 index 86cdd4f436f..00000000000 --- a/modules/avis/xml/config.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<root> - <CONFIG> - <name>avis</name> - <comment>_AVIS_WORKFLOW_COMMENT</comment> - <loaded>true</loaded> - </CONFIG> -</root> diff --git a/modules/avis/xml/config.xml.default b/modules/avis/xml/config.xml.default deleted file mode 100755 index 5043186f0bc..00000000000 --- a/modules/avis/xml/config.xml.default +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<root> - <CONFIG> - <name>avis</name> - <comment>_AVIS_WORKFLOW_COMMENT</comment> - <loaded>true</loaded> - <routing_template>modules/visa/Bordereau_visa_modele.pdf</routing_template> - - <exeSign>C:\Program Files (x86)\Maarch\DIS\DISPDFSigner.exe</exeSign> - <showAppletSign>false</showAppletSign> - <reason>Signé et approuvé par </reason> - <location>Maarch-les-Bains, Ville de Maarch</location> - - <licence_number>40dd49384bf59e98d10d</licence_number> - - <width_blocsign>150</width_blocsign> - <height_blocsign>100</height_blocsign> - </CONFIG> -</root> \ No newline at end of file diff --git a/modules/notes/class/class_modules_tools.php b/modules/notes/class/class_modules_tools.php deleted file mode 100755 index d00aa29a740..00000000000 --- a/modules/notes/class/class_modules_tools.php +++ /dev/null @@ -1,41 +0,0 @@ -<?php - -/* -* Copyright 2013-2016 Maarch -* -* This file is part of Maarch Framework. -* -* Maarch Framework is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* Maarch Framework is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. -*/ - -/** -* modules tools Class for notes -* -* Contains all the functions to load modules tables for notes -* -* @package maarch -* @version 3.0 -* @since 10/2005 -* @license GPL v3 -* @author Claire Figueras <dev@maarch.org> -* -*/ - -require_once 'modules/notes/class/class_modules_tools_Abstract.php'; - -class notes extends notes_Abstract -{ - // custom -} - diff --git a/modules/notes/class/class_modules_tools_Abstract.php b/modules/notes/class/class_modules_tools_Abstract.php deleted file mode 100755 index c82dbee9ad5..00000000000 --- a/modules/notes/class/class_modules_tools_Abstract.php +++ /dev/null @@ -1,99 +0,0 @@ -<?php - -/* -* Copyright 2013-2016 Maarch -* -* This file is part of Maarch Framework. -* -* Maarch Framework is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* Maarch Framework is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. -*/ - -/** -* modules tools Class for notes -* -* Contains all the functions to load modules tables for notes -* -* @package maarch -* @version 3.0 -* @since 10/2005 -* @license GPL v3 -* @author Claire Figueras <dev@maarch.org> -* -*/ - - -// Loads the required class -try { - require_once("core/class/class_db.php"); - require_once("modules/entities/entities_tables.php"); - require_once ("modules/notes/class/class_modules_tools.php"); - require_once "modules/entities/class/EntityControler.php"; -} catch (Exception $e){ - functions::xecho($e->getMessage()).' // '; -} - -abstract class notes_Abstract -{ - - /** - * Db query object used to connnect to the database - */ - private static $db; - - /** - * Entity object - */ - public static $ent; - - /** - * Entities table - */ - public static $entities_table ; - - /** - * Build Maarch module tables into sessions vars with a xml configuration - * file - */ - public function build_modules_tables() - { - } - - /** - * Function to get which user can see a note - * @id note identifier - */ - public function getNotesEntities($id) - { - $db = new Database(); - $ent = new EntityControler(); - - $query = "SELECT entity_id, entity_label, short_label FROM note_entities , entities WHERE item_id LIKE entity_id and note_id = ?"; - - try { - $stmt = $db->query($query, array($id)); - } catch (Exception $e) { - } - - $entitiesList = array(); - $entitiesChosen = array(); - $entitiesList = $ent->getAllEntities(); - - - while ($res = $stmt->fetchObject()) { - array_push($entitiesChosen, $ent->get($res->entity_id)); - } - - return $entitiesChosen; - } -} diff --git a/modules/notes/lang/en.php b/modules/notes/lang/en.php deleted file mode 100755 index 0ab4fca7c63..00000000000 --- a/modules/notes/lang/en.php +++ /dev/null @@ -1,46 +0,0 @@ -<?php -/* - * - * Copyright 2008,2009 Maarch - * - * This file is part of Maarch Framework. - * - * Maarch Framework is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Maarch Framework is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. - */ -if (!defined("_RESTRICTED_SERVICES")) { - define("_RESTRICTED_SERVICES", "Service(s) restricted : "); -} -if (!defined("_ADD_NOTE")) { - define("_ADD_NOTE", "Add a note"); -} -if (!defined("_READ")) { - define("_READ", "Read"); -} -if (!defined("_NOTE_UPDATED")) { - define("_NOTE_UPDATED", "Modified note"); -} -if (!defined("_NOTES")) { - define("_NOTES", "Notes"); -} -if (!defined("_NOTES_COMMENT")) { - define("_NOTES_COMMENT", "Notes"); -} -if (!defined("_OF")) { - define("_OF", "of"); -} - -//TEMPLATES FOR NOTES -if (!defined("_NOTE")) { - define("_NOTE", "Note"); -} diff --git a/modules/notes/lang/fr.php b/modules/notes/lang/fr.php deleted file mode 100755 index adc5520b15a..00000000000 --- a/modules/notes/lang/fr.php +++ /dev/null @@ -1,46 +0,0 @@ -<?php -/* - * - * Copyright 2008,2009 Maarch - * - * This file is part of Maarch Framework. - * - * Maarch Framework is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Maarch Framework is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. - */ -if (!defined("_RESTRICTED_SERVICES")) { - define("_RESTRICTED_SERVICES", "Restreint au(x) entité(s): "); -} -if (!defined("_ADD_NOTE")) { - define("_ADD_NOTE", "Ajouter une annotation"); -} -if (!defined("_READ")) { - define("_READ", "Lire"); -} -if (!defined("_NOTE_UPDATED")) { - define("_NOTE_UPDATED", "Annotation modifiée"); -} -if (!defined("_NOTES")) { - define("_NOTES", "Annotations"); -} -if (!defined("_NOTES_COMMENT")) { - define("_NOTES_COMMENT", "Annotations"); -} -if (!defined("_OF")) { - define("_OF", "de"); -} - -//TEMPLATES FOR NOTES -if (!defined("_NOTE")) { - define("_NOTE", "Annotation"); -} diff --git a/modules/notes/lang/nl.php b/modules/notes/lang/nl.php deleted file mode 100755 index dd092cacd04..00000000000 --- a/modules/notes/lang/nl.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/** - * Copyright Maarch since 2008 under licence GPLv3. - * See LICENCE.txt file at the root folder for more details. - * This file is part of Maarch software. - */ -if (!defined('_RESTRICTED_SERVICES')) { - define('_RESTRICTED_SERVICES', 'Beperkt tot de dienst(en):'); -} -if (!defined('_ADD_NOTE')) { - define('_ADD_NOTE', 'Aantekening toevoegen'); -} -if (!defined('_READ')) { - define('_READ', 'Lezen'); -} -if (!defined('_NOTE_UPDATED')) { - define('_NOTE_UPDATED', 'Gewijzigde aantekening'); -} -if (!defined('_NOTES')) { - define('_NOTES', 'Opmerkingen'); -} -if (!defined('_NOTES_COMMENT')) { - define('_NOTES_COMMENT', 'Opmerkingen'); -} -if (!defined('_OF')) { - define('_OF', 'van'); -} -if (!defined('_ADD_NOTE')) { - define('_ADD_NOTE', 'Toevoeging van een opmerking'); -} -if (!defined('_NOTE')) { - define('_NOTE', 'Opmerking'); -} diff --git a/modules/notes/xml/IVS/data_types.xml b/modules/notes/xml/IVS/data_types.xml deleted file mode 100755 index 710b3b56651..00000000000 --- a/modules/notes/xml/IVS/data_types.xml +++ /dev/null @@ -1,3 +0,0 @@ -<dataTypes> - -</dataTypes> \ No newline at end of file diff --git a/modules/notes/xml/IVS/requests_definitions.xml b/modules/notes/xml/IVS/requests_definitions.xml deleted file mode 100755 index 87c36b040c3..00000000000 --- a/modules/notes/xml/IVS/requests_definitions.xml +++ /dev/null @@ -1,17 +0,0 @@ -<requestDefinitions> - <requestDefinition method="GET" path="/apps/maarch_entreprise/index.php" validationRule="notes" > - <parameter name="page" value="notes"/> - <parameter name="module" value="notes"/> - <parameter name="display" value="true" /> - <parameter name="coll_id"/> - <parameter name="identifier"/> - <parameter name="load"/> - <parameter name="origin"/> - <parameter name="size"/> - </requestDefinition> - <requestDefinition method="POST" path="/apps/maarch_entreprise/index.php" validationRule="notes" > - <parameter name="page" value="notes"/> - <parameter name="module" value="notes"/> - <parameter name="display" value="true" /> - </requestDefinition> -</requestDefinitions> diff --git a/modules/notes/xml/IVS/validation_rules.xml b/modules/notes/xml/IVS/validation_rules.xml deleted file mode 100755 index af0edac910b..00000000000 --- a/modules/notes/xml/IVS/validation_rules.xml +++ /dev/null @@ -1,12 +0,0 @@ -<validationRules> - <validationRule name="notes" extends="standardForm" mode="error"> - <parameter name="module" type="identifier" /> - <parameter name="coll_id" type="collection_list" /> - <parameter name="identifier" type="integer" /> - <parameter name="filter" type="identifier" /> - <parameter name="value" type="string" /> - <parameter name="origin" type="identifier" /> - <parameter name="size" type="size" /> - <parameter name="url" type="url" /> - </validationRule> -</validationRules> diff --git a/modules/notes/xml/config.xml b/modules/notes/xml/config.xml deleted file mode 100755 index 1340e70494d..00000000000 --- a/modules/notes/xml/config.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<root> - <CONFIG> - <name>notes</name> - <comment>_NOTES_COMMENT</comment> - <file_prefix>not</file_prefix> - <loaded>true</loaded> - </CONFIG> - <TABLENAME> - <not_notes>notes</not_notes> - <note_entities>note_entities</note_entities> - </TABLENAME> -</root> diff --git a/modules/notes/xml/menu.xml b/modules/notes/xml/menu.xml deleted file mode 100755 index fa75d84946a..00000000000 --- a/modules/notes/xml/menu.xml +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<root> -</root> \ No newline at end of file diff --git a/modules/notifications/class/class_modules_tools.php b/modules/notifications/class/class_modules_tools.php deleted file mode 100755 index 8baaca9883a..00000000000 --- a/modules/notifications/class/class_modules_tools.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php - -/* -* Copyright 2008-2016 Maarch -* -* This file is part of Maarch Framework. -* -* Maarch Framework is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* Maarch Framework is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. -*/ - -/** -* modules tools Class for physical archives -* -* Contains all the functions to modules tables for physical archives -* -* @package maarch -* @version 3.0 -* @since 10/2005 -* @license GPL v3 -* @author Loic Vinet <dev@maarch.org> -* -*/ - -require_once 'modules/notifications/class/class_modules_tools_Abstract.php'; - -class notifications extends notifications_Abstract -{ - // custom -} diff --git a/modules/notifications/class/class_modules_tools_Abstract.php b/modules/notifications/class/class_modules_tools_Abstract.php deleted file mode 100755 index cda4370f539..00000000000 --- a/modules/notifications/class/class_modules_tools_Abstract.php +++ /dev/null @@ -1,89 +0,0 @@ -<?php - -/* -* Copyright 2008-2016 Maarch -* -* This file is part of Maarch Framework. -* -* Maarch Framework is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* Maarch Framework is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. -*/ - -/** -* modules tools Class for physical archives -* -* Contains all the functions to modules tables for physical archives -* -* @package maarch -* @version 3.0 -* @since 10/2005 -* @license GPL v3 -* @author Loic Vinet <dev@maarch.org> -* -*/ - -abstract class notifications_Abstract -{ - public function build_modules_tables() - { - require_once( - "modules" - .DIRECTORY_SEPARATOR."notifications" - .DIRECTORY_SEPARATOR."notifications_tables_definition.php" - ); - if (file_exists($_SESSION['config']['corepath'].'custom' - .DIRECTORY_SEPARATOR.$_SESSION['custom_override_id'] - .DIRECTORY_SEPARATOR."modules".DIRECTORY_SEPARATOR - ."notifications".DIRECTORY_SEPARATOR - ."xml".DIRECTORY_SEPARATOR."config.xml") - ) { - $path = $_SESSION['config']['corepath'].'custom' - .DIRECTORY_SEPARATOR.$_SESSION['custom_override_id'] - .DIRECTORY_SEPARATOR."modules".DIRECTORY_SEPARATOR."notifications" - .DIRECTORY_SEPARATOR."xml".DIRECTORY_SEPARATOR."config.xml"; - } else { - $path = "modules".DIRECTORY_SEPARATOR."notifications" - .DIRECTORY_SEPARATOR."xml".DIRECTORY_SEPARATOR."config.xml"; - } - $xmlconfig = simplexml_load_file($path); - } - - public function load_module_var_session() - { - if (file_exists($_SESSION['config']['corepath'].'custom' - .DIRECTORY_SEPARATOR.$_SESSION['custom_override_id'] - .DIRECTORY_SEPARATOR."modules".DIRECTORY_SEPARATOR - ."notifications".DIRECTORY_SEPARATOR - ."xml".DIRECTORY_SEPARATOR."event_type.xml") - ) { - $path = $_SESSION['config']['corepath'].'custom' - .DIRECTORY_SEPARATOR.$_SESSION['custom_override_id'] - .DIRECTORY_SEPARATOR."modules".DIRECTORY_SEPARATOR."notifications" - .DIRECTORY_SEPARATOR."xml".DIRECTORY_SEPARATOR."event_type.xml"; - } else { - $path = "modules".DIRECTORY_SEPARATOR."notifications" - .DIRECTORY_SEPARATOR."xml".DIRECTORY_SEPARATOR."event_type.xml"; - } - $xmlconfig = simplexml_load_file($path); - - foreach ($xmlconfig->event_type as $event) { - $id = (string)$event->id; - $label = (string)$event->label; - if (@constant($label)) { - $_SESSION['notif_events'][$id] = constant($label); - } else { - $_SESSION['notif_events'][$id] = $label; - } - } - } -} diff --git a/modules/notifications/lang/en.php b/modules/notifications/lang/en.php deleted file mode 100755 index dbe83f2b837..00000000000 --- a/modules/notifications/lang/en.php +++ /dev/null @@ -1,414 +0,0 @@ -<?php -/* - * - * Copyright 2008,2009 Maarch - * - * This file is part of Maarch Framework. - * - * Maarch Framework is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Maarch Framework is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. - */ - -//communs -if (!defined("_NOTIFICATIONS_ERROR")) { - define("_NOTIFICATIONS_ERROR", "Errorr on notification: "); -} -if (!defined("_NOTIF_ALREADY_EXIST")) { - define("_NOTIF_ALREADY_EXIST", "id already exist"); -} -if (!defined("_NOTIF_DESCRIPTION_TOO_LONG")) { - define("_NOTIF_DESCRIPTION_TOO_LONG", "description too long"); -} -if (!defined("_NOTIF_EVENT_TOO_LONG")) { - define("_NOTIF_EVENT_TOO_LONG", "event_id is too long"); -} -if (!defined("_NOTIF_MODE_TOO_LONG")) { - define("_NOTIF_MODE_TOO_LONG", "notification_mode is too long "); -} -if (!defined("_NOTIF_TEMPLATE_NOT_A_INT")) { - define("_NOTIF_TEMPLATE_NOT_A_INT", "template_id not a int "); -} -if (!defined("_NOTIF_DIFFUSION_IS_A_INT")) { - define("_NOTIF_DIFFUSION_IS_A_INT", "diffusion_type is a int "); -} -if (!defined("_NOTIF_DIFFUSION_PROPERTIES_NOT_INT")) { - define("_NOTIF_DIFFUSION_PROPERTIES_NOT_INT", "diffusion_properties not a int "); -} -if (!defined("_DELETED_NOTIFICATION")) { - define("_DELETED_NOTIFICATION", "Notification DELETED"); -} -if (!defined("_NOTIFICATIONS")) { - define("_NOTIFICATIONS", "Notifications"); -} -if (!defined("_NOTIFS")) { - define("_NOTIFS", "Notifications"); -} -if (!defined("_NOTIF")) { - define("_NOTIF", "notif."); -} -if (!defined("_MAIL_TO_PROCESS")) { - define("_MAIL_TO_PROCESS", "Mail for processing"); -} -if (!defined("_HELLO")) { - define("_HELLO", "Hello"); -} -if (!defined("_THE_MAIL_NUM")) { - define("_THE_MAIL_NUM", "Mail number"); -} -if (!defined("_OF_TYPE")) { - define("_OF_TYPE", "Type of"); -} -if (!defined("_OBJECT")) { - define("_OBJECT", "object"); -} -if (!defined("_RECEIVED_THE")) { - define("_RECEIVED_THE", "Received the"); -} -if (!defined("_SEND_BY")) { - define("_SEND_BY", "addressed by"); -} -if (!defined("_MUST_BE_PROCESSED_BEFORE")) { - define("_MUST_BE_PROCESSED_BEFORE", "must be processed before"); -} -if (!defined("_ACCESS_TO_MAIL_TO_PROCESS")) { - define("_ACCESS_TO_MAIL_TO_PROCESS", "Access to the mail for processing"); -} -if (!defined("_PROCESS_MAIL")) { - define("_PROCESS_MAIL", "Mail process"); -} -if (!defined("_USER")) { - define("_USER", "User"); -} -if (!defined("_MAIL")) { - define("_MAIL", "Mail"); -} -if (!defined("_WAS_SENT_TO")) { - define("_WAS_SENT_TO", "was handed to"); -} -if (!defined("_SEE_MAIL")) { - define("_SEE_MAIL", "See this mail"); -} -if (!defined("_NO_SENDED")) { - define("_NO_SENDED", " The mail was not sent"); -} -if (!defined("_ACTIVATE_NOTIFICATION")) { - define("_ACTIVATE_NOTIFICATION", "Activate notifications by mail"); -} - - -// notifs.php -if (!defined("_MUST_SPECIFY_CONFIG_FILE")) { - define("_MUST_SPECIFY_CONFIG_FILE", "You have to specify the configuration file"); -} -if (!defined("_DU")) { - define("_DU", "du"); -} -if (!defined("_OF")) { - define("_OF", "of"); -} -if (!defined("_TO")) { - define("_TO", "from "); -} -if (!defined("_FOR")) { - define("_FOR", " to "); -} -if (!defined("_LIST_OF_MAIL_TO_PROCESS")) { - define("_LIST_OF_MAIL_TO_PROCESS", "This is the list of new mails to process"); -} -if (!defined("_MAIL_COPIES_TO")) { - define("_MAIL_COPIES_TO", "Mails for information on"); -} -if (!defined("_MAIL_COPIES_LIST")) { - define("_MAIL_COPIES_LIST", "This is the list of mails copies whose you are recipient"); -} -if (!defined("_WHO_MUST_PROCESS_BEFORE")) { - define("_WHO_MUST_PROCESS_BEFORE", "who have to process it before"); -} -if (!defined("_ORIGINAL_PAPERS_ALREADY_SEND")) { - define("_ORIGINAL_PAPERS_ALREADY_SEND", "The paper originals have been addressed to you"); -} -if (!defined("_WARNING")) { - define("_WARNING", "Warning"); -} -if (!defined("_YOU_MUST_BE_LOGGED")) { - define("_YOU_MUST_BE_LOGGED", "You have to be identified on the software before tempting to access to mails"); -} -if (!defined("_MAIL_TO_PROCESS_LIST")) { - define("_MAIL_TO_PROCESS_LIST", "Mails list for processing"); -} -if (!defined("_COPIES_MAIL_LIST")) { - define("_COPIES_MAIL_LIST", "Mails list for information"); -} -if (!defined("_BY")) { - define("_BY", "by"); -} -if (!defined("_DEPARTMENT")) { - define("_DEPARTMENT", "the department"); -} -if (!defined("_")) { - define("_", ""); -} - -//relance1.php -if (!defined("_FIRST_WARNING")) { - define("_FIRST_WARNING", "First reminder"); -} -if (!defined("_FIRST_WARNING_TITLE")) { - define("_FIRST_WARNING_TITLE", "Reminder on mails"); -} -if (!defined("_THIS_IS_FIRST_WARNING")) { - define("_THIS_IS_FIRST_WARNING", "This is the first reminder for the following mails"); -} -if (!defined("_MUST_BE_ADDED_TO_PRIORITY")) { - define("_MUST_BE_ADDED_TO_PRIORITY", "Please add this or those mails to your urgent processes"); -} -if (!defined("_TO_PROCESS")) { - define("_TO_PROCESS", "To process"); -} - -//relance2.php -if (!defined("_SECOND_WARNING")) { - define("_SECOND_WARNING", "Reminder on my mails"); -} -if (!defined("_LATE_MAIL_TO_PROCESS")) { - define("_LATE_MAIL_TO_PROCESS", "Late mails to process"); -} -if (!defined("_YOU_ARE_LATE")) { - define("_YOU_ARE_LATE", "You are late on the following process mails"); -} -if (!defined("_WAS_TO_PROCESS_BEFORE")) { - define("_WAS_TO_PROCESS_BEFORE", "Was to process before"); -} -if (!defined("_PROCESS_THIS_MAIL_QUICKLY")) { - define("_PROCESS_THIS_MAIL_QUICKLY", "Please edit a response under 48 hours"); -} -if (!defined("_LATE")) { - define("_LATE", "Delay"); -} -if (!defined("_MAIL_TO_CC")) { - define("_MAIL_TO_CC", "mails on copies"); -} -if (!defined("_FOLLOWING_MAIL_ARE_LATE")) { - define("_FOLLOWING_MAIL_ARE_LATE", "The process of the following mails has been delayed"); -} -if (!defined("_WHO_MUST_BE_PROCESSED_BEFORE")) { - define("_WHO_MUST_BE_PROCESSED_BEFORE", "who had to process it before"); -} -if (!defined("_COPY_TITLE")) { - define("_COPY_TITLE", "On copy"); -} - -//notifications engine -if (!defined("_WRONG_FUNCTION_OR_WRONG_PARAMETERS")) { - define("_WRONG_FUNCTION_OR_WRONG_PARAMETERS", "Wrong function or wrong setting"); -} - -//annotations -if (!defined("_NEW_NOTE_BY_MAIL")) { - define("_NEW_NOTE_BY_MAIL", "New annotation for the mail"); -} -if (!defined("_HELLO_NOTE")) { - define("_HELLO_NOTE", "Hello, you have a new annotation for the mail"); -} -if (!defined("_NOTE_BODY")) { - define("_NOTE_BODY", "The note is the next one: "); -} -if (!defined("_NOTE_DATE_DETAILS")) { - define("_NOTE_DATE_DETAILS", "On"); -} -if (!defined("_LINK_TO_MAARCH")) { - define("_LINK_TO_MAARCH", "you can access to the mail from the link"); -} - -//v2.0 -if (!defined("_ADMIN_NOTIFICATIONS")) { - define("_ADMIN_NOTIFICATIONS", "Notifications"); -} -if (!defined("_MANAGE_NOTIFS")) { - define("_MANAGE_NOTIFS", "Manage the notifications"); -} -if (!defined("_MANAGE_NOTIFS_DESC")) { - define("_MANAGE_NOTIFS_DESC", "Add or modify notifications to inform "); -} -if (!defined("_TEST_SENDMAIL")) { - define("_TEST_SENDMAIL", "Test the settings"); -} -if (!defined("_TEST_SENDMAIL_DESC")) { - define("_TEST_SENDMAIL_DESC", "Verify the setting of the notification module setting"); -} -if (!defined("_NOTIFS_LIST")) { - define("_NOTIFS_LIST", "Notifications list"); -} -if (!defined("_THIS_NOTIF")) { - define("_THIS_NOTIF", "this notification"); -} -if (!defined("_IS_UNKNOWN")) { - define("_IS_UNKNOWN", "is unknown"); -} -if (!defined("_MODIFY_NOTIF")) { - define("_MODIFY_NOTIF", "Modify notification"); -} -if (!defined("_ADD_NOTIF")) { - define("_ADD_NOTIF", "Add notification"); -} -if (!defined("_NOTIFICATION_ID")) { - define("_NOTIFICATION_ID", "Notification ID"); -} -if (!defined("_DIFFUSION_TYPE")) { - define("_DIFFUSION_TYPE", "Diffusion type"); -} -if (!defined("_NOTIFICATION_MODE")) { - define("_NOTIFICATION_MODE", "Notification mode"); -} -if (!defined("_RSS")) { - define("_RSS", "RSS feed"); -} -if (!defined("_RSS_URL_TEMPLATE")) { - define("_RSS_URL_TEMPLATE", "Feed link"); -} -if (!defined("_SYSTEM_NOTIF")) { - define("_SYSTEM_NOTIF", "System of notification"); -} -if (!defined("_ATTACH_MAIL_FILE")) { - define("_ATTACH_MAIL_FILE", "Attach the file to the notification"); -} -if (!defined("_NEVER")) { - define("_NEVER", "Never"); -} -if (!defined("_NO_ATTACHMENT_WITH_NOTIFICATION")) { - define("_NO_ATTACHMENT_WITH_NOTIFICATION", "The files aren't attached to the notification for no users"); -} - -//List of require -if (!defined("_NOTIFICATIONS_LISTINSTANC_DIFF_TYPE")) { - define("_NOTIFICATIONS_LISTINSTANC_DIFF_TYPE", "Notification mails will be sent to all users from the diffusion list (main recipient and copies)"); -} -if (!defined("_DIFFUSION_LIST")) { - define("_DIFFUSION_LIST", "Diffusion list"); -} -if (!defined("_DEST_USER")) { - define("_DEST_USER", "Main recipient"); -} -if (!defined("_NOTE_DEST_USER")) { - define("_NOTE_DEST_USER", "Main recipient of the annotated file"); -} -if (!defined("_NOTIFICATIONS_DEST_ENTITY_DIFF_TYPE_WITH_STATUS")) { - define("_NOTIFICATIONS_DEST_ENTITY_DIFF_TYPE_WITH_STATUS", "Mailing to the main entity department with status:"); -} -if (!defined("_NOTIFICATIONS_COPY_LIST_DIFF_TYPE")) { - define("_NOTIFICATIONS_COPY_LIST_DIFF_TYPE", "Mailing to users on file copy"); -} -if (!defined("_COPYLIST")) { - define("_COPYLIST", "Users on copy"); -} -if (!defined("_NOTE_COPY_LIST")) { - define("_NOTE_COPY_LIST", "Recipient on copy of the annotated file"); -} -if (!defined("_NOTIFICATIONS_GROUP_DIFF_TYPE")) { - define("_NOTIFICATIONS_GROUP_DIFF_TYPE", "Mailing to users from specified group(s)"); -} -if (!defined("_NOTIFICATIONS_ENTITY_DIFF_TYPE")) { - define("_NOTIFICATIONS_ENTITY_DIFF_TYPE", "Sending to users on specified entity(ies)"); -} -if (!defined("_NOTIFICATIONS_USER_DIFF_TYPE")) { - define("_NOTIFICATIONS_USER_DIFF_TYPE", "Mailing to specified users"); -} -if (!defined("_SELECT_EVENT_TYPE")) { - define("_SELECT_EVENT_TYPE", "-- Select event --"); -} -if (!defined("_SELECT_TEMPLATE")) { - define("_SELECT_TEMPLATE", "-- Select the model --"); -} -if (!defined("_SELECT_DIFFUSION_TYPE")) { - define("_SELECT_DIFFUSION_TYPE", "-- Select the diffusion --"); -} -if (!defined("_NOTIF_ADDED")) { - define("_NOTIF_ADDED", "Added notification"); -} -if (!defined("_NOTIF_DELETED")) { - define("_NOTIF_DELETED", "Deleted notification"); -} -if (!defined("_NOTIF_MODIFIED")) { - define("_NOTIF_MODIFIED", "Modified notification"); -} -if (!defined("_NOTIF_EMPTY")) { - define("_NOTIF_EMPTY", "Empty notification"); -} -if (!defined("_ALL_NOTIFS")) { - define("_ALL_NOTIFS", "All"); -} -if (!defined("_SYSTEM")) { - define("_SYSTEM", "System"); -} -if (!defined("_ENTITY")) { - define("_ENTITY", "Entity"); -} -if (!defined("_DEST_ENTITY")) { - define("_DEST_ENTITY", "Recipient entity"); -} -if (!defined("_NOTIFICATIONS_CONTACT_DIFF_TYPE")) { - define("_NOTIFICATIONS_CONTACT_DIFF_TYPE", "Mailing to mail sender"); -} -if (!defined("_HOUR")) { - define("_HOUR", "Hour"); -} -if (!defined("_MINUTE")) { - define("_MINUTE", "Minute"); -} -if (!defined("_DAY")) { - define("_DAY", "Day"); -} -if (!defined("_WEEKDAY")) { - define("_WEEKDAY", "Weekday"); -} -if (!defined("_NOTIF_DESCRIPTION")) { - define("_NOTIF_DESCRIPTION", "Notification description"); -} -if (!defined("_CRONTAB_SAVED")) { - define("_CRONTAB_SAVED", "Scheduled tasks was saved"); -} -if (!defined("_MONDAY")) { - define("_MONDAY", "Monday"); -} -if (!defined("_TUESDAY")) { - define("_TUESDAY", "Tuesday"); -} -if (!defined("_WEDNESDAY")) { - define("_WEDNESDAY", "Wednesday"); -} -if (!defined("_THURSDAY")) { - define("_THURSDAY", "Thursday"); -} -if (!defined("_FRIDAY")) { - define("_FRIDAY", "Friday"); -} -if (!defined("_SATURDAY")) { - define("_SATURDAY", "Saturday"); -} -if (!defined("_SUNDAY")) { - define("_SUNDAY", "Sunday"); -} -if (!defined("_HELP_CRON")) { - define("_HELP_CRON", "This part allows to define when the notifications will be sent. - <br/><br/>If you choose * in all drop-down box, the notification will be sent every minutes, 365 days per year. - <br/><br/>Example of frequency : - <br/> - <br/>14 30 * * * [mail] New mails to process : the notification will be sent every day at 2:30 pm. - <br/>9 30 * * Monday [mail] New mails to process : the notification will be sent every Monday at 9:30 am. "); -} -if (!defined("_CHOOSE_NOTIF")) { - define("_CHOOSE_NOTIF", "Choose a notification"); -} -if (!defined("_NO_NOTIF")) { - define("_NO_NOTIF", "No scheduled notification"); -} diff --git a/modules/notifications/lang/fr.php b/modules/notifications/lang/fr.php deleted file mode 100755 index b1baa357301..00000000000 --- a/modules/notifications/lang/fr.php +++ /dev/null @@ -1,414 +0,0 @@ -<?php -/* - * - * Copyright 2008,2009 Maarch - * - * This file is part of Maarch Framework. - * - * Maarch Framework is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Maarch Framework is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. - */ - -//communs -if (!defined("_NOTIFICATIONS_ERROR")) { - define("_NOTIFICATIONS_ERROR", "Erreur sur la Notification: "); -} -if (!defined("_NOTIF_ALREADY_EXIST")) { - define("_NOTIF_ALREADY_EXIST", "identifiant déjà existant"); -} -if (!defined("_NOTIF_DESCRIPTION_TOO_LONG")) { - define("_NOTIF_DESCRIPTION_TOO_LONG", "description trop longue"); -} -if (!defined("_NOTIF_EVENT_TOO_LONG")) { - define("_NOTIF_EVENT_TOO_LONG", "Evénement dans le mauvais format"); -} -if (!defined("_NOTIF_MODE_TOO_LONG")) { - define("_NOTIF_MODE_TOO_LONG", "Mode trop long "); -} -if (!defined("_NOTIF_TEMPLATE_NOT_A_INT")) { - define("_NOTIF_TEMPLATE_NOT_A_INT", "identifiant du template n est pas un integer "); -} -if (!defined("_NOTIF_DIFFUSION_IS_A_INT")) { - define("_NOTIF_DIFFUSION_IS_A_INT", "identifiant du type de diffusion est un integer "); -} -if (!defined("_NOTIF_DIFFUSION_PROPERTIES_NOT_INT")) { - define("_NOTIF_DIFFUSION_PROPERTIES_NOT_INT", "identifiant de la propriété de diffusion n est pas un integer "); -} -if (!defined("_DELETED_NOTIFICATION")) { - define("_DELETED_NOTIFICATION", "Notification supprimée"); -} -if (!defined("_NOTIFICATIONS")) { - define("_NOTIFICATIONS", "Notifications"); -} -if (!defined("_NOTIFS")) { - define("_NOTIFS", "Notifications"); -} -if (!defined("_NOTIF")) { - define("_NOTIF", "notif."); -} -if (!defined("_MAIL_TO_PROCESS")) { - define("_MAIL_TO_PROCESS", "Courriers pour traitement"); -} -if (!defined("_HELLO")) { - define("_HELLO", "Bonjour"); -} -if (!defined("_THE_MAIL_NUM")) { - define("_THE_MAIL_NUM", "le courrier n°"); -} -if (!defined("_OF_TYPE")) { - define("_OF_TYPE", "de type"); -} -if (!defined("_OBJECT")) { - define("_OBJECT", "objet"); -} -if (!defined("_RECEIVED_THE")) { - define("_RECEIVED_THE", "reçu le"); -} -if (!defined("_SEND_BY")) { - define("_SEND_BY", "adressé par"); -} -if (!defined("_MUST_BE_PROCESSED_BEFORE")) { - define("_MUST_BE_PROCESSED_BEFORE", "est à traiter avant le"); -} -if (!defined("_ACCESS_TO_MAIL_TO_PROCESS")) { - define("_ACCESS_TO_MAIL_TO_PROCESS", "Accéder au courrier pour le traiter"); -} -if (!defined("_PROCESS_MAIL")) { - define("_PROCESS_MAIL", "Traitement courrier"); -} -if (!defined("_USER")) { - define("_USER", "Utilisateur"); -} -if (!defined("_MAIL")) { - define("_MAIL", "Courrier"); -} -if (!defined("_WAS_SENT_TO")) { - define("_WAS_SENT_TO", "a été transmis à "); -} -if (!defined("_SEE_MAIL")) { - define("_SEE_MAIL", "Voir ce courrier"); -} -if (!defined("_NO_SENDED")) { - define("_NO_SENDED", " L'email n'a pas été envoyé"); -} -if (!defined("_ACTIVATE_NOTIFICATION")) { - define("_ACTIVATE_NOTIFICATION", "Activer les notifications par mail"); -} - - -// notifs.php -if (!defined("_MUST_SPECIFY_CONFIG_FILE")) { - define("_MUST_SPECIFY_CONFIG_FILE", "Vous devez spécifier le fichier de configuration"); -} -if (!defined("_DU")) { - define("_DU", "du"); -} -if (!defined("_OF")) { - define("_OF", "de"); -} -if (!defined("_TO")) { - define("_TO", "de la part de "); -} -if (!defined("_FOR")) { - define("_FOR", "déstiné à "); -} -if (!defined("_LIST_OF_MAIL_TO_PROCESS")) { - define("_LIST_OF_MAIL_TO_PROCESS", "voici la liste des nouveaux courriers à traiter"); -} -if (!defined("_MAIL_COPIES_TO")) { - define("_MAIL_COPIES_TO", "Courriers pour information du"); -} -if (!defined("_MAIL_COPIES_LIST")) { - define("_MAIL_COPIES_LIST", "voici la liste des copies des courriers dont vous êtes destinataire"); -} -if (!defined("_WHO_MUST_PROCESS_BEFORE")) { - define("_WHO_MUST_PROCESS_BEFORE", "qui doit le traiter avant le"); -} -if (!defined("_ORIGINAL_PAPERS_ALREADY_SEND")) { - define("_ORIGINAL_PAPERS_ALREADY_SEND", "Les originaux papier vous ont été adressés"); -} -if (!defined("_WARNING")) { - define("_WARNING", "Attention"); -} -if (!defined("_YOU_MUST_BE_LOGGED")) { - define("_YOU_MUST_BE_LOGGED", "vous devez être identifié sur le logiciel avant de tenter d'accéder au courrier"); -} -if (!defined("_MAIL_TO_PROCESS_LIST")) { - define("_MAIL_TO_PROCESS_LIST", "Liste des courriers pour traitement"); -} -if (!defined("_COPIES_MAIL_LIST")) { - define("_COPIES_MAIL_LIST", "Liste des courriers pour information"); -} -if (!defined("_BY")) { - define("_BY", "par"); -} -if (!defined("_DEPARTMENT")) { - define("_DEPARTMENT", "l'entité"); -} -if (!defined("_")) { - define("_", ""); -} - -//relance1.php -if (!defined("_FIRST_WARNING")) { - define("_FIRST_WARNING", "Première relance"); -} -if (!defined("_FIRST_WARNING_TITLE")) { - define("_FIRST_WARNING_TITLE", "Relance sur les courriers"); -} -if (!defined("_THIS_IS_FIRST_WARNING")) { - define("_THIS_IS_FIRST_WARNING", "Ceci est la première relance pour les courriers suivants"); -} -if (!defined("_MUST_BE_ADDED_TO_PRIORITY")) { - define("_MUST_BE_ADDED_TO_PRIORITY", "Merci d'ajouter ce ou ces courriers à vos traitements prioritaires"); -} -if (!defined("_TO_PROCESS")) { - define("_TO_PROCESS", "à traiter"); -} - -//relance2.php -if (!defined("_SECOND_WARNING")) { - define("_SECOND_WARNING", "Relance sur mes courriers"); -} -if (!defined("_LATE_MAIL_TO_PROCESS")) { - define("_LATE_MAIL_TO_PROCESS", "Courriers en retard à traiter"); -} -if (!defined("_YOU_ARE_LATE")) { - define("_YOU_ARE_LATE", "Vous avez du retard dans le traitement des courriers suivants"); -} -if (!defined("_WAS_TO_PROCESS_BEFORE")) { - define("_WAS_TO_PROCESS_BEFORE", "était à traiter avant le"); -} -if (!defined("_PROCESS_THIS_MAIL_QUICKLY")) { - define("_PROCESS_THIS_MAIL_QUICKLY", "Merci de rédiger une réponse sous 48 heures"); -} -if (!defined("_LATE")) { - define("_LATE", "Retard"); -} -if (!defined("_MAIL_TO_CC")) { - define("_MAIL_TO_CC", "courriers en copies"); -} -if (!defined("_FOLLOWING_MAIL_ARE_LATE")) { - define("_FOLLOWING_MAIL_ARE_LATE", "Le traitement des courriers suivants a pris du retard"); -} -if (!defined("_WHO_MUST_BE_PROCESSED_BEFORE")) { - define("_WHO_MUST_BE_PROCESSED_BEFORE", "qui devait le traiter avant le"); -} -if (!defined("_COPY_TITLE")) { - define("_COPY_TITLE", "En copie"); -} - -//notifications engine -if (!defined("_WRONG_FUNCTION_OR_WRONG_PARAMETERS")) { - define("_WRONG_FUNCTION_OR_WRONG_PARAMETERS", "Mauvaise fonction ou mauvais paramètre"); -} - -//annotations -if (!defined("_NEW_NOTE_BY_MAIL")) { - define("_NEW_NOTE_BY_MAIL", "Nouvelle annotation pour le courrier"); -} -if (!defined("_HELLO_NOTE")) { - define("_HELLO_NOTE", "Bonjour, vous avez une nouvelle annotation pour le courrier"); -} -if (!defined("_NOTE_BODY")) { - define("_NOTE_BODY", "L'annotation est la suivante : "); -} -if (!defined("_NOTE_DATE_DETAILS")) { - define("_NOTE_DATE_DETAILS", "le"); -} -if (!defined("_LINK_TO_MAARCH")) { - define("_LINK_TO_MAARCH", "Vous pouvez accéder au courrier depuis ce lien"); -} - -//v2.0 -if (!defined("_ADMIN_NOTIFICATIONS")) { - define("_ADMIN_NOTIFICATIONS", "Notifications"); -} -if (!defined("_MANAGE_NOTIFS")) { - define("_MANAGE_NOTIFS", "Gérer les notifications"); -} -if (!defined("_MANAGE_NOTIFS_DESC")) { - define("_MANAGE_NOTIFS_DESC", "Ajouter ou modifier des notifications à notifier"); -} -if (!defined("_TEST_SENDMAIL")) { - define("_TEST_SENDMAIL", "Tester la configuration"); -} -if (!defined("_TEST_SENDMAIL_DESC")) { - define("_TEST_SENDMAIL_DESC", "Vérifier le paramétrage du module de notification"); -} -if (!defined("_NOTIFS_LIST")) { - define("_NOTIFS_LIST", "Liste des notifications"); -} -if (!defined("_THIS_NOTIF")) { - define("_THIS_NOTIF", "Cette notification"); -} -if (!defined("_IS_UNKNOWN")) { - define("_IS_UNKNOWN", "est inconnue"); -} -if (!defined("_MODIFY_NOTIF")) { - define("_MODIFY_NOTIF", "Modifier notification"); -} -if (!defined("_ADD_NOTIF")) { - define("_ADD_NOTIF", "Ajouter notification"); -} -if (!defined("_NOTIFICATION_ID")) { - define("_NOTIFICATION_ID", "Identifiant de notification"); -} -if (!defined("_DIFFUSION_TYPE")) { - define("_DIFFUSION_TYPE", "Type de diffusion"); -} -if (!defined("_NOTIFICATION_MODE")) { - define("_NOTIFICATION_MODE", "Mode de notification"); -} -if (!defined("_RSS")) { - define("_RSS", "Flux RSS"); -} -if (!defined("_RSS_URL_TEMPLATE")) { - define("_RSS_URL_TEMPLATE", "Lien du flux"); -} -if (!defined("_SYSTEM_NOTIF")) { - define("_SYSTEM_NOTIF", "Notification système"); -} -if (!defined("_ATTACH_MAIL_FILE")) { - define("_ATTACH_MAIL_FILE", "Joindre le document à la notification"); -} -if (!defined("_NEVER")) { - define("_NEVER", "Jamais"); -} -if (!defined("_NO_ATTACHMENT_WITH_NOTIFICATION")) { - define("_NO_ATTACHMENT_WITH_NOTIFICATION", "Les documents ne sont joints à la notification pour aucun utilisateur"); -} - -//List of require -if (!defined("_NOTIFICATIONS_LISTINSTANC_DIFF_TYPE")) { - define("_NOTIFICATIONS_LISTINSTANC_DIFF_TYPE", "Les courriels de notifications seront diffusés à tous les utilisateurs de la liste de diffusion (destinataire principal et copies)"); -} -if (!defined("_DIFFUSION_LIST")) { - define("_DIFFUSION_LIST", "Liste de diffusion"); -} -if (!defined("_DEST_USER")) { - define("_DEST_USER", "Destinataire principal"); -} -if (!defined("_NOTE_DEST_USER")) { - define("_NOTE_DEST_USER", "Destinataire principal du courrier annoté"); -} -if (!defined("_NOTIFICATIONS_DEST_ENTITY_DIFF_TYPE_WITH_STATUS")) { - define("_NOTIFICATIONS_DEST_ENTITY_DIFF_TYPE_WITH_STATUS", "Envoi à l'entité principale du courrier avec le(s) statut(s):"); -} -if (!defined("_NOTIFICATIONS_COPY_LIST_DIFF_TYPE")) { - define("_NOTIFICATIONS_COPY_LIST_DIFF_TYPE", "Envoi aux utilisateurs en copie du courrier"); -} -if (!defined("_COPYLIST")) { - define("_COPYLIST", "Utilisateurs en copie"); -} -if (!defined("_NOTE_COPY_LIST")) { - define("_NOTE_COPY_LIST", "Destinataires en copie du courrier annoté"); -} -if (!defined("_NOTIFICATIONS_GROUP_DIFF_TYPE")) { - define("_NOTIFICATIONS_GROUP_DIFF_TYPE", "Envoi aux utilisateurs du(des) groupe(s) spécifié(s)"); -} -if (!defined("_NOTIFICATIONS_ENTITY_DIFF_TYPE")) { - define("_NOTIFICATIONS_ENTITY_DIFF_TYPE", "Envoi aux utilisateurs des entité(s) spécifiée(s)"); -} -if (!defined("_NOTIFICATIONS_USER_DIFF_TYPE")) { - define("_NOTIFICATIONS_USER_DIFF_TYPE", "Envoi aux utilisateurs spécifiés"); -} -if (!defined("_SELECT_EVENT_TYPE")) { - define("_SELECT_EVENT_TYPE", "-- Sélectionner l'événement --"); -} -if (!defined("_SELECT_TEMPLATE")) { - define("_SELECT_TEMPLATE", "-- Sélectionner le modèle --"); -} -if (!defined("_SELECT_DIFFUSION_TYPE")) { - define("_SELECT_DIFFUSION_TYPE", "-- Sélectionner la diffusion --"); -} -if (!defined("_NOTIF_ADDED")) { - define("_NOTIF_ADDED", "Notification ajoutée"); -} -if (!defined("_NOTIF_DELETED")) { - define("_NOTIF_DELETED", "Notification supprimée"); -} -if (!defined("_NOTIF_MODIFIED")) { - define("_NOTIF_MODIFIED", "Notification modifiée"); -} -if (!defined("_NOTIF_EMPTY")) { - define("_NOTIF_EMPTY", "Notification vide"); -} -if (!defined("_ALL_NOTIFS")) { - define("_ALL_NOTIFS", "Toutes"); -} -if (!defined("_SYSTEM")) { - define("_SYSTEM", "Système"); -} -if (!defined("_ENTITY")) { - define("_ENTITY", "Entité"); -} -if (!defined("_DEST_ENTITY")) { - define("_DEST_ENTITY", "Entité destinatrice"); -} -if (!defined("_NOTIFICATIONS_CONTACT_DIFF_TYPE")) { - define("_NOTIFICATIONS_CONTACT_DIFF_TYPE", "Envoi à l'expéditeur du courrier"); -} -if (!defined("_HOUR")) { - define("_HOUR", "Heure"); -} -if (!defined("_MINUTE")) { - define("_MINUTE", "Minute"); -} -if (!defined("_DAY")) { - define("_DAY", "Jour"); -} -if (!defined("_WEEKDAY")) { - define("_WEEKDAY", "Jour de la semaine"); -} -if (!defined("_NOTIF_DESCRIPTION")) { - define("_NOTIF_DESCRIPTION", "Description de la notification"); -} -if (!defined("_CRONTAB_SAVED")) { - define("_CRONTAB_SAVED", "La tâche planifiée a été sauvegardée"); -} -if (!defined("_MONDAY")) { - define("_MONDAY", "Lundi"); -} -if (!defined("_TUESDAY")) { - define("_TUESDAY", "Mardi"); -} -if (!defined("_WEDNESDAY")) { - define("_WEDNESDAY", "Mercredi"); -} -if (!defined("_THURSDAY")) { - define("_THURSDAY", "Jeudi"); -} -if (!defined("_FRIDAY")) { - define("_FRIDAY", "Vendredi"); -} -if (!defined("_SATURDAY")) { - define("_SATURDAY", "Samedi"); -} -if (!defined("_SUNDAY")) { - define("_SUNDAY", "Dimanche"); -} -if (!defined("_HELP_CRON")) { - define("_HELP_CRON", "Cette partie permet de définir quand seront envoyées les notifications. - <br/><br/>Si vous choisissez * dans toutes les listes déroulantes, la notification sera envoyée toutes les minutes 365 jours par an. - <br/><br/>Exemple de fréquence : - <br/> - <br/>14 30 * * * [courrier] Nouveaux courriers à traiter : La notification sera envoyée tous les jours à 14h30 - <br/>9 30 * * Lundi [courrier] Nouveaux courriers à traiter : La notification sera envoyée tous les lundi à 9h30"); -} -if (!defined("_CHOOSE_NOTIF")) { - define("_CHOOSE_NOTIF", "Choisissez une notification"); -} -if (!defined("_NO_NOTIF")) { - define("_NO_NOTIF", "Aucune notification planifiée"); -} diff --git a/modules/notifications/lang/nl.php b/modules/notifications/lang/nl.php deleted file mode 100755 index 3c44ca5aa17..00000000000 --- a/modules/notifications/lang/nl.php +++ /dev/null @@ -1,383 +0,0 @@ -<?php -/** - * Copyright Maarch since 2008 under licence GPLv3. - * See LICENCE.txt file at the root folder for more details. - * This file is part of Maarch software. - */ - -//communs -if (!defined('_NOTIFICATIONS_ERROR')) { - define('_NOTIFICATIONS_ERROR', 'Fout bij melding:'); -} -if (!defined('_NOTIF_ALREADY_EXIST')) { - define('_NOTIF_ALREADY_EXIST', 'gebruikersnaam bestaat reeds'); -} -if (!defined('_NOTIF_DESCRIPTION_TOO_LONG')) { - define('_NOTIF_DESCRIPTION_TOO_LONG', 'beschrijving te lang'); -} -if (!defined('_NOTIF_EVENT_TOO_LONG')) { - define('_NOTIF_EVENT_TOO_LONG', 'Gebeurtenis in het verkeerde formaat'); -} -if (!defined('_NOTIF_MODE_TOO_LONG')) { - define('_NOTIF_MODE_TOO_LONG', 'Te lange modus'); -} -if (!defined('_NOTIF_TEMPLATE_NOT_A_INT')) { - define('_NOTIF_TEMPLATE_NOT_A_INT', 'gebruikersnaam van template is geen integer'); -} -if (!defined('_NOTIF_DIFFUSION_IS_A_INT')) { - define('_NOTIF_DIFFUSION_IS_A_INT', 'gebruikersnaam van verdelingstype is een integer'); -} -if (!defined('_NOTIF_DIFFUSION_PROPERTIES_NOT_INT')) { - define('_NOTIF_DIFFUSION_PROPERTIES_NOT_INT', 'gebruikersnaam van de verdelingseigenschap is geen integer'); -} -if (!defined('_DELETED_NOTIFICATION')) { - define('_DELETED_NOTIFICATION', 'Melding verwijderd'); -} -if (!defined('_NOTIFICATIONS')) { - define('_NOTIFICATIONS', 'Meldingen'); -} -if (!defined('_NOTIFS')) { - define('_NOTIFS', 'Meldingen'); -} -if (!defined('_NOTIF')) { - define('_NOTIF', 'meld.'); -} -if (!defined('_MAIL_TO_PROCESS')) { - define('_MAIL_TO_PROCESS', 'Brieven voor verwerking'); -} -if (!defined('_HELLO')) { - define('_HELLO', 'Hallo'); -} -if (!defined('_THE_MAIL_NUM')) { - define('_THE_MAIL_NUM', 'brief nr.'); -} -if (!defined('_OF_TYPE')) { - define('_OF_TYPE', 'van type'); -} -if (!defined('_OBJECT')) { - define('_OBJECT', 'onderwerp'); -} -if (!defined('_RECEIVED_THE')) { - define('_RECEIVED_THE', 'ontvangen op'); -} -if (!defined('_SEND_BY')) { - define('_SEND_BY', 'geadresseerd door'); -} -if (!defined('_MUST_BE_PROCESSED_BEFORE')) { - define('_MUST_BE_PROCESSED_BEFORE', 'moet verwerkt worden voor'); -} -if (!defined('_ACCESS_TO_MAIL_TO_PROCESS')) { - define('_ACCESS_TO_MAIL_TO_PROCESS', 'Toegang tot de brief hebben om deze te verwerken'); -} -if (!defined('_PROCESS_MAIL')) { - define('_PROCESS_MAIL', 'Verwerking brief'); -} -if (!defined('_USER')) { - define('_USER', 'Gebruiker'); -} -if (!defined('_MAIL')) { - define('_MAIL', 'Brief'); -} -if (!defined('_WAS_SENT_TO')) { - define('_WAS_SENT_TO', 'werd doorgegeven aan'); -} -if (!defined('_SEE_MAIL')) { - define('_SEE_MAIL', 'Deze brief bekijken'); -} -if (!defined('_NO_SENDED')) { - define('_NO_SENDED', 'De e-mail werd niet verzonden'); -} -if (!defined('_ACTIVATE_NOTIFICATION')) { - define('_ACTIVATE_NOTIFICATION', 'De berichten per mail inschakelen'); -} -if (!defined('_MUST_SPECIFY_CONFIG_FILE')) { - define('_MUST_SPECIFY_CONFIG_FILE', 'U moet het configuratiebestand specificeren'); -} -if (!defined('_DU')) { - define('_DU', 'van'); -} -if (!defined('_OF')) { - define('_OF', 'van'); -} -if (!defined('_TO')) { - define('_TO', 'vanwege'); -} -if (!defined('_FOR')) { - define('_FOR', 'Bestemd voor'); -} -if (!defined('_LIST_OF_MAIL_TO_PROCESS')) { - define('_LIST_OF_MAIL_TO_PROCESS', 'hierbij de lijst van de nieuwe te verwerken brieven'); -} -if (!defined('_MAIL_COPIES_TO')) { - define('_MAIL_COPIES_TO', 'Brieven ter informatie van'); -} -if (!defined('_MAIL_COPIES_LIST')) { - define('_MAIL_COPIES_LIST', 'Hierbij de lijst van de kopieën van de brieven waarvan u de bestemmeling bent'); -} -if (!defined('_WHO_MUST_PROCESS_BEFORE')) { - define('_WHO_MUST_PROCESS_BEFORE', 'die deze moet verwerken voor'); -} -if (!defined('_ORIGINAL_PAPERS_ALREADY_SEND')) { - define('_ORIGINAL_PAPERS_ALREADY_SEND', 'De originele papieren werden u opgestuurd'); -} -if (!defined('_WARNING')) { - define('_WARNING', 'Let op'); -} -if (!defined('_YOU_MUST_BE_LOGGED')) { - define('_YOU_MUST_BE_LOGGED', 'U moet in het softwareprogramma geïdentificeerd zijn vooraleer u tot de brieven toegang heeft'); -} -if (!defined('_MAIL_TO_PROCESS_LIST')) { - define('_MAIL_TO_PROCESS_LIST', 'Lijst van de brieven voor verwerking'); -} -if (!defined('_COPIES_MAIL_LIST')) { - define('_COPIES_MAIL_LIST', 'Lijst van de brieven ter informatie'); -} -if (!defined('_BY')) { - define('_BY', 'door'); -} -if (!defined('_DEPARTMENT')) { - define('_DEPARTMENT', 'de dienst'); -} -if (!defined('_FIRST_WARNING')) { - define('_FIRST_WARNING', 'Eerste herinnering'); -} -if (!defined('_FIRST_WARNING_TITLE')) { - define('_FIRST_WARNING_TITLE', 'Herinnering van de brieven'); -} -if (!defined('_THIS_IS_FIRST_WARNING')) { - define('_THIS_IS_FIRST_WARNING', 'Dit is de eerste herinnering voor de volgende brieven'); -} -if (!defined('_MUST_BE_ADDED_TO_PRIORITY')) { - define('_MUST_BE_ADDED_TO_PRIORITY', 'Gelieve deze brief of brieven aan uw prioritaire verwerkingen toe te voegen'); -} -if (!defined('_TO_PROCESS')) { - define('_TO_PROCESS', 'te verwerken'); -} -if (!defined('_SECOND_WARNING')) { - define('_SECOND_WARNING', 'Herinnering van mijn brieven'); -} -if (!defined('_LATE_MAIL_TO_PROCESS')) { - define('_LATE_MAIL_TO_PROCESS', 'Te behandelen laattijdige brieven'); -} -if (!defined('_YOU_ARE_LATE')) { - define('_YOU_ARE_LATE', 'U heeft een achterstand opgelopen bij de verwerking van de volgende brieven'); -} -if (!defined('_WAS_TO_PROCESS_BEFORE')) { - define('_WAS_TO_PROCESS_BEFORE', 'moest verwerkt worden voor'); -} -if (!defined('_PROCESS_THIS_MAIL_QUICKLY')) { - define('_PROCESS_THIS_MAIL_QUICKLY', 'Gelieve binnen 48 uur een antwoord op te stellen '); -} -if (!defined('_LATE')) { - define('_LATE', 'Achterstand'); -} -if (!defined('_MAIL_TO_CC')) { - define('_MAIL_TO_CC', 'Brieven in kopie'); -} -if (!defined('_FOLLOWING_MAIL_ARE_LATE')) { - define('_FOLLOWING_MAIL_ARE_LATE', 'De verwerking van de volgende brieven heeft achterstand opgelopen'); -} -if (!defined('_WHO_MUST_BE_PROCESSED_BEFORE')) { - define('_WHO_MUST_BE_PROCESSED_BEFORE', 'die deze moest verwerken voor'); -} -if (!defined('_COPY_TITLE')) { - define('_COPY_TITLE', 'In kopie'); -} -if (!defined('_WRONG_FUNCTION_OR_WRONG_PARAMETERS')) { - define('_WRONG_FUNCTION_OR_WRONG_PARAMETERS', 'Foute functie of foute instelling'); -} -if (!defined('_NEW_NOTE_BY_MAIL')) { - define('_NEW_NOTE_BY_MAIL', 'Nieuwe opmerking voor de brief'); -} -if (!defined('_HELLO_NOTE')) { - define('_HELLO_NOTE', 'Hallo u heeft een nieuwe opmerking voor de brief'); -} -if (!defined('_NOTE_BODY')) { - define('_NOTE_BODY', 'De opmerking is de volgende:'); -} -if (!defined('_NOTE_DATE_DETAILS')) { - define('_NOTE_DATE_DETAILS', 'op'); -} -if (!defined('_LINK_TO_MAARCH')) { - define('_LINK_TO_MAARCH', 'U kunt toegang verkrijgen tot de brief via deze link'); -} -if (!defined('_ADMIN_NOTIFICATIONS')) { - define('_ADMIN_NOTIFICATIONS', 'Meldingen'); -} -if (!defined('_MANAGE_NOTIFS')) { - define('_MANAGE_NOTIFS', 'Meldingen beheren'); -} -if (!defined('_MANAGE_NOTIFS_DESC')) { - define('_MANAGE_NOTIFS_DESC', 'De te communiceren meldingen toevoegen of wijzigen'); -} -if (!defined('_TEST_SENDMAIL')) { - define('_TEST_SENDMAIL', 'De configuratie testen'); -} -if (!defined('_TEST_SENDMAIL_DESC')) { - define('_TEST_SENDMAIL_DESC', 'De instelling van de meldingsmodule controleren'); -} -if (!defined('_NOTIFS_LIST')) { - define('_NOTIFS_LIST', 'Lijst van de meldingen'); -} -if (!defined('_THIS_NOTIF')) { - define('_THIS_NOTIF', 'Deze melding'); -} -if (!defined('_IS_UNKNOWN')) { - define('_IS_UNKNOWN', 'is onbekend'); -} -if (!defined('_MODIFY_NOTIF')) { - define('_MODIFY_NOTIF', 'Melding wijzigen'); -} -if (!defined('_ADD_NOTIF')) { - define('_ADD_NOTIF', 'Melding toevoegen'); -} -if (!defined('_NOTIFICATION_ID')) { - define('_NOTIFICATION_ID', 'Gebruikersnaam van de melding'); -} -if (!defined('_DIFFUSION_TYPE')) { - define('_DIFFUSION_TYPE', 'Verdelingstype'); -} -if (!defined('_NOTIFICATION_MODE')) { - define('_NOTIFICATION_MODE', 'Meldingmodus'); -} -if (!defined('_RSS')) { - define('_RSS', 'RSS stream'); -} -if (!defined('_RSS_URL_TEMPLATE')) { - define('_RSS_URL_TEMPLATE', 'Link van de stream'); -} -if (!defined('_SYSTEM_NOTIF')) { - define('_SYSTEM_NOTIF', 'Melding systeem'); -} -if (!defined('_ATTACH_MAIL_FILE')) { - define('_ATTACH_MAIL_FILE', 'Het document bij de melding voegen'); -} -if (!defined('_NEVER')) { - define('_NEVER', 'Nooit'); -} -if (!defined('_NO_ATTACHMENT_WITH_NOTIFICATION')) { - define('_NO_ATTACHMENT_WITH_NOTIFICATION', 'De documenten worden voor geen enkele gebruiker bij de melding gevoegd'); -} -if (!defined('_NOTIFICATIONS_LISTINSTANC_DIFF_TYPE')) { - define('_NOTIFICATIONS_LISTINSTANC_DIFF_TYPE', 'De meldingse-mails worden aan alle gebruikers van de verdelingslijst verspreid (hoofdbestemmeling en kopie)'); -} -if (!defined('_DIFFUSION_LIST')) { - define('_DIFFUSION_LIST', 'Verdelingslijst'); -} -if (!defined('_DEST_USER')) { - define('_DEST_USER', 'Hoofdbestemmeling'); -} -if (!defined('_NOTE_DEST_USER')) { - define('_NOTE_DEST_USER', 'Hoofdbestemmeling van het brief met voetnoten'); -} -if (!defined('_NOTIFICATIONS_DEST_ENTITY_DIFF_TYPE_WITH_STATUS')) { - define('_NOTIFICATIONS_DEST_ENTITY_DIFF_TYPE_WITH_STATUS', 'Verzending naar de hoofdeenheid van het brief met de status(sen):'); -} -if (!defined('_NOTIFICATIONS_COPY_LIST_DIFF_TYPE')) { - define('_NOTIFICATIONS_COPY_LIST_DIFF_TYPE', 'Verzending naar de gebruikers in kopie van het brief'); -} -if (!defined('_COPYLIST')) { - define('_COPYLIST', 'Gebruikers in kopie'); -} -if (!defined('_NOTE_COPY_LIST')) { - define('_NOTE_COPY_LIST', 'Bestemmelingen in kopie van het brief met voetnoten'); -} -if (!defined('_NOTIFICATIONS_GROUP_DIFF_TYPE')) { - define('_NOTIFICATIONS_GROUP_DIFF_TYPE', 'Verzending naar de gebruikers van de gespecificeerde groep(en)'); -} -if (!defined('_NOTIFICATIONS_ENTITY_DIFF_TYPE')) { - define('_NOTIFICATIONS_ENTITY_DIFF_TYPE', 'Verzending naar de gebruikers gespecificeerde eenhe(i)d(en)'); -} -if (!defined('_NOTIFICATIONS_USER_DIFF_TYPE')) { - define('_NOTIFICATIONS_USER_DIFF_TYPE', 'Verzending naar de gespecificeerde gebruikers'); -} -if (!defined('_SELECT_EVENT_TYPE')) { - define('_SELECT_EVENT_TYPE', '-- De gebeurtenis selecteren --'); -} -if (!defined('_SELECT_TEMPLATE')) { - define('_SELECT_TEMPLATE', '-- Het model selecteren --'); -} -if (!defined('_SELECT_DIFFUSION_TYPE')) { - define('_SELECT_DIFFUSION_TYPE', '-- De verspreiding selecteren --'); -} -if (!defined('_NOTIF_ADDED')) { - define('_NOTIF_ADDED', 'Melding toegevoegd'); -} -if (!defined('_NOTIF_DELETED')) { - define('_NOTIF_DELETED', 'Melding verwijderd'); -} -if (!defined('_NOTIF_MODIFIED')) { - define('_NOTIF_MODIFIED', 'Melding gewijzigd'); -} -if (!defined('_NOTIF_EMPTY')) { - define('_NOTIF_EMPTY', 'Melding leeg'); -} -if (!defined('_ALL_NOTIFS')) { - define('_ALL_NOTIFS', 'Alle'); -} -if (!defined('_SYSTEM')) { - define('_SYSTEM', 'Systeem'); -} -if (!defined('_ENTITY')) { - define('_ENTITY', 'Eenheid'); -} -if (!defined('_DEST_ENTITY')) { - define('_DEST_ENTITY', 'Eenheid van bestemmeling'); -} -if (!defined('_NOTIFICATIONS_CONTACT_DIFF_TYPE')) { - define('_NOTIFICATIONS_CONTACT_DIFF_TYPE', 'Verzending naar de verzender van de brief'); -} -if (!defined('_HOUR')) { - define('_HOUR', 'Uur'); -} -if (!defined('_MINUTE')) { - define('_MINUTE', 'Minuut'); -} -if (!defined('_DAY')) { - define('_DAY', 'Dag'); -} -if (!defined('_WEEKDAY')) { - define('_WEEKDAY', 'Dag van de week'); -} -if (!defined('_NOTIF_DESCRIPTION')) { - define('_NOTIF_DESCRIPTION', 'Beschrijving van de melding'); -} -if (!defined('_CRONTAB_SAVED')) { - define('_CRONTAB_SAVED', 'De geplande taak werd gewijzigd'); -} -if (!defined('_MONDAY')) { - define('_MONDAY', 'Maandag'); -} -if (!defined('_TUESDAY')) { - define('_TUESDAY', 'Dinsdag'); -} -if (!defined('_WEDNESDAY')) { - define('_WEDNESDAY', 'Woensdag'); -} -if (!defined('_THURSDAY')) { - define('_THURSDAY', 'Donderdag'); -} -if (!defined('_FRIDAY')) { - define('_FRIDAY', 'Vrijdag'); -} -if (!defined('_SATURDAY')) { - define('_SATURDAY', 'Zaterdag'); -} -if (!defined('_SUNDAY')) { - define('_SUNDAY', 'Zondag'); -} -if (!defined('_HELP_CRON')) { - define('_HELP_CRON', 'In dit deel kan bepaald worden wanneer de meldingen verzonden zullen worden.<br/><br/>Indien u * kiest in alle dagen per jaar verzonden worden. <br/><br/>Voorbeeld van frequentie:<br/> <br/>14 30 * * * [brief] Nieuwe te behandelen brieven: De melding zal elke dag om 14u30 verzonden worden<br/>9 30 * * Maandag [brief] Nieuwe te behandelen brieven: De melding zal elke maandag om 9u30 verzonden worden'); -} -if (!defined('_CHOOSE_NOTIF')) { - define('_CHOOSE_NOTIF', 'Kies een melding'); -} -if (!defined('_NO_NOTIF')) { - define('_NO_NOTIF', 'Geen melding gepland'); -} -if (!defined('_DEPARTMENT')) { - define('_DEPARTMENT', 'de eenheid'); -} -if (!defined('_NOTE_BODY')) { - define('_NOTE_BODY', 'De opmerking is de volgende: '); -} diff --git a/modules/notifications/notifications_tables_definition.php b/modules/notifications/notifications_tables_definition.php deleted file mode 100755 index d3e4ad018ee..00000000000 --- a/modules/notifications/notifications_tables_definition.php +++ /dev/null @@ -1,8 +0,0 @@ -<?php - -if (!defined('_NOTIFICATIONS_TABLE_NAME')) { - define('_NOTIFICATIONS_TABLE_NAME', 'notifications'); -} -if (!defined('_NOTIF_EVENT_STACK_TABLE_NAME')) { - define('_NOTIF_EVENT_STACK_TABLE_NAME', 'notif_event_stack'); -} diff --git a/modules/notifications/xml/config.xml b/modules/notifications/xml/config.xml deleted file mode 100755 index 02eb2b109a4..00000000000 --- a/modules/notifications/xml/config.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<root> - <CONFIG> - <name>notifications</name> - <comment>_NOTIFICATIONS</comment> - <file_prefix>notif</file_prefix> - <loaded>true</loaded> - </CONFIG> -</root> diff --git a/modules/notifications/xml/menu.xml b/modules/notifications/xml/menu.xml deleted file mode 100755 index af99319d85f..00000000000 --- a/modules/notifications/xml/menu.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<root> - <MENU> - </MENU> -</root> diff --git a/modules/sendmail/class/class_modules_tools_Abstract.php b/modules/sendmail/class/class_modules_tools_Abstract.php index 9961aaf04f4..fbe62b75d98 100755 --- a/modules/sendmail/class/class_modules_tools_Abstract.php +++ b/modules/sendmail/class/class_modules_tools_Abstract.php @@ -68,152 +68,6 @@ abstract class SendmailAbstract extends Database return $text; } - public function getResource($collectionArray, $coll_id, $res_id) - { - $viewResourceArr = array(); - - for ($i=0; $i<count($collectionArray); $i++) { - if ($collectionArray[$i]['id'] == $coll_id) { - //Get table - $table = $collectionArray[$i]['table']; - //Get adress - $adrTable = $collectionArray[$i]['adr']; - //Get versions table - $versionTable = $collectionArray[$i]['version_table']; - break; - } - } - - if (!empty($res_id) && !empty($table) && !empty($adrTable)) { - //docserver - include_once 'core' . DIRECTORY_SEPARATOR . 'class' . DIRECTORY_SEPARATOR - . 'docservers_controler.php'; - $docserverControler = new docservers_controler(); - //View resource controler - $viewResourceArr = $docserverControler->viewResource( - $res_id, - $table, - $adrTable, - false - ); - //Reajust some info - if (strtoupper($viewResourceArr['ext']) == 'HTML' - && $viewResourceArr['mime_type'] == "text/plain" - ) { - $viewResourceArr['mime_type'] = "text/html"; - } - $db = new Database(); - $stmt = $db->query( - "select res_id, description, subject, title, format, filesize from " - . $table . " where res_id = ? and status <> 'DEL'", - array($res_id) - ); - $res = $stmt->fetchObject(); - $label = ''; - //Tile, or subject or description - if (strlen(trim($res->title)) > 0) { - $label = $res->title; - } elseif (strlen(trim($res->subject)) > 0) { - $label = $res->subject; - } elseif (strlen(trim($res->description)) > 0) { - $label = $res->description; - } - $viewResourceArr['label'] = $this->show_string($label); - } - - return $viewResourceArr; - } - - public function getAttachment($coll_id, $res_id_master, $res_attachment, $isVersion = false) - { - include_once 'core/core_tables.php'; - include_once 'core/docservers_tools.php'; - - $viewAttachmentArr = array(); - - $db = new Database(); - $table = "res_attachments"; - $stmt = $db->query( - "select description, subject, title, docserver_id, path, filename, format from " - . $table . " where res_id = ? and res_id_master = ? ", - array($res_attachment, $res_id_master) - ); - if ($stmt->rowCount() > 0) { - $line = $stmt->fetchObject(); - //Tile, or subject or description - if (strlen(trim($line->title)) > 0) { - $label = $line->title; - } elseif (strlen(trim($line->subject)) > 0) { - $label = $line->subject; - } elseif (strlen(trim($line->description)) > 0) { - $label = $line->description; - } - - $docserver = $line->docserver_id; - $path = $line->path; - $filename = $line->filename; - $format = $line->format; - $stmt = $db->query( - "select path_template from " . _DOCSERVERS_TABLE_NAME - . " where docserver_id = ? ", - array($docserver) - ); - //$db->show(); - $lineDoc = $stmt->fetchObject(); - $docserver = $lineDoc->path_template; - $file = $docserver . $path . $filename; - $file = str_replace("#", DIRECTORY_SEPARATOR, $file); - if (file_exists($file)) { - $mimeType = Ds_getMimeType($file); - - $fileNameOnTmp = 'tmp_file_' . rand() - . '.' . strtolower($format); - $filePathOnTmp = $_SESSION['config'] - ['tmppath'] . DIRECTORY_SEPARATOR - . $fileNameOnTmp; - copy($file, $filePathOnTmp); - - $viewAttachmentArr = array( - 'status' => 'ok', - 'label' => $this->show_string($label), - 'mime_type' => $mimeType, - 'ext' => $format, - 'file_content' => '', - 'tmp_path' => $_SESSION['config']['tmppath'], - 'file_path' => $filePathOnTmp, - 'called_by_ws' => '', - 'error' => '' - ); - } else { - $viewAttachmentArr = array( - 'status' => 'ko', - 'label' => '', - 'mime_type' => '', - 'ext' => '', - 'file_content' => '', - 'tmp_path' => '', - 'file_path' => '', - 'called_by_ws' => '', - 'error' => _FILE_NOT_EXISTS_ON_THE_SERVER - ); - } - } else { - $viewAttachmentArr = array( - 'status' => 'ko', - 'label' => '', - 'mime_type' => '', - 'ext' => '', - 'file_content' => '', - 'tmp_path' => '', - 'file_path' => '', - 'called_by_ws' => '', - 'error' => _NO_RIGHT_ON_RESOURCE_OR_RESOURCE_NOT_EXISTS - ); - } - - return $viewAttachmentArr; - } - public function createFilename($label, $extension) { $search = array( diff --git a/modules/sendmail/js/functions.js b/modules/sendmail/js/functions.js deleted file mode 100755 index 362c159c986..00000000000 --- a/modules/sendmail/js/functions.js +++ /dev/null @@ -1,65 +0,0 @@ -var addEmailAdress = function (idField, idList, theUrlToListScript, paramNameSrv, minCharsSrv) { - new Ajax.Autocompleter( - idField, - idList, - theUrlToListScript, - { - paramName: paramNameSrv, - minChars: minCharsSrv, - tokens: ',', - afterUpdateElement:extractEmailAdress - }); - }; - - var addDestUser = function (idField, idList, theUrlToListScript, paramNameSrv, minCharsSrv) { - new Ajax.Autocompleter( - idField, - idList, - theUrlToListScript, - { - paramName: paramNameSrv, - minChars: minCharsSrv, - tokens: ',', - afterUpdateElement:extractDestUser - }); - }; - -function extractEmailAdress(field, item) { - var fullAdress = item.innerHTML; - field.value = fullAdress.match(/\(([^)]+)\)/)[1]; -} - -function extractDestUser(field, item) { - $j('#user').val(item.id); - $j('#valid').click(); -} - -var MyAjax = { }; -MyAjax.Autocompleter = Class.create(Ajax.Autocompleter, { - updateChoices: function(choices) { - if(!this.changed && this.hasFocus) { - this.update.innerHTML = choices; - Element.cleanWhitespace(this.update); - Element.cleanWhitespace(this.update.down()); - if(this.update.firstChild && this.update.down().childNodes) { - this.entryCount = this.update.down().childNodes.length; - for (var i = 0; i < this.entryCount; i++) { - var entry = this.getEntry(i); - entry.autocompleteIndex = i; - this.addObservers(entry); - } - } else { - this.entryCount = 0; - } - this.stopIndicator(); - this.index = -1; - - if(this.entryCount==1 && this.options.autoSelect) { - this.selectEntry(); - this.hide(); - } else { - this.render(); - } - } - } -}); diff --git a/modules/sendmail/lang/en.php b/modules/sendmail/lang/en.php deleted file mode 100755 index 20670ce5f40..00000000000 --- a/modules/sendmail/lang/en.php +++ /dev/null @@ -1,184 +0,0 @@ -<?php -/* - * - * Copyright 2008-2015 Maarch - * - * This file is part of Maarch Framework. - * - * Maarch Framework is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Maarch Framework is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. - */ - -if (!defined("_SENDMAIL")) - define("_SENDMAIL", "Send emails"); -if (!defined("_SENDMAIL_COMMENT")) - define("_SENDMAIL_COMMENT", "Send emails"); -if (!defined("_EMAIL_LIST")) - define("_EMAIL_LIST", "Emails"); -if (!defined("_EMAIL_LIST_DESC")) - define("_EMAIL_LIST_DESC", "Emails list"); -if (!defined("_SENDED_EMAILS")) - define("_SENDED_EMAILS", "Emails"); - -//STATUS -if (!defined("_EMAIL_DRAFT")) - define("_EMAIL_DRAFT","Draft"); -if (!defined("_EMAIL_WAIT")) - define("_EMAIL_WAIT","Waiting to be send"); -if (!defined("_EMAIL_IN_PROGRESS")) - define("_EMAIL_IN_PROGRESS","Being send"); -if (!defined("_EMAIL_SENT")) - define("_EMAIL_SENT","Sent"); -if (!defined("_EMAIL_ERROR")) - define("_EMAIL_ERROR","Error when sending"); - -//FORM -if (!defined("_FROM")) - define("_FROM","Sender"); -if (!defined("_FROM_SHORT")) - define("_FROM_SHORT","From"); -if (!defined("_SEND_TO")) - define("_SEND_TO","Recipient"); -if (!defined("_SEND_TO_SHORT")) - define("_SEND_TO_SHORT","to"); -if (!defined("_COPY_TO")) - define("_COPY_TO","Copy"); -if (!defined("_COPY_TO_SHORT")) - define("_COPY_TO_SHORT","Cc"); -if (!defined("_COPY_TO_INVISIBLE")) - define("_COPY_TO_INVISIBLE","Hidden copy"); -if (!defined("_COPY_TO_INVISIBLE_SHORT")) - define("_COPY_TO_INVISIBLE_SHORT","Cci"); -if (!defined("_JOINED_FILES")) - define("_JOINED_FILES","Attachment files"); -if (!defined("_SHOW_OTHER_COPY_FIELDS")) - define("_SHOW_OTHER_COPY_FIELDS","Show/hide fields Cc and Cci"); -if (!defined("_EMAIL_OBJECT")) - define("_EMAIL_OBJECT","Subject"); -if (!defined("_HTML_OR_RAW")) - define("_HTML_OR_RAW","Advanced formatting / Plain text"); -if (!defined("_DEFAULT_BODY")) - define("_DEFAULT_BODY","Your email is ready to be send with this attachment file :"); -if (!defined("_NOTES_FILE")) - define("_NOTES_FILE", "Notes of mail"); -if (!defined("_EMAIL_WRONG_FORMAT")) - define("_EMAIL_WRONG_FORMAT", "Email address is not in the right format"); - -//ERROR -if (!defined("_EMAIL_NOT_EXIST")) - define("_EMAIL_NOT_EXIST", "This email doesn't exist"); - -//ADD -if (!defined("_NEW_EMAIL")) - define("_NEW_EMAIL","New mail"); -if (!defined("_NEW_NUMERIC_PACKAGE")) - define("_NEW_NUMERIC_PACKAGE","New numeric package"); -if (!defined("_NUMERIC_PACKAGE_ADDED")) - define("_NUMERIC_PACKAGE_ADDED","Numeric package added"); -if (!defined("_NUMERIC_PACKAGE_IMPORTED")) - define("_NUMERIC_PACKAGE_IMPORTED","Numeric package imported"); -if (!defined("_NUMERIC_PACKAGE_SENT")) - define("_NUMERIC_PACKAGE_SENT","Numeric package sent"); -if (!defined("_NUMERIC_PACKAGE")) - define("_NUMERIC_PACKAGE","Numeric package"); -if (!defined("_NO_COMMUNICATION_MODE")) - define("_NO_COMMUNICATION_MODE","No communication mode"); -if (!defined("_NOTHING")) - define("_NOTHING","Aucun"); -if (!defined("_CREATE_EMAIL")) - define("_CREATE_EMAIL", "Create"); -if (!defined("_EMAIL_ADDED")) - define("_EMAIL_ADDED", "Email added"); - -//SEND -if (!defined("_SEND_EMAIL")) - define("_SEND_EMAIL","Send"); -if (!defined("_RESEND_EMAIL")) - define("_RESEND_EMAIL","Resend"); - -//SAVE -if (!defined("_SAVE_EMAIL")) - define("_SAVE_EMAIL","Save"); - -//READ -if (!defined("_READ_EMAIL")) - define("_READ_EMAIL","Read email"); - -//TRANSFER -if (!defined("_TRANSFER_EMAIL")) - define("_TRANSFER_EMAIL","Forward email"); - -//EDIT -if (!defined("_EDIT_EMAIL")) - define("_EDIT_EMAIL", "Edit email"); -if (!defined("_SAVE_EMAIL")) - define("_SAVE_EMAIL", "Save"); -if (!defined("_SAVE_COPY_EMAIL")) - define("_SAVE_COPY_EMAIL", "Save a copy"); -if (!defined("_EMAIL_UPDATED")) - define("_EMAIL_UPDATED", "Email updated"); - -//REMOVE -if (!defined("_REMOVE_EMAIL")) - define("_REMOVE_EMAIL", "Remove"); -if (!defined("_REMOVE_EMAILS")) - define("_REMOVE_EMAILS", "Remove emails"); -if (!defined("_REALLY_REMOVE_EMAIL")) - define("_REALLY_REMOVE_EMAIL", "Do you really want to remove"); -if (!defined("_EMAIL_REMOVED")) - define("_EMAIL_REMOVED", "Email removed"); - -if (!defined('_Label_ADD_TEMPLATE_MAIL')) - define('_Label_ADD_TEMPLATE_MAIL', 'Model : '); -if (!defined('_ADD_TEMPLATE_MAIL')) - define('_ADD_TEMPLATE_MAIL', 'Choose a template'); - -if (!defined("_EMAIL_OBJECT_ANSWER")) - define("_EMAIL_OBJECT_ANSWER", "Answer to your email from"); -if (!defined("_INCORRECT_SENDER")) - define("_INCORRECT_SENDER", "Incorrect sender"); - -if (!defined("_OPERATION_DATE")) - define("_OPERATION_DATE", "Operation date"); -if (!defined("_RECEPTION_DATE")) - define("_RECEPTION_DATE", "Reception date"); - -if (!defined("_SENDS_FAIL")) - define("_SENDS_FAIL", "Sends fail"); -if (!defined("_WRONG_FILE_TYPE_M2M")) - define("_WRONG_FILE_TYPE_M2M", "Only ZIP file allowed"); -if (!defined("_ERROR_RECEIVE_FAIL")) - define("_ERROR_RECEIVE_FAIL", "Error receive zip fail"); - -if (!defined("_ERROR_CONTACT_UNKNOW")) - define("_ERROR_CONTACT_UNKNOW", "Contact unknow."); -if (!defined("_NO_RECIPIENT")) - define("_NO_RECIPIENT", "No recipient"); -if (!defined("_NO_SENDER")) - define("_NO_SENDER", "No sender"); -if (!defined("_SIMPLE_DOWNLOAD")) - define("_SIMPLE_DOWNLOAD", "Download"); -if (!defined("_MORE_INFORMATIONS")) - define("_MORE_INFORMATIONS", "Informations about the transfer"); -if (!defined("_REPLY_RESPONSE_SENT")) - define("_REPLY_RESPONSE_SENT", "Reply sent on"); -if (!defined("_M2M_ARCHIVETRANSFER")) - define("_M2M_ARCHIVETRANSFER", "Archive transfer"); -if (!defined("_M2M_ARCHIVETRANSFERREPLY")) - define("_M2M_ARCHIVETRANSFERREPLY", "Archive transfer reply"); -if (!defined("_M2M_ACTION_DONE")) - define("_M2M_ACTION_DONE", "done by"); -if (!defined("_M2M_ENTITY_DESTINATION")) - define("_M2M_ENTITY_DESTINATION", "Mail is in the department"); -if (!defined("_M2M_FOLLOWUP_REQUEST")) - define("_M2M_FOLLOWUP_REQUEST", "Follow-up of the request"); diff --git a/modules/sendmail/lang/fr.php b/modules/sendmail/lang/fr.php deleted file mode 100755 index 46e574030c0..00000000000 --- a/modules/sendmail/lang/fr.php +++ /dev/null @@ -1,254 +0,0 @@ -<?php -/* - * - * Copyright 2013 Maarch - * - * This file is part of Maarch Framework. - * - * Maarch Framework is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Maarch Framework is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. - */ - -if (!defined("_SENDMAIL")) { - define("_SENDMAIL", "Envoi de courriels"); -} -if (!defined("_SENDMAIL_COMMENT")) { - define("_SENDMAIL_COMMENT", "Envoi de courriels"); -} -if (!defined("_EMAIL_LIST")) { - define("_EMAIL_LIST", "Courriels"); -} -if (!defined("_EMAIL_LIST_DESC")) { - define("_EMAIL_LIST_DESC", "Liste des courriels"); -} -if (!defined("_SENDED_EMAILS")) { - define("_SENDED_EMAILS", "Eléments envoyés"); -} - -//STATUS -if (!defined("_EMAIL_DRAFT")) { - define("_EMAIL_DRAFT", "Brouillon"); -} -if (!defined("_EMAIL_WAIT")) { - define("_EMAIL_WAIT", "En attente d'envoi"); -} -if (!defined("_EMAIL_IN_PROGRESS")) { - define("_EMAIL_IN_PROGRESS", "En cours d'envoi"); -} -if (!defined("_EMAIL_SENT")) { - define("_EMAIL_SENT", "Envoyé"); -} -if (!defined("_EMAIL_ERROR")) { - define("_EMAIL_ERROR", "Erreur lors de l'envoi"); -} - -//FORM -if (!defined("_FROM")) { - define("_FROM", "Expéditeur"); -} -if (!defined("_FROM_SHORT")) { - define("_FROM_SHORT", "De"); -} -if (!defined("_SEND_TO")) { - define("_SEND_TO", "Destinataire"); -} -if (!defined("_SEND_TO_SHORT")) { - define("_SEND_TO_SHORT", "à "); -} -if (!defined("_COPY_TO")) { - define("_COPY_TO", "En copie"); -} -if (!defined("_COPY_TO_SHORT")) { - define("_COPY_TO_SHORT", "Cc"); -} -if (!defined("_COPY_TO_INVISIBLE")) { - define("_COPY_TO_INVISIBLE", "En copie invisible"); -} -if (!defined("_COPY_TO_INVISIBLE_SHORT")) { - define("_COPY_TO_INVISIBLE_SHORT", "Cci"); -} -if (!defined("_JOINED_FILES")) { - define("_JOINED_FILES", "Fichiers joints"); -} -if (!defined("_SHOW_OTHER_COPY_FIELDS")) { - define("_SHOW_OTHER_COPY_FIELDS", "Afficher/masquer les champs Cc et Cci"); -} -if (!defined("_EMAIL_OBJECT")) { - define("_EMAIL_OBJECT", "Objet"); -} -if (!defined("_HTML_OR_RAW")) { - define("_HTML_OR_RAW", "Mise en forme avancée / Texte brut"); -} -if (!defined("_DEFAULT_BODY")) { - define("_DEFAULT_BODY", "Votre message est prêt à être envoyé avec les fichiers joints suivants :"); -} -if (!defined("_NOTES_FILE")) { - define("_NOTES_FILE", "Annotations du courrier"); -} -if (!defined("_EMAIL_WRONG_FORMAT")) { - define("_EMAIL_WRONG_FORMAT", "L'adresse courriel n'est pas dans le bon format"); -} - - -//ERROR -if (!defined("_EMAIL_NOT_EXIST")) { - define("_EMAIL_NOT_EXIST", "Ce courriel n'existe pas"); -} - -//ADD -if (!defined("_NEW_EMAIL")) { - define("_NEW_EMAIL", "Nouveau message"); -} -if (!defined("_NEW_NUMERIC_PACKAGE")) { - define("_NEW_NUMERIC_PACKAGE", "Nouveau pli numérique"); -} -if (!defined("_NUMERIC_PACKAGE_ADDED")) { - define("_NUMERIC_PACKAGE_ADDED", "Pli numérique ajouté"); -} -if (!defined("_NUMERIC_PACKAGE_IMPORTED")) { - define("_NUMERIC_PACKAGE_IMPORTED", "Pli numérique importé"); -} -if (!defined("_NUMERIC_PACKAGE_SENT")) { - define("_NUMERIC_PACKAGE_SENT", "Plis numériques envoyés"); -} -if (!defined("_NUMERIC_PACKAGE")) { - define("_NUMERIC_PACKAGE", "Pli numérique"); -} -if (!defined("_NO_COMMUNICATION_MODE")) { - define("_NO_COMMUNICATION_MODE", "Aucun moyen de communication"); -} -if (!defined("_NOTHING")) { - define("_NOTHING", "Aucun"); -} -if (!defined("_CREATE_EMAIL")) { - define("_CREATE_EMAIL", "Créer"); -} -if (!defined("_EMAIL_ADDED")) { - define("_EMAIL_ADDED", "Courriel ajouté"); -} - -//SEND -if (!defined("_SEND_EMAIL")) { - define("_SEND_EMAIL", "Envoyer"); -} -if (!defined("_RESEND_EMAIL")) { - define("_RESEND_EMAIL", "Renvoyer"); -} - -//SAVE -if (!defined("_SAVE_EMAIL")) { - define("_SAVE_EMAIL", "Enregistrer"); -} - -//READ -if (!defined("_READ_EMAIL")) { - define("_READ_EMAIL", "Afficher le courriel"); -} - -//TRANSFER -if (!defined("_TRANSFER_EMAIL")) { - define("_TRANSFER_EMAIL", "Transférer le courriel"); -} - -//EDIT -if (!defined("_EDIT_EMAIL")) { - define("_EDIT_EMAIL", "Modifier le courriel"); -} -if (!defined("_SAVE_EMAIL")) { - define("_SAVE_EMAIL", "Enregistrer"); -} -if (!defined("_SAVE_COPY_EMAIL")) { - define("_SAVE_COPY_EMAIL", "Enregistrer une copie"); -} -if (!defined("_EMAIL_UPDATED")) { - define("_EMAIL_UPDATED", "Email modifié"); -} - -//REMOVE -if (!defined("_REMOVE_EMAIL")) { - define("_REMOVE_EMAIL", "Supprimer"); -} -if (!defined("_REMOVE_EMAILS")) { - define("_REMOVE_EMAILS", "Supprimer les courriels"); -} -if (!defined("_REALLY_REMOVE_EMAIL")) { - define("_REALLY_REMOVE_EMAIL", "Voulez-vous supprimez le message"); -} -if (!defined("_EMAIL_REMOVED")) { - define("_EMAIL_REMOVED", "Courriel supprimé"); -} - - -if (!defined("_Label_ADD_TEMPLATE_MAIL")) { - define("_Label_ADD_TEMPLATE_MAIL", "Modèle d'accompagnement : "); -} -if (!defined("_ADD_TEMPLATE_MAIL")) { - define("_ADD_TEMPLATE_MAIL", "Sélectionnez le modèle désiré"); -} - -if (!defined("_EMAIL_OBJECT_ANSWER")) { - define("_EMAIL_OBJECT_ANSWER", "Réponse à votre courrier du"); -} -if (!defined("_INCORRECT_SENDER")) { - define("_INCORRECT_SENDER", "Expéditeur inccorect"); -} -if (!defined("_OPERATION_DATE")) { - define("_OPERATION_DATE", "Date de prise en charge"); -} -if (!defined("_RECEPTION_DATE")) { - define("_RECEPTION_DATE", "Date de réception"); -} - -if (!defined("_SENDS_FAIL")) { - define("_SENDS_FAIL", "L'envoi a échoué"); -} -if (!defined("_WRONG_FILE_TYPE_M2M")) { - define("_WRONG_FILE_TYPE_M2M", "Seuls les fichiers ZIP sont acceptés"); -} -if (!defined("_ERROR_RECEIVE_FAIL")) { - define("_ERROR_RECEIVE_FAIL", "Erreur lors de l'envoi du zip."); -} - -if (!defined("_ERROR_CONTACT_UNKNOW")) { - define("_ERROR_CONTACT_UNKNOW", "Contact inconnu."); -} -if (!defined("_NO_RECIPIENT")) { - define("_NO_RECIPIENT", "Aucun destinataire"); -} -if (!defined("_NO_SENDER")) { - define("_NO_SENDER", "Aucun expéditeur"); -} -if (!defined("_SIMPLE_DOWNLOAD")) { - define("_SIMPLE_DOWNLOAD", "Télécharger"); -} -if (!defined("_MORE_INFORMATIONS")) { - define("_MORE_INFORMATIONS", "Informations sur le transfert"); -} -if (!defined("_REPLY_RESPONSE_SENT")) { - define("_REPLY_RESPONSE_SENT", "Accusé de prise en charge envoyé le"); -} -if (!defined("_M2M_ARCHIVETRANSFER")) { - define("_M2M_ARCHIVETRANSFER", "Pli numérique"); -} -if (!defined("_M2M_ARCHIVETRANSFERREPLY")) { - define("_M2M_ARCHIVETRANSFERREPLY", "Réponse envoyée"); -} -if (!defined("_M2M_ACTION_DONE")) { - define("_M2M_ACTION_DONE", "actionné par"); -} -if (!defined("_M2M_ENTITY_DESTINATION")) { - define("_M2M_ENTITY_DESTINATION", "Le courrier est dans l'entité"); -} -if (!defined("_M2M_FOLLOWUP_REQUEST")) { - define("_M2M_FOLLOWUP_REQUEST", "Suivi de la demande"); -} diff --git a/modules/sendmail/lang/nl.php b/modules/sendmail/lang/nl.php deleted file mode 100755 index 72113bbd611..00000000000 --- a/modules/sendmail/lang/nl.php +++ /dev/null @@ -1,217 +0,0 @@ -<?php -/** - * Copyright Maarch since 2008 under licence GPLv3. - * See LICENCE.txt file at the root folder for more details. - * This file is part of Maarch software. - */ - -if (!defined('_SENDMAIL')) { - define('_SENDMAIL', 'E-mails verzenden'); -} -if (!defined('_SENDMAIL_COMMENT')) { - define('_SENDMAIL_COMMENT', 'E-mails verzenden'); -} -if (!defined('_EMAIL_LIST')) { - define('_EMAIL_LIST', 'E-mails'); -} -if (!defined('_EMAIL_LIST_DESC')) { - define('_EMAIL_LIST_DESC', 'E-maillijst'); -} -if (!defined('_SENDED_EMAILS')) { - define('_SENDED_EMAILS', 'Verzonden elementen'); -} -if (!defined('_EMAIL_DRAFT')) { - define('_EMAIL_DRAFT', 'Klad'); -} -if (!defined('_EMAIL_WAIT')) { - define('_EMAIL_WAIT', 'In afwachting van verzending'); -} -if (!defined('_EMAIL_IN_PROGRESS')) { - define('_EMAIL_IN_PROGRESS', 'Wordt verzonden'); -} -if (!defined('_EMAIL_SENT')) { - define('_EMAIL_SENT', 'Verzonden'); -} -if (!defined('_EMAIL_ERROR')) { - define('_EMAIL_ERROR', 'Fout tijdens de verzending'); -} -if (!defined('_FROM')) { - define('_FROM', 'Afzender'); -} -if (!defined('_FROM_SHORT')) { - define('_FROM_SHORT', 'van'); -} -if (!defined('_SEND_TO')) { - define('_SEND_TO', 'Ontvanger'); -} -if (!defined('_SEND_TO_SHORT')) { - define('_SEND_TO_SHORT', 'naar'); -} -if (!defined('_COPY_TO')) { - define('_COPY_TO', 'In kopie'); -} -if (!defined('_COPY_TO_SHORT')) { - define('_COPY_TO_SHORT', 'Cc'); -} -if (!defined('_COPY_TO_INVISIBLE')) { - define('_COPY_TO_INVISIBLE', 'In onzichtbare kopie'); -} -if (!defined('_COPY_TO_INVISIBLE_SHORT')) { - define('_COPY_TO_INVISIBLE_SHORT', 'Cci'); -} -if (!defined('_JOINED_FILES')) { - define('_JOINED_FILES', 'Bijgevoegde bestanden'); -} -if (!defined('_SHOW_OTHER_COPY_FIELDS')) { - define('_SHOW_OTHER_COPY_FIELDS', 'De velden CC en Cci weergeven/verbergen'); -} -if (!defined('_EMAIL_OBJECT')) { - define('_EMAIL_OBJECT', 'Onderwerp'); -} -if (!defined('_HTML_OR_RAW')) { - define('_HTML_OR_RAW', 'Geavanceerde lay-out /Onbewerkte tekst'); -} -if (!defined('_DEFAULT_BODY')) { - define('_DEFAULT_BODY', 'Uw boodschap is klaar voor verzending met de volgende bijgevoegde bestanden:'); -} -if (!defined('_NOTES_FILE')) { - define('_NOTES_FILE', 'Aantekeningen van het brief'); -} -if (!defined('_EMAIL_WRONG_FORMAT')) { - define('_EMAIL_WRONG_FORMAT', 'Het e-mailadres heeft het verkeerde formaat'); -} -if (!defined('_EMAIL_NOT_EXIST')) { - define('_EMAIL_NOT_EXIST', 'Deze e-mail bestaat niet'); -} -if (!defined('_NEW_EMAIL')) { - define('_NEW_EMAIL', 'Nieuw bericht'); -} -if (!defined('_NEW_NUMERIC_PACKAGE')) { - define('_NEW_NUMERIC_PACKAGE', 'Nieuwe digitale brief'); -} -if (!defined('_NUMERIC_PACKAGE_ADDED')) { - define('_NUMERIC_PACKAGE_ADDED', 'Digitale brief toegevoegd'); -} -if (!defined('_NUMERIC_PACKAGE_IMPORTED')) { - define('_NUMERIC_PACKAGE_IMPORTED', 'Digitale brief geïmporteerd'); -} -if (!defined('_NUMERIC_PACKAGE_SENT')) { - define('_NUMERIC_PACKAGE_SENT', 'Digitale brieven verzonden'); -} -if (!defined('_NUMERIC_PACKAGE')) { - define('_NUMERIC_PACKAGE', 'Digitale brief'); -} -if (!defined('_NO_COMMUNICATION_MODE')) { - define('_NO_COMMUNICATION_MODE', 'Geen communicatiemiddel'); -} -if (!defined('_NOTHING')) { - define('_NOTHING', 'Geen'); -} -if (!defined('_CREATE_EMAIL')) { - define('_CREATE_EMAIL', 'Aanmaken'); -} -if (!defined('_EMAIL_ADDED')) { - define('_EMAIL_ADDED', 'E-mail toegevoegd'); -} -if (!defined('_SEND_EMAIL')) { - define('_SEND_EMAIL', 'Verzenden'); -} -if (!defined('_RESEND_EMAIL')) { - define('_RESEND_EMAIL', 'Terugsturen'); -} -if (!defined('_SAVE_EMAIL')) { - define('_SAVE_EMAIL', 'Bewaren'); -} -if (!defined('_READ_EMAIL')) { - define('_READ_EMAIL', 'E-mail weergeven'); -} -if (!defined('_TRANSFER_EMAIL')) { - define('_TRANSFER_EMAIL', 'E-mail doorzenden'); -} -if (!defined('_EDIT_EMAIL')) { - define('_EDIT_EMAIL', 'E-mail wijzigen'); -} -if (!defined('_SAVE_EMAIL')) { - define('_SAVE_EMAIL', 'Bewaren'); -} -if (!defined('_SAVE_COPY_EMAIL')) { - define('_SAVE_COPY_EMAIL', 'Een kopie bewaren'); -} -if (!defined('_EMAIL_UPDATED')) { - define('_EMAIL_UPDATED', 'E-mail gewijzigd'); -} -if (!defined('_REMOVE_EMAIL')) { - define('_REMOVE_EMAIL', 'Verwijderen'); -} -if (!defined('_REMOVE_EMAILS')) { - define('_REMOVE_EMAILS', 'De e-mails verwijderen'); -} -if (!defined('_REALLY_REMOVE_EMAIL')) { - define('_REALLY_REMOVE_EMAIL', 'Wilt u het bericht verwijderen'); -} -if (!defined('_EMAIL_REMOVED')) { - define('_EMAIL_REMOVED', 'E-mail verwijderd'); -} -if (!defined('_Label_ADD_TEMPLATE_MAIL')) { - define('_Label_ADD_TEMPLATE_MAIL', 'Begeleidingsmodel:'); -} -if (!defined('_ADD_TEMPLATE_MAIL')) { - define('_ADD_TEMPLATE_MAIL', 'Selecteer het gewenste model'); -} -if (!defined('_EMAIL_OBJECT_ANSWER')) { - define('_EMAIL_OBJECT_ANSWER', 'Antwoord op uw brief van'); -} -if (!defined('_INCORRECT_SENDER')) { - define('_INCORRECT_SENDER', 'Foute verzender'); -} -if (!defined('_OPERATION_DATE')) { - define('_OPERATION_DATE', 'Datum van behandeling'); -} -if (!defined('_RECEPTION_DATE')) { - define('_RECEPTION_DATE', 'Ontvangstdatum'); -} -if (!defined('_SENDS_FAIL')) { - define('_SENDS_FAIL', 'De verzending is mislukt'); -} -if (!defined('_WRONG_FILE_TYPE_M2M')) { - define('_WRONG_FILE_TYPE_M2M', 'Enkel ZIP-bestanden worden aanvaard'); -} -if (!defined('_ERROR_RECEIVE_FAIL')) { - define('_ERROR_RECEIVE_FAIL', 'Fout tijdens de verzending van de zip.'); -} -if (!defined('_ERROR_CONTACT_UNKNOW')) { - define('_ERROR_CONTACT_UNKNOW', 'Contact onbekend.'); -} -if (!defined('_NO_RECIPIENT')) { - define('_NO_RECIPIENT', 'Geen ontvanger'); -} -if (!defined('_NO_SENDER')) { - define('_NO_SENDER', 'Geen verzender'); -} -if (!defined('_SIMPLE_DOWNLOAD')) { - define('_SIMPLE_DOWNLOAD', 'Downloaden'); -} -if (!defined('_MORE_INFORMATIONS')) { - define('_MORE_INFORMATIONS', 'Informatie over de transfer'); -} -if (!defined('_REPLY_RESPONSE_SENT')) { - define('_REPLY_RESPONSE_SENT', 'Behandelingsbewijs verzonden op'); -} -if (!defined('_M2M_ARCHIVETRANSFER')) { - define('_M2M_ARCHIVETRANSFER', 'Digitale brief'); -} -if (!defined('_M2M_ARCHIVETRANSFERREPLY')) { - define('_M2M_ARCHIVETRANSFERREPLY', 'Antwoord verzonden'); -} -if (!defined('_M2M_ACTION_DONE')) { - define('_M2M_ACTION_DONE', 'in werking gesteld door'); -} -if (!defined('_M2M_ENTITY_DESTINATION')) { - define('_M2M_ENTITY_DESTINATION', 'De brief is in de dienst'); -} -if (!defined('_M2M_FOLLOWUP_REQUEST')) { - define('_M2M_FOLLOWUP_REQUEST', 'Opvolging van de vraag'); -} -if (!defined('_M2M_ENTITY_DESTINATION')) { - define('_M2M_ENTITY_DESTINATION', 'De brief is in de eenheid'); -} diff --git a/modules/sendmail/xml/IVS/data_types.xml b/modules/sendmail/xml/IVS/data_types.xml deleted file mode 100755 index 710b3b56651..00000000000 --- a/modules/sendmail/xml/IVS/data_types.xml +++ /dev/null @@ -1,3 +0,0 @@ -<dataTypes> - -</dataTypes> \ No newline at end of file diff --git a/modules/sendmail/xml/IVS/requests_definitions.xml b/modules/sendmail/xml/IVS/requests_definitions.xml deleted file mode 100755 index eb83ffbbf81..00000000000 --- a/modules/sendmail/xml/IVS/requests_definitions.xml +++ /dev/null @@ -1,26 +0,0 @@ -<requestDefinitions> - <requestDefinition method="POST" path="/apps/maarch_entreprise/index.php" validationRule="mail_form" > - <parameter name="page" value="mail_form"/> - <parameter name="module" value="sendmail"/> - <parameter name="display" value="true" /> - </requestDefinition> - <requestDefinition method="GET" path="/apps/maarch_entreprise/index.php" validationRule="mail_form" > - <parameter name="page" value="mail_form"/> - <parameter name="module" value="sendmail"/> - <parameter name="display" value="true" /> - </requestDefinition> - <requestDefinition method="GET" path="/apps/maarch_entreprise/index.php" validationRule="sendmail" > - <parameter name="page" value="sendmail"/> - <parameter name="module" value="sendmail"/> - <parameter name="display" value="true" /> - </requestDefinition> - <requestDefinition method="POST" path="/apps/maarch_entreprise/index.php" validationRule="sendmail" > - <parameter name="page" value="sendmail"/> - <parameter name="module" value="sendmail"/> - <parameter name="display" value="true" /> - </requestDefinition> -</requestDefinitions> - - - - diff --git a/modules/sendmail/xml/IVS/validation_rules.xml b/modules/sendmail/xml/IVS/validation_rules.xml deleted file mode 100755 index 5f0ad04b520..00000000000 --- a/modules/sendmail/xml/IVS/validation_rules.xml +++ /dev/null @@ -1,25 +0,0 @@ -<validationRules> - <validationRule name="mail_form" extends="standardForm" mode="error"> - <parameter name="module" type="identifier" /> - <parameter name="identifier" type="integer" /> - <parameter name="origin" type="identifier" /> - <parameter name="coll_id" type="collection_list" /> - <parameter name="id" type="base64" /> - <parameter name="size" type="size" /> - <parameter name="formContent" type="string" /> - </validationRule> - - <validationRule name="sendmail" extends="standardForm" mode="error"> - <parameter name="module" type="identifier" /> - <parameter name="coll_id" type="collection_list" /> - <parameter name="identifier" type="integer" /> - <parameter name="origin" type="identifier" /> - <parameter name="size" type="size" /> - <parameter name="url" type="url" /> - </validationRule> - - <validationRule name="adress_autocomletion" extends="standardForm" mode="error"> - - </validationRule> - -</validationRules> diff --git a/modules/sendmail/xml/config.xml b/modules/sendmail/xml/config.xml deleted file mode 100755 index 5644164b8a6..00000000000 --- a/modules/sendmail/xml/config.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<ROOT> - <CONFIG> - <name>sendmail</name> - <comment>_SENDMAIL</comment> - <file_prefix>sm</file_prefix> - <loaded>true</loaded> - </CONFIG> - <HISTORY> - <mailadd>true</mailadd> - <mailup>true</mailup> - <maildel>true</maildel> - </HISTORY> -</ROOT> diff --git a/modules/sendmail/xml/menu.xml b/modules/sendmail/xml/menu.xml deleted file mode 100755 index 3fd11907b2d..00000000000 --- a/modules/sendmail/xml/menu.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<ROOT> - <MENU> - <id>manage_numeric_package</id> - <libconst>_SAVE_NUMERIC_PACKAGE</libconst> - <url>/saveNumericPackage</url> - <style>fa fa-file-archive</style> - <angular>true</angular> - </MENU> -</ROOT> diff --git a/modules/templates/class/class_modules_tools.php b/modules/templates/class/class_modules_tools.php deleted file mode 100755 index ff1331ddc7d..00000000000 --- a/modules/templates/class/class_modules_tools.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php - -/* -* Copyright 2008-2016 Maarch -* -* This file is part of Maarch Framework. -* -* Maarch Framework is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* Maarch Framework is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. -*/ - -/** -* modules tools Class for templates -* -* Contains all the functions to load modules tables for template -* -* @package maarch -* @version 3.0 -* @since 10/2005 -* @license GPL v3 -* @author Claire Figueras <dev@maarch.org> -* -*/ - -require_once 'modules/templates/class/class_modules_tools_Abstract.php'; - -class templates extends templates_Abstract -{ - // custom -} diff --git a/modules/templates/class/class_modules_tools_Abstract.php b/modules/templates/class/class_modules_tools_Abstract.php deleted file mode 100755 index 63bc1dd3d14..00000000000 --- a/modules/templates/class/class_modules_tools_Abstract.php +++ /dev/null @@ -1,82 +0,0 @@ -<?php - -/* -* Copyright 2008-2016 Maarch -* -* This file is part of Maarch Framework. -* -* Maarch Framework is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* Maarch Framework is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. -*/ - -/** -* modules tools Class for templates -* -* Contains all the functions to load modules tables for template -* -* @package maarch -* @version 3.0 -* @since 10/2005 -* @license GPL v3 -* @author Claire Figueras <dev@maarch.org> -* -*/ - -abstract class templates_Abstract extends Database -{ - public function __construct() - { - parent::__construct(); - } - - /** - * Build Maarch module tables into sessions vars with a xml configuration file - */ - public function build_modules_tables() - { - if (file_exists($_SESSION['config']['corepath'].'custom'.DIRECTORY_SEPARATOR.$_SESSION['custom_override_id'].DIRECTORY_SEPARATOR."modules".DIRECTORY_SEPARATOR."templates".DIRECTORY_SEPARATOR."xml".DIRECTORY_SEPARATOR."config.xml")) { - $path_config = $_SESSION['config']['corepath'].'custom'.DIRECTORY_SEPARATOR.$_SESSION['custom_override_id'].DIRECTORY_SEPARATOR."modules".DIRECTORY_SEPARATOR."templates".DIRECTORY_SEPARATOR."xml".DIRECTORY_SEPARATOR."config.xml"; - } else { - $path_config = "modules".DIRECTORY_SEPARATOR."templates".DIRECTORY_SEPARATOR."xml".DIRECTORY_SEPARATOR."config.xml"; - } - $xmlconfig = simplexml_load_file($path_config); - foreach ($xmlconfig->TABLENAME as $TABLENAME) { - $_SESSION['tablename']['temp_templates'] = (string) $TABLENAME->temp_templates; - $_SESSION['tablename']['temp_templates_association'] = (string) $TABLENAME->temp_templates_association; - } - $HISTORY = $xmlconfig->HISTORY; - $_SESSION['history']['templateadd'] = (string) $HISTORY->templateadd; - $_SESSION['history']['templateup'] = (string) $HISTORY->templateup; - $_SESSION['history']['templatedel'] = (string) $HISTORY->templatedel; - } - - - public function getAllTemplates() - { - $db = new Database(); - $return = array(); - - $stmt = $db->query("select * from ".$_SESSION['tablename']['temp_templates']); - - while ($result = $stmt->fetchObject()) { - $this_template = array(); - $this_template['id'] = $result->id; - $this_template['label'] = $result->label; - $this_template['template_comment'] = $result->template_comment; - - array_push($return, $this_template); - } - - return $return; - } -} diff --git a/modules/templates/class/templates.php b/modules/templates/class/templates.php deleted file mode 100755 index adbc6795dab..00000000000 --- a/modules/templates/class/templates.php +++ /dev/null @@ -1,43 +0,0 @@ -<?php - -/* -* Copyright 2008-2016 Maarch -* -* This file is part of Maarch Framework. -* -* Maarch Framework is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* Maarch Framework is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. -*/ - -/** -* @brief Contains the templates Object (herits of the BaseObject class) -* -* -* @file -* @author Laurent Giovannoni <dev@maarch.org> -* @date $date$ -* @version $Revision$ -* @ingroup templates -*/ - -require_once 'modules/templates/class/templates_Abstract.php'; - -/** -* @brief templates Object, herits of the BaseObject class -* -* @ingroup templates -*/ -class templates extends templates_Abstract -{ - // custom -} diff --git a/modules/templates/class/templates_Abstract.php b/modules/templates/class/templates_Abstract.php deleted file mode 100755 index 3d47763de26..00000000000 --- a/modules/templates/class/templates_Abstract.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php - -/* -* Copyright 2008-2016 Maarch -* -* This file is part of Maarch Framework. -* -* Maarch Framework is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* Maarch Framework is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. -*/ - -/** -* @brief Contains the templates Object (herits of the BaseObject class) -* -* -* @file -* @author Laurent Giovannoni <dev@maarch.org> -* @date $date$ -* @version $Revision$ -* @ingroup templates -*/ - -// Loads the required class -try { - require_once("core/class/BaseObject.php"); -} catch (Exception $e){ - functions::xecho($e->getMessage()).' // '; -} - -/** -* @brief templates Object, herits of the BaseObject class -* -* @ingroup templates -*/ -abstract class templates_Abstract extends BaseObject -{ - /** - *Print a viewable string to render the object. - * @return string Rendering of the object - */ - public function __toString() - { - return $this->label; - } -} diff --git a/modules/templates/lang/en.php b/modules/templates/lang/en.php deleted file mode 100755 index fce4f91840c..00000000000 --- a/modules/templates/lang/en.php +++ /dev/null @@ -1,207 +0,0 @@ -<?php -/** -* Copyright Maarch since 2008 under licence GPLv3. -* See LICENCE.txt file at the root folder for more details. -* This file is part of Maarch software. - -* -* @brief en -* -* @author dev <dev@maarch.org> -* @ingroup templates -*/ - -/*********************** Module Board ***********************************/ -if (!defined('_ADMIN_TEMPLATE_ANSWER')) { - define('_ADMIN_TEMPLATE_ANSWER', 'Manage the templates'); -} - -/*********************** Menu ***********************************/ -if (!defined('_EXPLOIT_TEMPLATE_ANSWER')) { - define('_EXPLOIT_TEMPLATE_ANSWER', 'Exploit the templates'); -} -if (!defined('_TEMPLATE_NAME')) { - define('_TEMPLATE_NAME', 'Template name'); -} -if (!defined('_TEMPLATES_COMMENT')) { - define('_TEMPLATES_COMMENT', 'Document templates'); -} -if (!defined('_TEMPLATE_EMPTY')) { - define('_TEMPLATE_EMPTY', 'The template is empty'); -} -if (!defined('_TEMPLATE_LABEL')) { - define('_TEMPLATE_LABEL', 'Template name'); -} -if (!defined('_TEMPLATE_COMMENT')) { - define('_TEMPLATE_COMMENT', 'Description'); -} -if (!defined('_TEMPLATE_TYPE')) { - define('_TEMPLATE_TYPE', 'Kind of template'); -} -if (!defined('_TEMPLATE_STYLE')) { - define('_TEMPLATE_STYLE', 'Template nature'); -} -if (!defined('_EDIT_TEMPLATE')) { - define('_EDIT_TEMPLATE', 'Template edition'); -} -if (!defined('_TEMPLATE_ID')) { - define('_TEMPLATE_ID', 'Template ID'); -} -if (!defined('_ATTACH_TEMPLATE_TO_ENTITY')) { - define('_ATTACH_TEMPLATE_TO_ENTITY', 'The template has to be attached to one department at least'); -} -if (!defined('_TEMPLATE_DATASOURCE')) { - define('_TEMPLATE_DATASOURCE', 'Data source'); -} -if (!defined('_OFFICE')) { - define('_OFFICE', 'Office'); -} -if (!defined('_HTML')) { - define('_HTML', 'HTML'); -} -if (!defined('_MANAGE_TEMPLATES')) { - define('_MANAGE_TEMPLATES', 'Manage mail templates'); -} -if (!defined('_MANAGE_TEMPLATES_APP')) { - define('_MANAGE_TEMPLATES_APP', 'Manage mail templates from the application'); -} - -/************** Models : Lists & forms **************/ -if (!defined('_TEMPLATES_LIST')) { - define('_TEMPLATES_LIST', 'Templates list'); -} -if (!defined('_ALL_TEMPLATES')) { - define('_ALL_TEMPLATES', 'All the templates'); -} -if (!defined('_TEMPLATE')) { - define('_TEMPLATE', 'Template'); -} -if (!defined('_ADD_TEMPLATE')) { - define('_ADD_TEMPLATE', 'Add a template'); -} -if (!defined('_THE_TEMPLATE')) { - define('_THE_TEMPLATE', 'The template'); -} -if (!defined('_TEMPLATE_ADDITION')) { - define('_TEMPLATE_ADDITION', 'Template addition'); -} -if (!defined('_TEMPLATE_MODIFICATION')) { - define('_TEMPLATE_MODIFICATION', 'Template modification'); -} -if (!defined('_TEMPLATE_DELETION')) { - define('_TEMPLATE_DELETION', 'Template deletion'); -} -if (!defined('_MODIFY_TEMPLATE')) { - define('_MODIFY_TEMPLATE', 'Validate the changes'); -} -if (!defined('_TEMPLATE_ADDED')) { - define('_TEMPLATE_ADDED', 'New template created'); -} -if (!defined('_TEMPLATE_UPDATED')) { - define('_TEMPLATE_UPDATED', 'Modified template'); -} -if (!defined('_CHOOSE_ENTITY_TEMPLATE')) { - define('_CHOOSE_ENTITY_TEMPLATE', 'Choose the department(s) that you want to associate to this template'); -} -if (!defined('_REALLY_DEL_TEMPLATE')) { - define('_REALLY_DEL_TEMPLATE', 'Do you really want to delete this template ?'); -} -if (!defined('_NEW_TEMPLATE')) { - define('_NEW_TEMPLATE', 'New template'); -} -if (!defined('_CHOOSE_TEMPLATE')) { - define('_CHOOSE_TEMPLATE', 'Choose a template'); -} -if (!defined('_TEMPLATE_DELETED')) { - define('_TEMPLATE_DELETED', 'Deleted template'); -} -if (!defined('_DELETED_TEMPLATE')) { - define('_DELETED_TEMPLATE', 'Deleted template'); -} -if (!defined('_ASSOCIATED_TEMPLATES')) { - define('_ASSOCIATED_TEMPLATES', 'Associated templates'); -} -if (!defined('_NO_DEFINED_TEMPLATE')) { - define('_NO_DEFINED_TEMPLATE', 'No defined template'); -} -if (!defined('_EDIT_YOUR_TEMPLATE')) { - define('_EDIT_YOUR_TEMPLATE', 'please edit the template once at least'); -} -if (!defined('_TEMPLATE_NAME2')) { - define('_TEMPLATE_NAME2', 'Template name '); -} -if (!defined('_TEMPLATE_CONTENT')) { - define('_TEMPLATE_CONTENT', 'Template content '); -} -if (!defined('_TEMPLATES')) { - define('_TEMPLATES', 'Template(s)'); -} -if (!defined('_ADMIN_TEMPLATES')) { - define('_ADMIN_TEMPLATES', 'Document templates'); -} -if (!defined('_LOADED_FILE')) { - define('_LOADED_FILE', 'Uploaded file'); -} -if (!defined('_GENERATED_FILE')) { - define('_GENERATED_FILE', 'Generated file'); -} -if (!defined('_MUST_CHOOSE_TEMPLATE')) { - define('_MUST_CHOOSE_TEMPLATE', 'You have too choose a template'); -} -if (!defined('_GENERATE')) { - define('_GENERATE', 'Generate an attachment'); -} -if (!defined('_PLEASE_SELECT_TEMPLATE')) { - define('_PLEASE_SELECT_TEMPLATE', 'Please select an attachment template'); -} -if (!defined('_NO_MODE_DEFINED')) { - define('_NO_MODE_DEFINED', 'Error : absent mode'); -} -if (!defined('_TEMPLATE_OR_ANSWER_ERROR')) { - define('_TEMPLATE_OR_ANSWER_ERROR', 'Error : issue on template or answer loading'); -} -if (!defined('_NO_CONTENT')) { - define('_NO_CONTENT', 'Error : Response content is empty'); -} -if (!defined('_FILE_OPEN_ERROR')) { - define('_FILE_OPEN_ERROR', 'Impossible file opening'); -} -if (!defined('_ANSWER_OPEN_ERROR')) { - define('_ANSWER_OPEN_ERROR', 'Error : problem at the response opening'); -} -if (!defined('_TEMPLATE_UPDATE')) { - define('_TEMPLATE_UPDATE', 'Updated template'); -} -if (!defined('_ANSWER_UPDATED')) { - define('_ANSWER_UPDATED', 'Updated attachment'); -} -if (!defined('_ANSWER_TITLE')) { - define('_ANSWER_TITLE', 'Attachment title'); -} -if (!defined('_VALID_TEXT')) { - define('_VALID_TEXT', 'Validate text'); -} - -if (!defined('_NO_DATASOURCE')) { - define('_NO_DATASOURCE', 'No data source'); -} - -if (!defined('_ALREADY_RESERVED')) { - define('_ALREADY_RESERVED', 'Document on modification'); -} - -if (!defined('_TXT')) { - define('_TXT', 'TXT'); -} - -if (!defined('_TEMPLATE_TARGET')) { - define('_TEMPLATE_TARGET', 'Template target'); -} - -if (!defined('_NO_TARGET')) { - define('_NO_TARGET', 'No target'); -} - -if (!defined('_EXTENSION_NOT_ALLOWED')) { - define('_EXTENSION_NOT_ALLOWED', 'Extension not allowed'); -} diff --git a/modules/templates/lang/fr.php b/modules/templates/lang/fr.php deleted file mode 100755 index 7b12c90d1fb..00000000000 --- a/modules/templates/lang/fr.php +++ /dev/null @@ -1,206 +0,0 @@ -<?php -/** -* Copyright Maarch since 2008 under licence GPLv3. -* See LICENCE.txt file at the root folder for more details. -* This file is part of Maarch software. - -* -* @brief fr -* -* @author dev <dev@maarch.org> -* @ingroup templates -*/ - -/*********************** Module Board ***********************************/ -if (!defined('_ADMIN_TEMPLATE_ANSWER')) { - define('_ADMIN_TEMPLATE_ANSWER', 'Administrer les modèles'); -} -/*********************** Menu ***********************************/ -if (!defined('_EXPLOIT_TEMPLATE_ANSWER')) { - define('_EXPLOIT_TEMPLATE_ANSWER', 'Exploiter les modèles'); -} -if (!defined('_TEMPLATE_NAME')) { - define('_TEMPLATE_NAME', 'Nom du modèle'); -} -if (!defined('_TEMPLATES_COMMENT')) { - define('_TEMPLATES_COMMENT', 'Modèles de document'); -} -if (!defined('_TEMPLATE_EMPTY')) { - define('_TEMPLATE_EMPTY', 'Le modèle est vide'); -} -if (!defined('_TEMPLATE_LABEL')) { - define('_TEMPLATE_LABEL', 'Nom du modèle'); -} -if (!defined('_TEMPLATE_COMMENT')) { - define('_TEMPLATE_COMMENT', 'Description'); -} -if (!defined('_TEMPLATE_TYPE')) { - define('_TEMPLATE_TYPE', 'Type de modèle'); -} -if (!defined('_TEMPLATE_STYLE')) { - define('_TEMPLATE_STYLE', 'Nature du modèle'); -} -if (!defined('_EDIT_TEMPLATE')) { - define('_EDIT_TEMPLATE', 'Edition du modèle'); -} -if (!defined('_TEMPLATE_ID')) { - define('_TEMPLATE_ID', 'ID du modèle'); -} -if (!defined('_ATTACH_TEMPLATE_TO_ENTITY')) { - define('_ATTACH_TEMPLATE_TO_ENTITY', 'Le modèle doit être rattaché à au moins une entité'); -} -if (!defined('_TEMPLATE_DATASOURCE')) { - define('_TEMPLATE_DATASOURCE', 'Source de données'); -} -if (!defined('_OFFICE')) { - define('_OFFICE', 'Office'); -} -if (!defined('_HTML')) { - define('_HTML', 'HTML'); -} -if (!defined('_MANAGE_TEMPLATES')) { - define('_MANAGE_TEMPLATES', 'Gérer les modèles de courrier'); -} -if (!defined('_MANAGE_TEMPLATES_APP')) { - define('_MANAGE_TEMPLATES_APP', "Gérer les modèles de courrier de l'application"); -} - -/************** Models : Liste + Formulaire**************/ -if (!defined('_TEMPLATES_LIST')) { - define('_TEMPLATES_LIST', 'Liste des modèles'); -} -if (!defined('_ALL_TEMPLATES')) { - define('_ALL_TEMPLATES', 'Tous les modèles'); -} -if (!defined('_TEMPLATE')) { - define('_TEMPLATE', 'Modèle'); -} -if (!defined('_ADD_TEMPLATE')) { - define('_ADD_TEMPLATE', 'Ajouter un modèle'); -} -if (!defined('_THE_TEMPLATE')) { - define('_THE_TEMPLATE', 'Le modèle '); -} -if (!defined('_TEMPLATE_ADDITION')) { - define('_TEMPLATE_ADDITION', "Ajout d'un modèle"); -} -if (!defined('_TEMPLATE_MODIFICATION')) { - define('_TEMPLATE_MODIFICATION', "Modification d'un modèle"); -} -if (!defined('_TEMPLATE_DELETION')) { - define('_TEMPLATE_DELETION', "Suppression d'un modèle"); -} -if (!defined('_MODIFY_TEMPLATE')) { - define('_MODIFY_TEMPLATE', 'Valider les changements'); -} -if (!defined('_TEMPLATE_ADDED')) { - define('_TEMPLATE_ADDED', 'Nouveau modèle créé'); -} -if (!defined('_TEMPLATE_UPDATED')) { - define('_TEMPLATE_UPDATED', 'Modèle modifié'); -} -if (!defined('_CHOOSE_ENTITY_TEMPLATE')) { - define('_CHOOSE_ENTITY_TEMPLATE', 'Choisissez le(s) entité(s) au(x)quelle(s) vous souhaitez associer ce modèle'); -} -if (!defined('_REALLY_DEL_TEMPLATE')) { - define('_REALLY_DEL_TEMPLATE', 'Voulez vous vraiment supprimer ce modèle ?'); -} -if (!defined('_NEW_TEMPLATE')) { - define('_NEW_TEMPLATE', 'Nouveau modèle'); -} -if (!defined('_CHOOSE_TEMPLATE')) { - define('_CHOOSE_TEMPLATE', 'Choisissez un modèle'); -} -if (!defined('_TEMPLATE_DELETED')) { - define('_TEMPLATE_DELETED', 'Modèle supprimé'); -} -if (!defined('_DELETED_TEMPLATE')) { - define('_DELETED_TEMPLATE', 'Modèle supprimé'); -} -if (!defined('_ASSOCIATED_TEMPLATES')) { - define('_ASSOCIATED_TEMPLATES', 'Modèles associés'); -} -if (!defined('_NO_DEFINED_TEMPLATE')) { - define('_NO_DEFINED_TEMPLATE', 'Pas de modèle défini'); -} -if (!defined('_EDIT_YOUR_TEMPLATE')) { - define('_EDIT_YOUR_TEMPLATE', 'Veuillez éditer au moins une fois le modèle'); -} -if (!defined('_TEMPLATE_NAME2')) { - define('_TEMPLATE_NAME2', 'Le nom du modèle '); -} -if (!defined('_TEMPLATE_CONTENT')) { - define('_TEMPLATE_CONTENT', 'Le contenu du modèle '); -} -if (!defined('_TEMPLATES')) { - define('_TEMPLATES', 'modèle(s)'); -} -if (!defined('_ADMIN_TEMPLATES')) { - define('_ADMIN_TEMPLATES', 'Modèles de document'); -} -if (!defined('_LOADED_FILE')) { - define('_LOADED_FILE', 'Fichier importé'); -} -if (!defined('_GENERATED_FILE')) { - define('_GENERATED_FILE', 'Fichier genéré'); -} -if (!defined('_MUST_CHOOSE_TEMPLATE')) { - define('_MUST_CHOOSE_TEMPLATE', 'Vous devez choisir un modèle'); -} -if (!defined('_GENERATE')) { - define('_GENERATE', 'Générer PJ'); -} -if (!defined('_PLEASE_SELECT_TEMPLATE')) { - define('_PLEASE_SELECT_TEMPLATE', 'Veuillez sélectionner un modèle de pièce jointe'); -} -if (!defined('_NO_MODE_DEFINED')) { - define('_NO_MODE_DEFINED', 'Erreur : mode absent'); -} -if (!defined('_TEMPLATE_OR_ANSWER_ERROR')) { - define('_TEMPLATE_OR_ANSWER_ERROR', 'Erreur : problème au chargement du modèle ou de la réponse'); -} -if (!defined('_NO_CONTENT')) { - define('_NO_CONTENT', 'Erreur : Contenu de la réponse vide'); -} -if (!defined('_FILE_OPEN_ERROR')) { - define('_FILE_OPEN_ERROR', 'Ouverture fichier impossible'); -} -if (!defined('_ANSWER_OPEN_ERROR')) { - define('_ANSWER_OPEN_ERROR', "Erreur : problème à l'ouverture de la réponse"); -} -if (!defined('_TEMPLATE_UPDATE')) { - define('_TEMPLATE_UPDATE', 'Modèle mis à jour'); -} -if (!defined('_ANSWER_UPDATED')) { - define('_ANSWER_UPDATED', 'Pièce jointe mise à jour'); -} -if (!defined('_ANSWER_TITLE')) { - define('_ANSWER_TITLE', 'Titre de la pièce jointe'); -} -if (!defined('_VALID_TEXT')) { - define('_VALID_TEXT', 'Valider texte'); -} - -if (!defined('_NO_DATASOURCE')) { - define('_NO_DATASOURCE', 'Aucune source de données'); -} - -if (!defined('_ALREADY_RESERVED')) { - define('_ALREADY_RESERVED', 'Document en cours de modification'); -} - -if (!defined('_TXT')) { - define('_TXT', 'TXT'); -} - -if (!defined('_TEMPLATE_TARGET')) { - define('_TEMPLATE_TARGET', 'Cible du modèle'); -} - -if (!defined('_NO_TARGET')) { - define('_NO_TARGET', 'Pas de cible'); -} - -if (!defined('_EXTENSION_NOT_ALLOWED')) { - define('_EXTENSION_NOT_ALLOWED', 'Extension non autorisée'); -} diff --git a/modules/templates/lang/nl.php b/modules/templates/lang/nl.php deleted file mode 100755 index 5e7be9929f4..00000000000 --- a/modules/templates/lang/nl.php +++ /dev/null @@ -1,203 +0,0 @@ -<?php -/** -* Copyright Maarch since 2008 under licence GPLv3. -* See LICENCE.txt file at the root folder for more details. -* This file is part of Maarch software. - -* -* @brief fr -* -* @author dev <dev@maarch.org> -* @ingroup templates -*/ - -/*********************** Module Board ***********************************/ -if (!defined('_ADMIN_TEMPLATE_ANSWER')) { - define('_ADMIN_TEMPLATE_ANSWER', 'De modellen beheren'); -} -if (!defined('_EXPLOIT_TEMPLATE_ANSWER')) { - define('_EXPLOIT_TEMPLATE_ANSWER', 'De modellen gebruiken'); -} -if (!defined('_TEMPLATE_NAME')) { - define('_TEMPLATE_NAME', 'Naam van het model'); -} -if (!defined('_TEMPLATES_COMMENT')) { - define('_TEMPLATES_COMMENT', 'Documentmodellen'); -} -if (!defined('_TEMPLATE_EMPTY')) { - define('_TEMPLATE_EMPTY', 'Het model is leeg'); -} -if (!defined('_TEMPLATE_LABEL')) { - define('_TEMPLATE_LABEL', 'Naam van het model'); -} -if (!defined('_TEMPLATE_COMMENT')) { - define('_TEMPLATE_COMMENT', 'Beschrijving'); -} -if (!defined('_TEMPLATE_TYPE')) { - define('_TEMPLATE_TYPE', 'Modeltype'); -} -if (!defined('_TEMPLATE_STYLE')) { - define('_TEMPLATE_STYLE', 'Aard van het model'); -} -if (!defined('_EDIT_TEMPLATE')) { - define('_EDIT_TEMPLATE', 'Bewerking van het model'); -} -if (!defined('_TEMPLATE_ID')) { - define('_TEMPLATE_ID', 'ID van het model'); -} -if (!defined('_ATTACH_TEMPLATE_TO_ENTITY')) { - define('_ATTACH_TEMPLATE_TO_ENTITY', 'Het model moet aan minstens één dienst gekoppeld zijn'); -} -if (!defined('_TEMPLATE_DATASOURCE')) { - define('_TEMPLATE_DATASOURCE', 'Gegevensbron'); -} -if (!defined('_OFFICE')) { - define('_OFFICE', 'KANTOOR'); -} -if (!defined('_HTML')) { - define('_HTML', 'HTML'); -} -if (!defined('_MANAGE_TEMPLATES')) { - define('_MANAGE_TEMPLATES', 'De briefmodellen beheren'); -} -if (!defined('_MANAGE_TEMPLATES_APP')) { - define('_MANAGE_TEMPLATES_APP', 'De briefmodellen van de applicatie beheren'); -} -if (!defined('_TEMPLATES_LIST')) { - define('_TEMPLATES_LIST', 'Lijst van de modellen'); -} -if (!defined('_ALL_TEMPLATES')) { - define('_ALL_TEMPLATES', 'Alle modellen'); -} -if (!defined('_TEMPLATE')) { - define('_TEMPLATE', 'Model'); -} -if (!defined('_ADD_TEMPLATE')) { - define('_ADD_TEMPLATE', 'Een model toevoegen'); -} -if (!defined('_THE_TEMPLATE')) { - define('_THE_TEMPLATE', 'Het model'); -} -if (!defined('_TEMPLATE_ADDITION')) { - define('_TEMPLATE_ADDITION', 'Toevoeging van een model'); -} -if (!defined('_TEMPLATE_MODIFICATION')) { - define('_TEMPLATE_MODIFICATION', 'Wijziging van een model'); -} -if (!defined('_TEMPLATE_DELETION')) { - define('_TEMPLATE_DELETION', 'Verwijdering van een model'); -} -if (!defined('_MODIFY_TEMPLATE')) { - define('_MODIFY_TEMPLATE', 'De wijzigingen bevestigen'); -} -if (!defined('_TEMPLATE_ADDED')) { - define('_TEMPLATE_ADDED', 'Nieuw model aangemaakt'); -} -if (!defined('_TEMPLATE_UPDATED')) { - define('_TEMPLATE_UPDATED', 'Model gewijzigd'); -} -if (!defined('_CHOOSE_ENTITY_TEMPLATE')) { - define('_CHOOSE_ENTITY_TEMPLATE', 'Kies de dienst(en) waarmee u dit model wil koppelen'); -} -if (!defined('_REALLY_DEL_TEMPLATE')) { - define('_REALLY_DEL_TEMPLATE', 'Wilt u dit model echt verwijderen?'); -} -if (!defined('_NEW_TEMPLATE')) { - define('_NEW_TEMPLATE', 'Nieuw model'); -} -if (!defined('_CHOOSE_TEMPLATE')) { - define('_CHOOSE_TEMPLATE', 'Kies een model'); -} -if (!defined('_TEMPLATE_DELETED')) { - define('_TEMPLATE_DELETED', 'Model verwijderd'); -} -if (!defined('_DELETED_TEMPLATE')) { - define('_DELETED_TEMPLATE', 'Model verwijderd'); -} -if (!defined('_ASSOCIATED_TEMPLATES')) { - define('_ASSOCIATED_TEMPLATES', 'Gekoppelde modellen'); -} -if (!defined('_NO_DEFINED_TEMPLATE')) { - define('_NO_DEFINED_TEMPLATE', 'Geen model bepaald'); -} -if (!defined('_EDIT_YOUR_TEMPLATE')) { - define('_EDIT_YOUR_TEMPLATE', 'Gelieve het model minstens eenmaal te bewerken'); -} -if (!defined('_TEMPLATE_NAME2')) { - define('_TEMPLATE_NAME2', 'Naam van het model'); -} -if (!defined('_TEMPLATE_CONTENT')) { - define('_TEMPLATE_CONTENT', 'Inhoud van het model'); -} -if (!defined('_TEMPLATES')) { - define('_TEMPLATES', 'model(len)'); -} -if (!defined('_ADMIN_TEMPLATES')) { - define('_ADMIN_TEMPLATES', 'Documentmodellen'); -} -if (!defined('_LOADED_FILE')) { - define('_LOADED_FILE', 'Geïmporteerd bestand'); -} -if (!defined('_GENERATED_FILE')) { - define('_GENERATED_FILE', 'Aangemaakt bestand'); -} -if (!defined('_MUST_CHOOSE_TEMPLATE')) { - define('_MUST_CHOOSE_TEMPLATE', 'U moet een model kiezen'); -} -if (!defined('_GENERATE')) { - define('_GENERATE', 'Bijlage genereren'); -} -if (!defined('_PLEASE_SELECT_TEMPLATE')) { - define('_PLEASE_SELECT_TEMPLATE', 'Gelieve een bijlagemodel te selecteren'); -} -if (!defined('_NO_MODE_DEFINED')) { - define('_NO_MODE_DEFINED', 'Fout: geen modus'); -} -if (!defined('_TEMPLATE_OR_ANSWER_ERROR')) { - define('_TEMPLATE_OR_ANSWER_ERROR', 'Fout: probleem bij het laden van het model of van het antwoord'); -} -if (!defined('_NO_CONTENT')) { - define('_NO_CONTENT', 'Fout: Inhoud van het antwoord leeg'); -} -if (!defined('_FILE_OPEN_ERROR')) { - define('_FILE_OPEN_ERROR', 'Openen van het bestand onmogelijk'); -} -if (!defined('_ANSWER_OPEN_ERROR')) { - define('_ANSWER_OPEN_ERROR', 'Fout: probleem bij het openen van het antwoord'); -} -if (!defined('_TEMPLATE_UPDATE')) { - define('_TEMPLATE_UPDATE', 'Model bijgewerkt'); -} -if (!defined('_ANSWER_UPDATED')) { - define('_ANSWER_UPDATED', 'Bijlage bijgewerkt'); -} -if (!defined('_ANSWER_TITLE')) { - define('_ANSWER_TITLE', 'Titel van de bijlage'); -} -if (!defined('_VALID_TEXT')) { - define('_VALID_TEXT', 'Tekst valideren'); -} -if (!defined('_NO_DATASOURCE')) { - define('_NO_DATASOURCE', 'Geen gegevensbron'); -} -if (!defined('_ALREADY_RESERVED')) { - define('_ALREADY_RESERVED', 'Wijziging document aan de gang'); -} -if (!defined('_TXT')) { - define('_TXT', 'TXT'); -} -if (!defined('_TEMPLATE_TARGET')) { - define('_TEMPLATE_TARGET', 'Doel van het model'); -} -if (!defined('_NO_TARGET')) { - define('_NO_TARGET', 'Geen doel'); -} -if (!defined('_EXTENSION_NOT_ALLOWED')) { - define('_EXTENSION_NOT_ALLOWED', 'Niet toegestane extensie'); -} -if (!defined('_ATTACH_TEMPLATE_TO_ENTITY')) { - define('_ATTACH_TEMPLATE_TO_ENTITY', 'Het model moet aan minstens een eenheid gekoppeld zijn'); -} -if (!defined('_CHOOSE_ENTITY_TEMPLATE')) { - define('_CHOOSE_ENTITY_TEMPLATE', 'Kies de Eenheid (eenheden) waaraan u dit model wil koppelen'); -} diff --git a/modules/templates/load_editor.php b/modules/templates/load_editor.php deleted file mode 100755 index 72db40b6843..00000000000 --- a/modules/templates/load_editor.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php - -/* -* Copyright 2008-2015 Maarch -* -* This file is part of Maarch Framework. -* -* Maarch Framework is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* Maarch Framework is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. -*/ - -?> - -<!-- tinyMCE --> -<script type="text/javascript"> - tinymce.baseURL = "../../node_modules/tinymce"; - tinymce.suffix = '.min'; - tinymce.init({ - - selector: "textarea#template_content", - statusbar : false, - - language : "fr_FR", - language_url: "tools/tinymce/langs/fr_FR.js", - height : "<?php echo $height; ?>", - plugins: [ - "advlist autolink link lists charmap print preview hr", - "searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime nonbreaking", - "save table contextmenu directionality paste textcolor" - ], - external_plugins: { - 'bdesk_photo': "../../apps/maarch_entreprise/tools/tinymce/bdesk_photo/plugin.min.js" - }, - toolbar: "undo redo | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | preview fullpage | bdesk_photo | forecolor backcolor", - - }); - - // Custom save callback, gets called when the contents is to be submitted - function customSave(id, content) { - alert(id + "=" + content); - } -</script> -<!-- /tinyMCE --> diff --git a/modules/templates/xml/IVS/data_types.xml b/modules/templates/xml/IVS/data_types.xml deleted file mode 100755 index 710b3b56651..00000000000 --- a/modules/templates/xml/IVS/data_types.xml +++ /dev/null @@ -1,3 +0,0 @@ -<dataTypes> - -</dataTypes> \ No newline at end of file diff --git a/modules/templates/xml/IVS/requests_definitions.xml b/modules/templates/xml/IVS/requests_definitions.xml deleted file mode 100755 index 97dfda1b4d1..00000000000 --- a/modules/templates/xml/IVS/requests_definitions.xml +++ /dev/null @@ -1,21 +0,0 @@ -<requestDefinitions> -<!-- <requestDefinition method="POST" path="/apps/maarch_entreprise/index.php" validationRule="template_manage_list" > - <parameter name="page" value="templates_management_controler"/> - <parameter name="module" value="templates"/> - </requestDefinition> --> - <requestDefinition method="POST" path="/apps/maarch_entreprise/index.php" validationRule="template_manage_add" > - <parameter name="page" value="templates_management_controler"/> - <parameter name="module" value="templates"/> - <parameter name="display" value="true"/> - </requestDefinition> - <requestDefinition method="GET" path="/apps/maarch_entreprise/index.php" validationRule="template_manage_add" > - <parameter name="page" value="templates_management_controler"/> - <parameter name="module" value="templates"/> - <parameter name="display" value="true"/> - </requestDefinition> - <requestDefinition method="GET" path="/apps/maarch_entreprise/index.php" validationRule="template_manage_add" > - <parameter name="page" value="templates_management_controler"/> - <parameter name="module" value="templates"/> - </requestDefinition> - -</requestDefinitions> diff --git a/modules/templates/xml/IVS/validation_rules.xml b/modules/templates/xml/IVS/validation_rules.xml deleted file mode 100755 index 0c35aa267d6..00000000000 --- a/modules/templates/xml/IVS/validation_rules.xml +++ /dev/null @@ -1,36 +0,0 @@ -<validationRules> - <!-- validationRule name="template_manage_list" extends="standardForm" mode="error"> - <parameter name="what" type="string" /> - </validationRule --> - <validationRule name="template_manage_add" extends="standardForm" mode="error"> - <parameter name="id" type="integer" /> - <parameter name="module" type="identifier" /> - <parameter name="what" type="string" /> - <parameter name="template_label" type="string" /> - <parameter name="template_comment" type="string" /> - <parameter name="template_target" type="identifier" /> - <parameter name="template_attachment_type" type="identifier" /> - <parameter name="template_type" type="identifier" /> - <parameter name="template_datasource" type="identifier" /> - <parameter name="template_content" type="string" /> - <parameter name="template_content_txt" type="string" /> - <parameter name="template_style" type="string" /> - <parameter name="entities_chosen" type="identifier" /> - <parameter name="submit" type="identifier" /> - <parameter name="Submit" type="string" /> - <parameter name="template_file_name" type="docserver_file" /> - <parameter name="template_path" type="docserver_path" /> - <parameter name="entitieslist" type="identifier" /> - </validationRule> - - <validationRule name="admin_change_templates" extends="standardForm" mode="error"> - <parameter name="template_style" type="string" /> - <parameter name="module" type="identifier" /> - </validationRule> - - <validationRule name="template_list" extends="standardForm" mode="error"> - <parameter name="template_id" type="document_id" /> - <parameter name="module" type="identifier" /> - </validationRule> - -</validationRules> diff --git a/modules/templates/xml/config.xml b/modules/templates/xml/config.xml deleted file mode 100755 index 554027b9bac..00000000000 --- a/modules/templates/xml/config.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<root> - <CONFIG> - <name>templates</name> - <comment>_TEMPLATES_COMMENT</comment> - <file_prefix>temp</file_prefix> - <loaded>true</loaded> - </CONFIG> - <TABLENAME> - <temp_templates>templates</temp_templates> - <temp_templates_association>templates_association</temp_templates_association> - </TABLENAME> - <HISTORY> - <templateadd>true</templateadd> - <templateup>true</templateup> - <templatedel>true</templatedel> - </HISTORY> -</root> diff --git a/modules/templates/xml/menu.xml b/modules/templates/xml/menu.xml deleted file mode 100755 index fa75d84946a..00000000000 --- a/modules/templates/xml/menu.xml +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<root> -</root> \ No newline at end of file -- GitLab