Update of /home/spip-cvs/spip
In directory alan:/tmp/cvs-serv12908
Modified Files:
inc-compilo-index.php3 inc-criteres.php3
Log Message:
API du compilateur plus rationnelle --- mais n'élimine pas completement les risque de bug...
Index: inc-criteres.php3
RCS file: /home/spip-cvs/spip/inc-criteres.php3,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- inc-criteres.php3 15 Sep 2004 20:19:29 -0000 1.12
+++ inc-criteres.php3 15 Sep 2004 21:34:31 -0000 1.13
@@ -364,7 +364,7 @@
}
// Traitement general des relations externes
- if ($s = $relations_externes[$type][$col]) {
+ if ($s = $tables_relations[$type][$col]) {
$col_table = $s;
$boucle->from[] = "$col_table AS $col_table";
$boucle->where[] = "$id_field=$col_table." . $primary;
Index: inc-compilo-index.php3
RCS file: /home/spip-cvs/spip/inc-compilo-index.php3,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- inc-compilo-index.php3 15 Sep 2004 20:19:29 -0000 1.17
+++ inc-compilo-index.php3 15 Sep 2004 21:34:31 -0000 1.18
@@ -24,7 +24,7 @@
if ($explicite !== false) {
// Recherche d'un champ dans un etage superieur
while (($idb != $explicite) && ($idb !='')) {
- spip_log("Cherchexpl: $nom_champ '$idb' '$i'");
+# spip_log("Cherchexpl: $nom_champ '$idb' '$i'");
$i++;
$idb = $boucles[$idb]->id_parent;
}
@@ -215,7 +215,7 @@
if ($boucles[$idb]->externe)
index_pile ($idb, $nom_champ, $boucles); // reserver chez soi-meme
// reserver chez le parent et renvoyer l'habituel $Pile[$SP]['nom_champ']
- spip_log("boucles[$idb]->id_parent " . $boucles[$idb]->id_parent);
+# spip_log("boucles[$idb]->id_parent " . $boucles[$idb]->id_parent);
return index_pile ($boucles[$idb]->id_parent, $nom_champ, $boucles);
}