'; @html_page_start($_SESSION['g_theme']); $cn=Dossier::connect(); global $g_user; $g_user=new User($cn); $g_user->check(); $only_plugin=$g_user->check_dossier(dossier::id()); /* javascript file */ echo load_all_script(); /* show all the extension we can access */ $a=new ISelect('plugin_code'); $a->value=Extension::make_array($cn); $a->selected=(isset($_REQUEST['plugin_code']))?strtoupper($_REQUEST['plugin_code']):''; /* no plugin available */ if ( count($a->value) == 0 ) { alert(j(_("Aucune extension disponible"))); exit; } /* only one plugin available then we don't propose a choice*/ if ( count($a->value)==1 ) { $_REQUEST['plugin_code']=$a->value[0]['value']; } echo ''; /*else { if (!isset($_REQUEST['ac'])) echo_warning ("ac non positionné"); echo '
'; echo '