Index: webform.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/webform.module,v
retrieving revision 1.113.2.70.2.34
diff -u -r1.113.2.70.2.34 webform.module
--- webform.module 31 Mar 2008 20:31:58 -0000 1.113.2.70.2.34
+++ webform.module 2 Apr 2008 00:14:29 -0000
@@ -1739,6 +1739,13 @@
}
/**
+ * Filters all special tokens provided by webform, and allows basic layout in descriptions.
+ */
+function _webform_filterdescriptions($string, $node = NULL, $submission = NULL, $strict = TRUE) {
+ return check_markup(_webform_filtervalues($string, $node = NULL, $submission = NULL, $strict = TRUE));
+}
+
+/**
* Menu callback for admin/content/webform. Displays all webforms on the site.
*/
function webform_admin_content() {
Index: webform_components.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/webform_components.inc,v
retrieving revision 1.1.2.17
diff -u -r1.1.2.17 webform_components.inc
--- webform_components.inc 15 Mar 2008 01:03:25 -0000 1.1.2.17
+++ webform_components.inc 1 Apr 2008 23:06:25 -0000
@@ -283,10 +283,9 @@
'#weight' => -1,
);
$form['extra']['description'] = array(
- '#type' => 'textfield',
+ '#type' => 'textarea',
'#default_value' => isset($component['extra']['description']) ? $component['extra']['description'] : '',
'#title' => t("Description"),
- '#maxlength' => '512',
'#description' => t('A short description of the field used as help for the user when he/she uses the form.') .'
'. webform_help('webform/helptext#variables'),
'#weight' => -1,
);
Index: components/date.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/date.inc,v
retrieving revision 1.13.2.15.2.1
diff -u -r1.13.2.15.2.1 date.inc
--- components/date.inc 27 Jan 2008 23:07:25 -0000 1.13.2.15.2.1
+++ components/date.inc 2 Apr 2008 00:11:27 -0000
@@ -84,7 +84,7 @@
'#title' => $component['name'],
'#weight' => $component['weight'],
'#theme' => 'webform_date',
- '#description' => _webform_filtervalues($component['extra']['description']),
+ '#description' => _webform_filterdescriptions($component['extra']['description']),
'#prefix' => '