From e06de642be3a346b1db74a4085c19e1f9ed221aa Mon Sep 17 00:00:00 2001 From: tofulm Date: Fri, 13 Nov 2020 11:31:54 +0100 Subject: [PATCH] on creer un autorisation bidon pour forcer le chargment des crayons --- gamutable_autorisations.php | 4 ++++ inclure/gamutable.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gamutable_autorisations.php b/gamutable_autorisations.php index b19cb1c..59d67cf 100644 --- a/gamutable_autorisations.php +++ b/gamutable_autorisations.php @@ -24,3 +24,7 @@ function autoriser_gamutable_purger_dist($faire, $type, $id, $qui, $opt) { return autoriser('webmestre'); } +function autoriser_gamutable_modifier_dist($faire, $type, $id, $qui, $opt) { + return true; +} + diff --git a/inclure/gamutable.html b/inclure/gamutable.html index ee21066..0faf3ff 100644 --- a/inclure/gamutable.html +++ b/inclure/gamutable.html @@ -1,7 +1,7 @@ [(#SET{sort_asc,[(#CHEMIN{img/sprite_gamutable.svg})#sort_asc]})] [(#SET{sort_desc,[(#CHEMIN{img/sprite_gamutable.svg})#sort_desc]})] - +
[(#ENV{titreGamutableUn})]