From 679a4f5a18b90837db8ca70ca3dad296c6066802 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 00:08:11 +0000 Subject: [PATCH] MDL-19789 Removed choose_from_radio and choose_from_menu calls --- backup/restore_form.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backup/restore_form.html b/backup/restore_form.html index f7a10abf97..22445249b0 100644 --- a/backup/restore_form.html +++ b/backup/restore_form.html @@ -342,8 +342,6 @@ function selectItemInCheckboxByName(formId, checkName, checked ) { echo ""; $restore_options[1] = get_string("yes"); $restore_options[0] = get_string("no"); - //choose_from_menu($restore_options, $restore_var, $$restore_var, ""); - //choose_from_radio($restore_options, $restore_var, $$restore_var); //Print the checkbox print_checkbox($restore_var, $$restore_var, $$restore_var, get_string("modulenameplural",$modname),'','selectItemInCheckboxByName(\'form1\',\'restore_'.$modname.'\',this.checked)'); //If backup contains user data, then show menu, else fix it to @@ -353,8 +351,6 @@ function selectItemInCheckboxByName(formId, checkName, checked ) { if ($info->mods[$modname]->userinfo == "true") { $restore_user_options[1] = get_string("yes"); $restore_user_options[0] = get_string("no"); - //choose_from_menu($restore_user_options, $user_info_var, $$user_info_var, ""); - //choose_from_radio($restore_user_options, $user_info_var, $$user_info_var); print_checkbox($user_info_var, $$user_info_var, $$user_info_var, get_string("userdata"),'','selectItemInCheckboxByName(\'form1\',\'restore_user_info_'.$modname.'\',this.checked)'); } else { //Module haven't userdata -- 2.39.5