'.__('There are no extensions defined').''; return; } $delete = get_parameter ("delete", ""); $name = get_parameter ("name", ""); if ($delete != ""){ if (!file_exists($config["homedir"]."/extensions/ext_backup")) mkdir($config["homedir"]."/extensions/ext_backup"); $source = $config["homedir"]."/$delete.php"; rename ($source, $config["homedir"]."/extensions/ext_backup/$name.php"); } $table->width = '500px'; $table->head = array (); $table->head[0] = __('Name'); //if (check_acl ($config['id_user'], 0, "PM")){ // $table->head[1] = __('Delete'); // $table->align[1] = "center"; //} $table->data = array (); foreach ($config['extensions'] as $extension) { if ($extension['main_function'] == '') continue; if ($extension['operation_menu'] == null) continue; $data = array (); $data[0] = ''.$extension['operation_menu']['name']; // if (check_acl ($config['id_user'], 0, "PM")) { // $data[1] = ''; // } array_push ($table->data, $data); } html_print_table ($table); ?>