Skip to content
Snippets Groups Projects
Commit c4ded281 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #15350 TIME 0:40 clean useless code (avis + notes + notifications + sendmail + templates)

parent b8979a4b
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 807 deletions
<?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
}
<?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
{
}
[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
<?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");
}
<?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");
}
<?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');
}
<dataTypes>
</dataTypes>
\ No newline at end of file
<?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>
<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>
<?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>
<?xml version="1.0" encoding="utf-8"?>
<root>
<CONFIG>
<name>avis</name>
<comment>_AVIS_WORKFLOW_COMMENT</comment>
<loaded>true</loaded>
</CONFIG>
</root>
<?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
<?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
}
<?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;
}
}
<?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");
}
<?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");
}
<?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');
}
<dataTypes>
</dataTypes>
\ No newline at end of file
<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>
<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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment