/[drupal]/contributions/modules/webform/webform.module
ViewVC logotype

Diff of /contributions/modules/webform/webform.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.139, Fri Nov 6 00:38:09 2009 UTC revision 1.140, Fri Nov 6 01:11:58 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: webform.module,v 1.138 2009/11/06 00:27:40 quicksketch Exp $  // $Id: webform.module,v 1.139 2009/11/06 00:38:09 quicksketch Exp $
3    
4  /**  /**
5   * This module provides a simple way to create forms and questionnaires.   * This module provides a simple way to create forms and questionnaires.
# Line 1684  function template_preprocess_webform_mai Line 1684  function template_preprocess_webform_mai
1684   *   The current amount of indentation being applied to printed components.   *   The current amount of indentation being applied to printed components.
1685   */   */
1686  function theme_webform_mail_fields($cid, $value, $node, $indent = "") {  function theme_webform_mail_fields($cid, $value, $node, $indent = "") {
1687    $component = $node->webform['components'][$cid];    $component = $cid ? $node->webform['components'][$cid] : null;
1688    
1689    // Check if this component needs to be included in the email at all.    // Check if this component needs to be included in the email at all.
1690    if ($cid && !$component['email'] && !in_array($component['type'], array('markup', 'fieldset', 'pagebreak'))) {    if ($cid && !$component['email'] && !in_array($component['type'], array('markup', 'fieldset', 'pagebreak'))) {

Legend:
Removed from v.1.139  
changed lines
  Added in v.1.140

  ViewVC Help
Powered by ViewVC 1.1.2