Author: renatoformato@virgilio.it
Date: Tue Jul 4 11:05:52 2006
New Revision: 3811
Log:
#RANG tag now working
Modified:
_plugins_/_amelioration_admin_/tri_mots/balise_rang.php
Modified: _plugins_/_amelioration_admin_/tri_mots/balise_rang.php
--- _plugins_/_amelioration_admin_/tri_mots/balise_rang.php (original)
+++ _plugins_/_amelioration_admin_/tri_mots/balise_rang.php Tue Jul 4 11:05:52 2006
@@ -5,6 +5,11 @@
$tables_auxiliaires['spip_mots_articles']['field']['rang']='INT NOT NULL';
function balise_RANG($p) {
+ //get the calling boucle
+ $boucle = &$p->boucles[$p->id_boucle];
+ //consider any automatic join as an explicit join to permit selecting joint table fields
+ $boucle->jointures_explicites = $boucle->jointures;
+ //generate field code
$_rang = champ_sql('rang', $p);
$p->code = "$_rang";
$p->interdire_scripts = false;