Skip to content
Snippets Groups Projects
Commit 7cbd6cf0 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Tidied up submit.php (submission page) a bit.
parent cddb517d
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -12,13 +12,12 @@
}
else {
foreach (module_list() as $name) {
if (module_hook($name, "user")) $options .= "<OPTION VALUE=\"$name\">$name</OPTION>";
if (module_hook($name, "user")) $options .= "<option value=\"$name\">$name</option>";
}
$form .= form_item(t("Type"), "<SELECT NAME=\"mod\">$options</SELECT>");
$form .= form_item(t("Submission type"), "<SELECT NAME=\"mod\">$options</SELECT>");
$form .= form_submit(t("Next step"));
$output .= "<P>". t("If you have written something or if you have some news or thoughts that you would like to share, then this is the place where you can submit new content. Fill out this form and your contribution will automatically get whisked away to our submission queue where our moderators will frown at it, poke at it and hopefully post it.") ."</P>";
$output .= form("submit.php", $form, "get");
$theme->box("Submit", $output);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment