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

non visualisation du groupe de mots-cles dans certains cas

parent 7d3bf457
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -229,7 +229,7 @@ if ($connect_statut =="0minirezo"){
echo "<BR><INPUT TYPE='text' NAME='titre_mot' CLASS='formo' VALUE=\"$titre_mot\" SIZE='40' $onfocus />";
// dans le groupe...
$query_groupes = "SELECT * FROM spip_groupes_mots ORDER BY titre";
$query_groupes = "SELECT id_groupe, titre FROM spip_groupes_mots ORDER BY titre";
$result = spip_query($query_groupes);
if (spip_num_rows($result)>1) {
debut_cadre_relief("groupe-mot-24.gif");
......@@ -248,10 +248,11 @@ if ($connect_statut =="0minirezo"){
if (!$row_groupes) {
// il faut creer un groupe de mots (cas d'un mot cree depuis articles.php3)
$row_groupes['id_groupe'] = spip_abstract_insert("spip_groupes_mots",
"(titre, unseul, obligatoire, articles, breves, rubriques, syndic, minirezo, comite, forum)",
"('" .
addslashes(_T('info_mot_sans_groupe'))."', 'non', 'non', 'oui', 'oui', 'non', 'oui', 'oui', 'non', 'non'");
"(titre, unseul, obligatoire, articles, breves, rubriques, syndic, minirezo, comite, forum)",
"('" .
addslashes(_T('info_mot_sans_groupe')) .
"', 'non', 'non', 'oui', 'oui', 'non', 'oui', 'oui', 'non', 'non'" .
")");
}
echo "<input type='hidden' name='id_groupe' value='".$row_groupes['id_groupe']."'>";
}
......
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