Forked from
project / drupal
44920 commits behind, 27 commits ahead of the upstream repository.
-
Dries Buytaert authored
- made the selection box translatable (patch by Gerhard)
Dries Buytaert authored- made the selection box translatable (patch by Gerhard)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
submit.php 641 B
<?php
include_once "includes/common.inc";
page_header();
$theme->header();
if (user_access("post content")) {
if ($mod) {
module_invoke($mod, "user");
}
else {
foreach (module_list() as $name) {
if (module_hook($name, "user")) $options .= "<option value=\"$name\">". t($name) ."</option>";
}
$form .= form_item(t("Submission type"), "<SELECT NAME=\"mod\">$options</SELECT>");
$form .= form_submit(t("Next step"));
$output .= form("submit.php", $form, "get");
$theme->box(t("Submit"), $output);
}
}
else {
$theme->box(t("Submit"), message_access());
}
$theme->footer();
page_footer();
?>