summaryrefslogtreecommitdiff
path: root/workshop_registration.inc
diff options
context:
space:
mode:
authorprashantsinalkar2018-10-24 16:42:49 +0530
committerprashantsinalkar2018-10-24 16:42:49 +0530
commite8e234944bae61a5005de6eafb33176639006001 (patch)
treeccef8905b58bd29ff92b1d2d684fbcdd71eb92b6 /workshop_registration.inc
parent60e504fa4ca086abf5431ab5a1594e9c5732af94 (diff)
downloadosdag_workshop_booking-e8e234944bae61a5005de6eafb33176639006001.tar.gz
osdag_workshop_booking-e8e234944bae61a5005de6eafb33176639006001.tar.bz2
osdag_workshop_booking-e8e234944bae61a5005de6eafb33176639006001.zip
fixed mail header for html mail and fixed spell mistek
Diffstat (limited to 'workshop_registration.inc')
-rw-r--r--workshop_registration.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/workshop_registration.inc b/workshop_registration.inc
index 7b6d6fd..3475a9c 100644
--- a/workshop_registration.inc
+++ b/workshop_registration.inc
@@ -1,4 +1,5 @@
<?php
+require_once('workshop_registration_email.inc');
/* workshop booking registration form */
$date_picker_js = "
(function($) {
@@ -88,7 +89,7 @@ function osdag_workshop_booking_form($form, &$form_state)
);
$form['personal_info']['lname'] = array(
'#type' => 'textfield',
- '#title' => t('last Name'),
+ '#title' => t('Last Name'),
'#size' => 30,
'#maxlength' => 50,
'#required' => TRUE
@@ -211,7 +212,6 @@ function osdag_workshop_booking_form($form, &$form_state)
'#type' => 'textfield',
'#size' => 30,
'#maxlength' => 30,
- '#required' => TRUE,
'#states' => array(
'visible' => array(
':input[name="workshop_info[participant_type][Others]"]' =>
@@ -539,7 +539,7 @@ function osdag_workshop_booking_form_submit($form, &$form_state)
$params['proposal_received']['headers'] = array(
'From' => $from,
'MIME-Version' => '1.0',
- 'Content-Type' => 'text/plain; charset=UTF-8; format=flowed; delsp=yes',
+ 'Content-Type' => 'text/html; charset=UTF-8; format=flowed; delsp=yes',
'Content-Transfer-Encoding' => '8Bit',
'X-Mailer' => 'Drupal',
'Cc' => $cc,