Index: components/email.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/email.inc,v
retrieving revision 1.16.2.7.2.11
diff -u -r1.16.2.7.2.11 email.inc
--- components/email.inc	6 Oct 2008 05:45:41 -0000	1.16.2.7.2.11
+++ components/email.inc	30 Oct 2008 22:37:21 -0000
@@ -144,13 +144,17 @@
  * @param $component
  *   An array of information describing the component, directly correlating to
  *   the webform_component database schema.
+ * @param $enabled
+ *   If enabled, the value may be changed. Otherwise it will set to readonly.
  * @return
  *   Textual output formatted for human reading.
  */
-function _webform_submission_display_email($data, $component, $enabled = false) {
+function _webform_submission_display_email($data, $component, $enabled = FALSE) {
   $form_item = _webform_render_email($component);
   $form_item['#default_value'] = $data['value']['0'];
-  $form_item['#disabled'] = !$enabled;
+  if (!$enabled) {
+    $form_item['#attributes']['readonly'] = 'readonly';
+  }
   return $form_item;
 }
 
Index: components/markup.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/markup.inc,v
retrieving revision 1.3.2.4.2.9
diff -u -r1.3.2.4.2.9 markup.inc
--- components/markup.inc	6 Sep 2008 20:51:36 -0000	1.3.2.4.2.9
+++ components/markup.inc	30 Oct 2008 22:37:21 -0000
@@ -84,7 +84,7 @@
  * @return
  *   Textual output formatted for human reading.
  */
-function _webform_submission_display_markup($data, $component, $enabled = false) {
+function _webform_submission_display_markup($data, $component, $enabled = FALSE) {
   $form_item = _webform_render_markup($component);
   return $form_item;
 }
Index: components/time.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/time.inc,v
retrieving revision 1.14.2.6.2.8
diff -u -r1.14.2.6.2.8 time.inc
--- components/time.inc	8 Oct 2008 19:51:44 -0000	1.14.2.6.2.8
+++ components/time.inc	30 Oct 2008 22:37:22 -0000
@@ -186,10 +186,12 @@
  * @param $component
  *   An array of information describing the component, directly correlating to
  *   the webform_component database schema.
+ * @param $enabled
+ *   If enabled, the value may be changed. Otherwise it will set to readonly.
  * @return
  *   Textual output formatted for human reading.
  */
-function _webform_submission_display_time($data, $component, $enabled = false) {
+function _webform_submission_display_time($data, $component, $enabled = FALSE) {
   $form_item = _webform_render_time($component);
   $form_item['minute']['#default_value'] = $data['value']['1'];
   $form_item['minute']['#disabled'] = !$enabled;
Index: components/select.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/select.inc,v
retrieving revision 1.18.2.19.2.25
diff -u -r1.18.2.19.2.25 select.inc
--- components/select.inc	30 Oct 2008 22:04:11 -0000	1.18.2.19.2.25
+++ components/select.inc	30 Oct 2008 22:37:21 -0000
@@ -176,10 +176,12 @@
  * @param $component
  *   An array of information describing the component, directly correlating to
  *   the webform_component database schema.
+ * @param $enabled
+ *   If enabled, the value may be changed. Otherwise it will set to readonly.
  * @return
  *   Textual output formatted for human reading.
  */
-function _webform_submission_display_select($data, $component, $enabled = false) {
+function _webform_submission_display_select($data, $component, $enabled = FALSE) {
   $form_item = _webform_render_select($component);
   if ($component['extra']['multiple'] == 'Y') {
     // Set the value as an array.
Index: components/textarea.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/textarea.inc,v
retrieving revision 1.11.2.4.2.8
diff -u -r1.11.2.4.2.8 textarea.inc
--- components/textarea.inc	30 Oct 2008 22:09:59 -0000	1.11.2.4.2.8
+++ components/textarea.inc	30 Oct 2008 22:37:22 -0000
@@ -106,13 +106,17 @@
  * @param $component
  *   An array of information describing the component, directly correlating to
  *   the webform_component database schema.
+ * @param $enabled
+ *   If enabled, the value may be changed. Otherwise it will set to readonly.
  * @return
  *   Textual output formatted for human reading.
  */
-function _webform_submission_display_textarea($data, $component, $enabled = false) {
+function _webform_submission_display_textarea($data, $component, $enabled = FALSE) {
   $form_item = _webform_render_textarea($component);
   $form_item['#default_value'] = $data['value']['0'];
-  $form_item['#disabled'] = !$enabled;
+  if (!$enabled) {
+    $form_item['#attributes']['readonly'] = 'readonly';
+  }
   return $form_item;
 }
 
Index: components/textfield.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/textfield.inc,v
retrieving revision 1.11.2.7.2.8
diff -u -r1.11.2.7.2.8 textfield.inc
--- components/textfield.inc	14 Oct 2008 18:20:02 -0000	1.11.2.7.2.8
+++ components/textfield.inc	30 Oct 2008 22:37:22 -0000
@@ -135,13 +135,17 @@
  * @param $component
  *   An array of information describing the component, directly correlating to
  *   the webform_component database schema.
+ * @param $enabled
+ *   If enabled, the value may be changed. Otherwise it will set to readonly.
  * @return
  *   Textual output formatted for human reading.
  */
-function _webform_submission_display_textfield($data, $component, $enabled = false) {
+function _webform_submission_display_textfield($data, $component, $enabled = FALSE) {
   $form_item = _webform_render_textfield($component);
   $form_item['#default_value'] = $data['value']['0'];
-  $form_item['#disabled'] = !$enabled;
+  if (!$enabled) {
+    $form_item['#attributes']['readonly'] = 'readonly';
+  }
   return $form_item;
 }
 
Index: components/fieldset.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/fieldset.inc,v
retrieving revision 1.3.4.4.2.5
diff -u -r1.3.4.4.2.5 fieldset.inc
--- components/fieldset.inc	6 Sep 2008 20:51:36 -0000	1.3.4.4.2.5
+++ components/fieldset.inc	30 Oct 2008 22:37:21 -0000
@@ -81,7 +81,7 @@
  * @return
  *   Textual output formatted for human reading.
  */
-function _webform_submission_display_fieldset($data, $component, $enabled = false) {
+function _webform_submission_display_fieldset($data, $component, $enabled = FALSE) {
   $form_item = _webform_render_fieldset($component);
   return $form_item;
 }
Index: components/hidden.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/hidden.inc,v
retrieving revision 1.11.2.3.2.12
diff -u -r1.11.2.3.2.12 hidden.inc
--- components/hidden.inc	6 Sep 2008 20:51:36 -0000	1.11.2.3.2.12
+++ components/hidden.inc	30 Oct 2008 22:37:21 -0000
@@ -79,10 +79,12 @@
  * @param $component
  *   An array of information describing the component, directly correlating to
  *   the webform_component database schema.
+ * @param $enabled
+ *   If enabled, the value may be changed. Otherwise it will set to readonly.
  * @return
  *   Textual output formatted for human reading.
  */
-function _webform_submission_display_hidden($data, $component, $enabled = false) {
+function _webform_submission_display_hidden($data, $component, $enabled = FALSE) {
   $form_item = _webform_render_hidden($component);
   // Only allow administrators that can view or edit all submissions to view or edit hidden fields.
   if (user_access('edit webform submissions') || user_access('access webform results')) {
@@ -90,7 +92,9 @@
     $form_item['#default_value'] = $data['value']['0'];
     $form_item['#type'] = 'textfield';
     $form_item['#title'] = t('@name (hidden)', array('@name' => $component['name']));
-    $form_item['#disabled'] = !$enabled;
+    if (!$enabled) {
+      $form_item['#attributes']['readonly'] = 'readonly';
+    }
   }
   return $form_item;
 }
Index: components/grid.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/grid.inc,v
retrieving revision 1.1.2.3.2.13
diff -u -r1.1.2.3.2.13 grid.inc
--- components/grid.inc	8 Oct 2008 19:51:44 -0000	1.1.2.3.2.13
+++ components/grid.inc	30 Oct 2008 22:37:21 -0000
@@ -131,6 +131,8 @@
  * @param $component
  *   An array of information describing the component, directly correlating to
  *   the webform_component database schema
+ * @param $enabled
+ *   If enabled, the value may be changed. Otherwise it will set to readonly.
  * @return
  *   Textual output formatted for human reading.
  **/
Index: components/file.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/file.inc,v
retrieving revision 1.2.2.19.2.22
diff -u -r1.2.2.19.2.22 file.inc
--- components/file.inc	8 Oct 2008 19:51:44 -0000	1.2.2.19.2.22
+++ components/file.inc	30 Oct 2008 22:37:21 -0000
@@ -393,16 +393,18 @@
  * @param $component
  *   An array of information describing the component, directly correlating to
  *   the webform_component database schema.
+ * @param $enabled
+ *   If enabled, the value may be changed. Otherwise it will set to readonly.
  * @return
  *   Textual output formatted for human reading.
  */
-function _webform_submission_display_file($data, $component, $enabled = false) {
+function _webform_submission_display_file($data, $component, $enabled = FALSE) {
   $filedata = unserialize($data['value'][0]);
   $form_item = _webform_render_file($component);
   if (!$enabled) {
     $form_item['#type'] = 'textfield';
     $form_item['#tree'] = TRUE;
-    $form_item['#disabled'] = TRUE;
+    $form_item['#attributes']['readonly'] = 'readonly';
     $form_item['#default_value'] = empty($filedata['filepath']) ? $filedata['error'] : $filedata['filepath'];
   }
   if ($filedata['filename']) {
Index: components/date.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/date.inc,v
retrieving revision 1.13.2.15.2.13
diff -u -r1.13.2.15.2.13 date.inc
--- components/date.inc	8 Oct 2008 19:51:44 -0000	1.13.2.15.2.13
+++ components/date.inc	30 Oct 2008 22:37:21 -0000
@@ -248,10 +248,12 @@
  * @param $component
  *   An array of information describing the component, directly correlating to
  *   the webform_component database schema.
+ * @param $enabled
+ *   If enabled, the value may be changed. Otherwise it will set to readonly.
  * @return
  *   Textual output formatted for human reading.
  */
-function _webform_submission_display_date($data, $component, $enabled = false) {
+function _webform_submission_display_date($data, $component, $enabled = FALSE) {
   $form_item = _webform_render_date($component);
   $form_item['month']['#default_value'] = $data['value']['0'];
   $form_item['day']['#default_value'] = $data['value']['1'];
