check_module('CFGPRO') == 0 ) die(); require_once NOALYSS_INCLUDE.'/class_profile_sql.php'; require_once NOALYSS_INCLUDE.'/class_profile_menu.php'; require_once NOALYSS_INCLUDE.'/class_html_input.php'; $p_id=HtmlInput::default_value_request('p_id', -1); $profile=new Profile_sql($cn,$p_id); $gDossier=Dossier::id(); $add_impression=HtmlInput::button("add", _("Ajout Menu"),"onclick=\"add_menu({dossier:$gDossier,p_id:$p_id,type:'pr'})\""); $call_tab=HtmlInput::default_value_post('tab', 'none'); $a_tab=array('profile_gen_div'=>'tabs','profile_menu_div'=>'tabs','profile_print_div'=>'tabs','profile_gestion_div'=>'tabs','profile_repo_div'=>'tabs'); $a_tab[$call_tab]='tabs_selected'; ?>

Profil p_name?>

0 ) : ?> p_id); $name=new IText("p_name",$profile->p_name); $desc=new IText("p_desc",$profile->p_desc); $with_calc=new ICheckBox("with_calc","t"); $with_calc->set_check($profile->with_calc); $with_direct_form=new ICheckBox("with_direct_form","t"); $with_direct_form->set_check($profile->with_direct_form); // If $p_id == -1 it is a new profile if ( $p_id > 0 ) { echo ''; } ?>