From 843819a459640cbe37faf208485ab3d39536cfe3 Mon Sep 17 00:00:00 2001 From: Cerdic <cedric@yterium.com> Date: Wed, 14 Oct 2009 20:43:32 +0000 Subject: [PATCH] il ne faut pas presenter le bouton de creation rapide de mots cles si les mots de sont actives --- ecrire/inc/autoriser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/inc/autoriser.php b/ecrire/inc/autoriser.php index 24ef96ff94..2c57fa7b1c 100644 --- a/ecrire/inc/autoriser.php +++ b/ecrire/inc/autoriser.php @@ -758,7 +758,7 @@ function autoriser_auteur_creer_bouton_dist($faire, $type='', $id=0, $qui = NULL } function autoriser_mot_creer_bouton_dist($faire, $type='', $id=0, $qui = NULL, $opt = NULL){ - return autoriser('creer','mot'); + return ($GLOBALS['meta']['articles_mots']=='oui' AND autoriser('creer','mot')); } function autoriser_site_creer_bouton_dist($faire, $type='', $id=0, $qui = NULL, $opt = NULL){ -- GitLab