Projet

Général

Profil

Révision 76bdcd04

Ajouté par Assos Assos il y a presque 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/webform/includes/webform.emails.inc
233 233
      case 'from_address':
234 234
        $default_value = webform_replace_tokens(webform_variable_get('webform_default_from_address'), $node);
235 235
        $title = t('E-mail from address');
236
        $description = t('Any email, select, or hidden form element may be selected as the sender\'s e-mail address.');
236
        $description = t("Any email, select, or hidden form element may be selected as the sender's e-mail address.");
237 237
        break;
238 238

  
239 239
      case 'from_name':
240 240
        $default_value = webform_replace_tokens(webform_variable_get('webform_default_from_name'), $node);
241 241
        $title = t('E-mail from name');
242
        $description = t('Any textfield, select, or hidden form element may be selected as the sender\'s name for e-mails.');
242
        $description = t("Any textfield, select, or hidden form element may be selected as the sender's name for e-mails.");
243 243
        break;
244 244
    }
245 245

  
......
740 740
 *   other fields from the e-mail form.
741 741
 *
742 742
 * @return false|int
743
 *   On success SAVED_NEW or SAVED_UPDATED, depending on the operation performed,
744
 *   false on failure.
743
 *   On success SAVED_NEW or SAVED_UPDATED, depending on the operation
744
 *   performed, FALSE on failure.
745 745
 */
746 746
function webform_email_update($email) {
747 747
  $email['excluded_components'] = implode(',', $email['excluded_components']);

Formats disponibles : Unified diff