Skip to content
Extraits de code Groupes Projets
Valider b2f16d33 rédigé par esj's avatar esj
Parcourir les fichiers

pas de creation de mot-cle en passant par la fenetre des admins restreints

parent 00de0b97
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -107,7 +107,7 @@ function mots_ressemblants($mot, $table_mots, $table_ids='') { ...@@ -107,7 +107,7 @@ function mots_ressemblants($mot, $table_mots, $table_ids='') {
*/ */
function formulaire_mots($table, $id_objet, $nouv_mot, $supp_mot, $cherche_mot, $flag_editable) { function formulaire_mots($table, $id_objet, $nouv_mot, $supp_mot, $cherche_mot, $flag_editable) {
global $connect_statut, $options; global $connect_statut, $connect_toutes_rubriques, $options;
global $spip_lang_rtl, $spip_lang_right; global $spip_lang_rtl, $spip_lang_right;
$select_groupe = $GLOBALS['select_groupe']; $select_groupe = $GLOBALS['select_groupe'];
...@@ -233,7 +233,8 @@ function formulaire_mots($table, $id_objet, $nouv_mot, $supp_mot, $cherche_mot, ...@@ -233,7 +233,8 @@ function formulaire_mots($table, $id_objet, $nouv_mot, $supp_mot, $cherche_mot,
} }
} }
if ($GLOBALS['connect_statut'] == '0minirezo') { if ($GLOBALS['connect_statut'] == '0minirezo'
AND $connect_toutes_rubriques ) {
echo "<div style='width: 200px;'>"; echo "<div style='width: 200px;'>";
$retour = urlencode($GLOBALS['clean_link']->getUrl()); $retour = urlencode($GLOBALS['clean_link']->getUrl());
$titre = urlencode($cherche_mot); $titre = urlencode($cherche_mot);
...@@ -521,7 +522,7 @@ function formulaire_mots($table, $id_objet, $nouv_mot, $supp_mot, $cherche_mot, ...@@ -521,7 +522,7 @@ function formulaire_mots($table, $id_objet, $nouv_mot, $supp_mot, $cherche_mot,
} }
} }
if ($connect_statut == '0minirezo' AND $flag_editable AND $options == "avancees") { if ($connect_statut == '0minirezo' AND $flag_editable AND $options == "avancees" AND $connect_toutes_rubriques) {
echo "<tr><td></td><td colspan='2'>"; echo "<tr><td></td><td colspan='2'>";
echo "<div style='width: 200px;'>"; echo "<div style='width: 200px;'>";
$retour = urlencode($GLOBALS['clean_link']->getUrl()); $retour = urlencode($GLOBALS['clean_link']->getUrl());
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter