diff --git a/themes/blueprint/templates/Helpers/email-form-fields.phtml b/themes/blueprint/templates/Helpers/email-form-fields.phtml index 01c6df977cd3bc2f4fc90e774e7c472a11b26e38..e4bcfa8a5a7bf3f08ae1e855278a60eca95af20b 100644 --- a/themes/blueprint/templates/Helpers/email-form-fields.phtml +++ b/themes/blueprint/templates/Helpers/email-form-fields.phtml @@ -1,13 +1,13 @@ <label class="displayBlock" for="email_to"><?=$this->transEsc('To')?>:</label> <? $toValidations = ($this->maxRecipients == 1) ? array('required'=>'This field is required', 'email'=>'Email address is invalid') : array('required'=>'This field is required')?> <input id="email_to" type="text" name="to" value="<?=isset($this->to) ? $this->to : ''?>" size="40" class="mainFocus <?=$this->jqueryValidation($toValidations)?>"/> - <? if ($this->maxRecipients != 1): ?> - <br /> - <?=$this->transEsc('email_multiple_recipients_note')?> - <? if ($this->maxRecipients > 1): ?> - <?=$this->transEsc('email_maximum_recipients_note', array('%%max%%' => $this->maxRecipients))?> - <? endif; ?> +<? if ($this->maxRecipients != 1): ?> + <br /> + <?=$this->transEsc('email_multiple_recipients_note')?> + <? if ($this->maxRecipients > 1): ?> + <?=$this->transEsc('email_maximum_recipients_note', array('%%max%%' => $this->maxRecipients))?> <? endif; ?> +<? endif; ?> <? if (!$this->disableFrom): ?> <label class="displayBlock" for="email_from"><?=$this->transEsc('From')?>:</label> <input id="email_from" type="text" name="from" value="<?=isset($this->from) ? $this->from : ''?>" size="40" class="<?=$this->jqueryValidation(array('required'=>'This field is required', 'email'=>'Email address is invalid'))?>"/>