--- backup/restore_form.original.html 2008-07-17 10:40:59.000000000 -0400 +++ backup/restore_form.html 2008-07-17 10:35:48.000000000 -0400 @@ -274,24 +274,26 @@ helpbutton("coursefullname", get_string("fullname")) ; if (isset($err["fullname"])) formerr($err["fullname"]); echo""; - echo " "; - echo " "; - print_string("startdate"); - echo ""; + } + + /// allow teachers to set the start date. + echo " "; + echo " "; + print_string("startdate"); + echo ""; /// Show the roll dates option only if the backup course has a start date /// (some formats like main page, social..., haven't it and rolling dates /// from 0 produces crazy dates. MDL-10125 - if ($form1->startdate) { - print_date_selector("startday", "startmonth", "startyear", $form1->startdate); - helpbutton("coursestartdate", get_string("startdate")); - } else { - print_string('notavailable'); - echo ''; - echo ''; - echo ''; - } - echo ""; - } + if ($form1->startdate) { + print_date_selector("startday", "startmonth", "startyear", $form1->startdate); + helpbutton("coursestartdate", get_string("startdate")); + } else { + print_string('notavailable'); + echo ''; + echo ''; + echo ''; + } + echo ""; //Line echo "
"; //Now, check modules and info and show posibilities