noalyss Version-9
constant.security.php
Go to the documentation of this file.
1<?php
2/*
3 * This file is part of NOALYSS.
4 *
5 * NOALYSS is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * NOALYSS is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with NOALYSS; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19// Copyright Author Dany De Bontridder danydb@aevalys.eu
20
21define ('FICADD',800); /* Ajout de fiche */
22define ("FIC",805); //Création, modification et effacement de fiche
23define ("FICCAT",910); //création, modification et effacement de catégorie de fiche
24define ('RMDOC',1020); // Effacement de document pour follow up & comptabilité
25define ('TAGADD',1025); // Création étiquette
26define ('VIEWDOC',1010); // Voir document pour follow up
27define ('PARCATDOC',1050); // modifier type document pour follow up
28define ('RMRECEIPT',1110); // Effacer un document d'une pièce comptable
29define ('RMOPER',1120); // Effacer une opération comptable
30define ('UPDRECEIPT',1130); // change un numéro de pièce
31define ('UPDDATE',1140); // change date operation
32define ('SHARENOTE',1210); // Can share a note
33define ('SHARENOTEPUBLIC',1220); // Can create public note
34define ('SHARENOTEREMOVE',1230); // Can drop drop of other
35global $audit;
36$audit=false;
37if (defined('AUDIT_ENABLE') && AUDIT_ENABLE == true ) $audit=true;
38?>
global $audit