diff options
Diffstat (limited to 'modules/contact/contact.pages.inc')
-rw-r--r-- | modules/contact/contact.pages.inc | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/modules/contact/contact.pages.inc b/modules/contact/contact.pages.inc index 30b282504..ba8918bf5 100644 --- a/modules/contact/contact.pages.inc +++ b/modules/contact/contact.pages.inc @@ -2,14 +2,15 @@ /** * @file - * User page callbacks for the contact module. + * Page callbacks for the Contact module. */ /** - * Form builder; the site-wide contact form. + * Form constructor for the site-wide contact form. * * @see contact_site_form_validate() * @see contact_site_form_submit() + * @ingroup forms */ function contact_site_form($form, &$form_state) { global $user; @@ -112,6 +113,8 @@ function contact_site_form($form, &$form_state) { /** * Form validation handler for contact_site_form(). + * + * @see contact_site_form_submit() */ function contact_site_form_validate($form, &$form_state) { if (!$form_state['values']['cid']) { @@ -124,6 +127,8 @@ function contact_site_form_validate($form, &$form_state) { /** * Form submission handler for contact_site_form(). + * + * @see contact_site_form_validate() */ function contact_site_form_submit($form, &$form_state) { global $user, $language; @@ -166,10 +171,14 @@ function contact_site_form_submit($form, &$form_state) { } /** - * Form builder; the personal contact form. + * Form constructor for the personal contact form. * + * Path: user/%user/contact + * + * @see contact_menu() * @see contact_personal_form_validate() * @see contact_personal_form_submit() + * @ingroup forms */ function contact_personal_form($form, &$form_state, $recipient) { global $user; @@ -244,7 +253,7 @@ function contact_personal_form($form, &$form_state, $recipient) { /** * Form validation handler for contact_personal_form(). * - * @see contact_personal_form() + * @see contact_personal_form_submit() */ function contact_personal_form_validate($form, &$form_state) { if (!valid_email_address($form_state['values']['mail'])) { @@ -255,7 +264,7 @@ function contact_personal_form_validate($form, &$form_state) { /** * Form submission handler for contact_personal_form(). * - * @see contact_personal_form() + * @see contact_personal_form_validate() */ function contact_personal_form_submit($form, &$form_state) { global $user, $language; |