".$mailtpl->get_sel('mailtpl_id',$id_sel)."
 
"; $form_task .= $this->get_attachments_form($attachments); $form_task .= "
 
 
"; $liste = empr_caddie::get_cart_list(); $gen_select_empr_caddie = ""; $form_task .= "
"; //Choix du panier d'emprunteurs $form_task .= "
".$gen_select_empr_caddie."
"; //Choix de la prédéfinie d'emprunteurs $form_task .= "
".$this->get_empr_search_perso($idempr_search_perso_sel)."
"; $form_task .= "

"; //Destinataire supplémentaire $form_task .= "
"; return $form_task; } protected function get_attachments_form($pieces_jointes_mailing = array()) { global $msg, $charset; global $pmb_attachments_folder; $attachments_form = ''; if(is_dir($pmb_attachments_folder)){ if(($objects = @scandir($pmb_attachments_folder)) !== false) { $i = 0; foreach ($objects as $object) { if($object != '.' && $object != '..') { if (filetype($pmb_attachments_folder."/".$object) != "dir") { $attachments_form .= "
".$object."
"; $i++; } } } } $attachments_form .= mailtpl::get_attachments_form(); } else { $attachments_form .= $msg["admin_files_gestion_error_is_no_path"].$pmb_attachments_folder."
".$msg["admin_files_gestion_error_param_attachments_folder"]; } return $attachments_form; } public function make_serialized_task_params() { global $empr_caddie, $mailtpl_id, $email_cc; global $empr_choice, $empr_search_perso; global $pieces_jointes, $associated_campaign; $t = parent::make_serialized_task_params(); $t["empr_choice"] = $empr_choice; $t["empr_search_perso"] = $empr_search_perso; $t["empr_caddie"] = $empr_caddie; $t["mailtpl_id"] = $mailtpl_id; $t["email_cc"] = $email_cc; $t["pieces_jointes_mailing"] = array(); if(!empty($pieces_jointes)) { foreach ($pieces_jointes as $piece_jointe) { $t["pieces_jointes_mailing"][] = $piece_jointe; } } if(!empty($_FILES['pieces_jointes_mailing']['name'])) { for($i=0; $i "EMPR")); $searches = $empr_search_perso->get_objects(); $html = " "; return $html; } }