formulaire et des pages gamutable pour gerer des configurations de facons semi automatique
28 lines
488 B
PHP
28 lines
488 B
PHP
<?php
|
|
/**
|
|
* Définit les autorisations du plugin GamuForm
|
|
*
|
|
* @plugin GamuForm
|
|
* @copyright 2020
|
|
* @author tofulm
|
|
* @licence GNU/GPL
|
|
* @package SPIP\Gamuform\Autorisations
|
|
*/
|
|
|
|
if (!defined('_ECRIRE_INC_VERSION')) {
|
|
return;
|
|
}
|
|
|
|
|
|
/**
|
|
* Fonction d'appel pour le pipeline
|
|
* @pipeline autoriser */
|
|
function gamuform_autoriser() {
|
|
}
|
|
|
|
function autoriser_gamuform_modifier_dist($faire, $type, $id, $qui, $opt) {
|
|
return in_array($qui['statut'], array('0minirezo'));
|
|
}
|
|
|
|
|
|
|