get_global_value($name); $selector = ""; return $selector; } protected function gen_selector_asc_desc($name='') { global $msg, $charset; $selected = $this->get_global_value($name); $selector = ""; return $selector; } public function get_already_selected() { global $msg, $charset; global $add_field; global $delete_field; global $fields; //Affichage des champs deja saisis $r=""; $n=0; $r.="
"; $r.="";//Colonne 1 $r.=" | "; $r.="";//Colonne 2 if ($f[0]=="f") { if($f[2] && isset(self::$fields[$this->type]["FIELD"][$f[1]]["TABLE"]) && isset($msg[self::$fields[$this->type]["FIELD"][$f[1]]["TABLE"][0]["TABLEFIELD"][$f[2]]["NAME"]])) { $r.=htmlentities($msg[self::$fields[$this->type]["FIELD"][$f[1]]["TABLE"][0]["TABLEFIELD"][$f[2]]["NAME"]],ENT_QUOTES,$charset); } elseif (isset($msg[self::$fields[$this->type]["FIELD"][$f[1]]["NAME"]])) { $r.=htmlentities($msg[self::$fields[$this->type]["FIELD"][$f[1]]["NAME"]],ENT_QUOTES,$charset); } else { $r.=htmlentities(self::$fields[$this->type]["FIELD"][$f[1]]["NAME"],ENT_QUOTES,$charset); } } elseif(array_key_exists($f[0],static::$pp)) { $r.=htmlentities(static::$pp[$f[0]]->t_fields[$f[2]]["TITRE"],ENT_QUOTES,$charset); } $r.=" | "; $r.="";//Colonne 3 $r.=$this->gen_selector_asc_desc("asc_desc_".$n."_".$fields[$i]); $r.=" | "; $r.="";//Colonne 4 $r.=$this->gen_selector_type("type_".$n."_".$fields[$i]); $r.=" | "; $r.="";//Colonne 6 $r.="\n"; $n++; } } } $r.=" |