Index: webform_php.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform_php/webform_php.module,v
retrieving revision 1.1
diff -u -r1.1 webform_php.module
--- webform_php.module	27 Mar 2010 04:29:44 -0000	1.1
+++ webform_php.module	8 Apr 2010 05:32:17 -0000
@@ -89,12 +89,17 @@
 function webform_php_configure_form(&$form, $form_state) {
   $node = node_load($form['nid']['#value']);
 
+  $variables = theme('item_list', array(
+    '$node: ' . t('The complete node object for the webform.'),
+    '$form_state: ' . t('The current state of the submission. Usually you will check the contents of $form_state[\'values\'][\'submitted\'] for user-entered values.'),
+  ));
+
   $form['php'] = array(
     '#type' => 'fieldset',
     '#title' => t('Additional PHP processing'),
     '#collapsible' => TRUE,
     '#collapsed' => empty($node->webform['additional_validate']) && empty($node->webform['additional_submit']),
-    '#description' => t('PHP may be used to add additional functionality to your form. Enter code below, wrapped in &lt;?php ?&gt; tags. The code must start with &lt;?php in order to be executed. The following variables are available in both fields.'),
+    '#description' => t('PHP may be used to add additional functionality to your form. The code must start with &lt;?php in order to be executed. The following variables are available in both fields:') . $variables,
     '#weight' => 10,
   );
 
