'.$msg['sauv_misc_running'].'
'; $explnum_licence = new explnum_licence($id); $explnum_licence->get_values_from_form(); $explnum_licence->save(); print ''; break; case 'add' : $explnum_licence = new explnum_licence(); print $explnum_licence->get_form(); break; case 'edit' : $id+= 0; $explnum_licence = new explnum_licence($id); $explnum_licence->fetch_data(); print $explnum_licence->get_form(); break; case 'delete' : if (!isset($force)) { $force = 0; } print '
'.$msg['suppression_en_cours'].'
'; $id+= 0; $explnum_licence = new explnum_licence($id); $return = $explnum_licence->delete($force); if ($return) { print ''; break; } print ''; break; case 'settings' : $id+= 0; if (!isset($what)) { $what = 'profiles'; } $explnum_licence = new explnum_licence($id); print $explnum_licence->get_settings_menu(); switch ($what) { case 'rights' : if (!isset($rightaction)) { $rightaction = 'list'; } switch ($rightaction) { case 'list': print $explnum_licence->get_rights_list(); print ''; break; default : require_once($base_path.'/admin/upload/licence_rights.inc.php'); break; } break; case 'profiles' : default : if (!isset($profileaction)) { $profileaction = 'list'; } switch ($profileaction) { case 'list': print $explnum_licence->get_profiles_list(); print ''; break; default : require_once($base_path.'/admin/upload/licence_profiles.inc.php'); break; } break; } break; case 'list': default : print ' '; print list_configuration_explnum_licence_ui::get_instance()->get_display_list(); break; } ?>