$value ) { if($value === ""){ unset($VALUE[$key]); unset($ITEM[$key]); unset($ORDRE[$key]); } } //Pour que les clés se suivent $VALUE=array_merge($VALUE); $ITEM=array_merge($ITEM); $ORDRE=array_merge($ORDRE); //Pour tester si il y a des doublons $temp=array_flip($VALUE); if(is_array($VALUE) && (count($temp) != count($VALUE))){ ?> "; $param[DEFAULT_VALUE][0][value]=stripslashes($DEFAULT_VALUE); $param[CHECKBOX_NB_ON_LINE][0][value]=stripslashes($CHECKBOX_NB_ON_LINE); $options=array_to_xml($param,"OPTIONS"); ?> ".$msg[procs_options_param].$name."
"; if (!$first) { if($options){ $param=_parser_text_no_function_("\n".$options,"OPTIONS"); } if ($param["FOR"]!="list") { $param=array(); $param["FOR"]="list"; } $MULTIPLE=$param[MULTIPLE][0][value]; $AUTORITE=$param[AUTORITE][0][value]; $CHECKBOX=$param[CHECKBOX][0][value]; $CHECKBOX_NB_ON_LINE=$param[CHECKBOX_NB_ON_LINE][0][value]; $NUM_AUTO=$param[NUM_AUTO][0][value]; $UNSELECT_ITEM_VALUE=$param[UNSELECT_ITEM][0][VALUE]; $UNSELECT_ITEM_LIB=$param[UNSELECT_ITEM][0][value]; $DEFAULT_VALUE=$param[DEFAULT_VALUE][0][value]; //Récupération des valeurs de la liste if ($idchamp) { $requete="select ".$_custom_prefixe_."_custom_list_value, ".$_custom_prefixe_."_custom_list_lib, ordre from ".$_custom_prefixe_."_custom_lists where ".$_custom_prefixe_."_custom_champ=$idchamp order by ordre"; $resultat=mysql_query($requete); if (mysql_numrows($resultat)) { $i=0; while (($r=mysql_fetch_array($resultat))) { $ITEM[$i]=$r[$_custom_prefixe_."_custom_list_lib"]; $VALUE[$i]=$r[$_custom_prefixe_."_custom_list_value"]; $ORDRE[$i]=$r["ordre"]; $i++; } } } } else { $CHECKBOX_NB_ON_LINE=stripslashes($CHECKBOX_NB_ON_LINE); $UNSELECT_ITEM_VALUE=stripslashes($UNSELECT_ITEM_VALUE); $UNSELECT_ITEM_LIB=stripslashes($UNSELECT_ITEM_LIB); $DEFAULT_VALUE=stripslashes($DEFAULT_VALUE); for ($i=0; $i $value ) { if($value === ""){ unset($temp2[$key]); } } $temp=array_flip($temp2); } if(is_array($temp2) && (count($temp) != count($temp2))){ ?>

>
>
/>  
>
:   :
:


\n"; $n=0; $requete="SELECT datatype FROM ".$_custom_prefixe_."_custom WHERE idchamp = $idchamp"; $resultat = mysql_query($requete); $dtype = mysql_result($resultat,0,0); for ($i=0; $iT != $VALUE[$i]){ $is_deletable=true; }elseif($objdel->C > 0){ $is_deletable=false; }else{ $is_deletable=true; } } } echo ""; echo ""; echo ""; $n++; } } } else { echo "".$msg["parperso_options_list_before_rec"].""; } ?>
".$msg["parperso_options_list_value"]."".$msg["parperso_options_list_lib"]."".$msg["parperso_options_list_order"]."
    " onClick="this.form.first.value=4">