"; $allready_selected=false; while($upload_rep=pmb_mysql_fetch_object($result)){ if(isset($param['upload_repertoire']) && $param['upload_repertoire']==$upload_rep->repertoire_id && !$allready_selected){ $select.=" "; $allready_selected=true; }elseif($deflt_upload_repertoire==$upload_rep->repertoire_id && !$allready_selected){ $select.=" "; $allready_selected=true; }else{ $select.=" "; } } $select.=""; }else{ $select.=$this->msg['planificateur_scan_docnum_no_upload_repertoire']; } $form_task = "
$select
"; return $form_task; } public function make_serialized_task_params() { global $upload_folder,$upload_repertoire; $t = parent::make_serialized_task_params(); if ($upload_folder) { $t["upload_folder"]=stripslashes($upload_folder); } if ($upload_repertoire){ $t["upload_repertoire"]=stripslashes($upload_repertoire); } return serialize($t); } }