/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
- * Copyright (c) 2001-2016 *
+ * Copyright (c) 2001-2020 *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
$valeurs['id_groupe'] = $valeurs['id_parent'];
}
+ if (test_formulaire_inclus_par_modele()) {
+ if (intval($id_mot) and !autoriser('modifier', 'mot', intval($id_mot))) {
+ $valeurs['editable'] = '';
+ }
+ }
+
+
if ($associer_objet) {
if (intval($associer_objet)) {
// compat avec l'appel de la forme ajouter_id_article