Changeset 301
- Timestamp:
- 04/24/08 13:15:29 (7 months ago)
- Files:
-
- form/form.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
form/form.php
r288 r301 54 54 $body = form_save($result->data,$_SESSION['userid'],$preview); 55 55 $body = '<p>'.$form->response_text.'</p>'.$body; 56 if ($form->notification) {57 $msg = "Someone has submitted the form '$title' .\n\n"56 /*if ($form->notification) { 57 $msg = "Someone has submitted the form '$title'\n\n" 58 58 ."To export the form results or turn form notification off, please login as a site administrator and visit:\n\n" 59 59 ."{$CFG->wwwroot}mod/form/index.php"; 60 60 $subject = "Form submission for '$title'"; 61 61 notify_user($form->owner, $subject, $msg); 62 } 62 }*/ 63 63 } 64 64 } 65 65 66 66 if ($action != 'submit' || $fielderror) { 67 68 #TODO - enforce access control69 67 70 68 $body = '<p>'.$form->description.'</p>';
