data_submitted() replaced with appropriate _param() style functions, HTML output tidied up and sesskey checking added.
data_submitted() replaced with appropriate _param() style functions,
HTML output tidied up and sesskey checking added.

dilawar/moodle