load($resource_type); $form = new Form($db); if(!class_exists('FormResource')) require_once(DOL_DOCUMENT_ROOT.'/resource/class/html.formresource.class.php'); $formresources = new FormResource($db); $out .= '
'; $out .= '
'; $out .= ''; $out .= ''; $out .= ''; $out .= ''; $out .= ''; // Place $out .= '
'.$langs->trans("SelectResource").'
'; $events=array(); $out .= $formresources->select_resource_list('','fk_resource','',1,1,0,$events,'',2); $out .= '
'; $out .= '
'.$form->selectyesno('busy',$linked_resource['busy']?1:0,1).'
'; $out .= '
'.$form->selectyesno('mandatory',$linked_resource['mandatory']?1:0,1).'
'; $out .= '
'; $out .='trans("Cancel").'" />'; $out .= '
'; $out .='
'; $out .= '
'; $out .= '
'; print $out; // FIN DU TPL