any changes to the email body need to happen in the email template file.
1) in the template, the code that displays the date is:
<?php echo date("n-j-Y", $now); ?> | <?php echo date("g:i A T", $now); ?>
you can change the format that is displayed by changing the first part of the data function, for example:
n-j-Y
uses the month number without leading zeros, day of the month without leading zeros and 4 digit year.
see the php data manual for ,more details on the different formats.
function.date.php
2) the code to show the label is:
<?php echo(str_replace("_"," ",$pkey)); ?>
you can get rid of the unwanted part of the label by adding another str_replace function:
<?php echo(str_replace("_"," ",str_replace("Registration_group_","",$pkey))); ?>
3) To display the first name and last name in the email use the following code:
welcome <?php echo((isset($_POST["Registration_group_First_Name"])?$_POST["Registration_group_First_Name"]:""); ?> <?php echo((isset($_POST["Registration_group_Last_Name"])?$_POST["Registration_group_Last_Name"]:""); ?>
4) the hidden field and registration submit are the submit button and a hidden fieild used for honey pots validation.
you can remove them from the email by editing the $removeBegins array:
$removeBegins = array();
$removeBegins[] = "Security";
to:
$removeBegins = array();
$removeBegins[] = "Security";
$removeBegins[] = "Hidden_Field";
$removeBegins[] = "Registration_submit";