Index: includes/coder_6x.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/coder/includes/coder_6x.inc,v
retrieving revision 1.17.2.44
diff -u -p -r1.17.2.44 coder_6x.inc
--- includes/coder_6x.inc	20 Feb 2008 14:52:41 -0000	1.17.2.44
+++ includes/coder_6x.inc	23 Feb 2008 19:52:10 -0000
@@ -115,7 +115,7 @@ function coder_6x_reviews() {
       '#type' => 'regex',
       '#source' => 'allphp',
       '#value' => '\$form\s*\[\s*[\'"]#validate[\'"]\]\[[\'"]',
-      '#warning' => 'Validation for specific form elements now uses the #element_validate property',
+      '#warning_callback' => '_coder_6x_formapi_element_validate_warning',
     ),
     array(
       '#type' => 'regex',
@@ -137,7 +137,7 @@ function coder_6x_reviews() {
       '#type' => 'regex',
       '#value' => '\$form\[[\'"]#submit[\'"]\]\[[\'"]',
       '#source' => 'allphp',
-      '#warning' => '$form[\'#submit\'] and $form[\'#validate\'] no longer support custom parameters',
+      '#warning_callback' => '_coder_6x_formapi_custom_params_warning',
     ),
     array(
       '#type' => 'regex',
@@ -655,6 +655,14 @@ function _coder_6x_file_check_upload_war
   );
 }
 
+function _coder_6x_formapi_element_validate_warning() {
+  return array(
+      '#source' => 'allphp',
+      '#warning' => 'Validation for specific form elements now uses the #element_validate property',
+      '#link' => 'http://drupal.org/node/144132#element-validate',
+  );
+}
+
 function _coder_6x_form_validate_and_submit_warning() {
   return array(
     '#warning' => t('The parameters for form validation and submission functions have changed to $form, &$form_state.'),
@@ -669,6 +677,14 @@ function _coder_6x_form_prerender_warnin
   );
 }
 
+function _coder_6x_formapi_custom_params_warning() {
+  return array(
+    '#source' => 'allphp',
+    '#warning' => '$form[\'#submit\'] and $form[\'#validate\'] no longer support custom parameters',
+    '#link' => 'http://drupal.org/node/144132#custom-params',
+  );
+}
+
 function _coder_6x_form_set_value_warning() {
   return array(
     '#warning' => t('!form_set_value() parameters have changed',
