Merge pull request #3108 from Elsensee/ticket/13284

[ticket/13284] Message body not included in email
This commit is contained in:
Joas Schilling 2014-11-21 23:10:00 +01:00
commit 0017fad554
4 changed files with 5 additions and 5 deletions

View file

@ -48,7 +48,7 @@ $lang = array_merge($lang, array(
'BEFORE' => 'Before', 'BEFORE' => 'Before',
'CC_EMAIL' => 'Send a copy of this email to yourself.', 'CC_SENDER' => 'Send a copy of this email to yourself.',
'CONTACT_ADMIN' => 'Contact a Board Administrator', 'CONTACT_ADMIN' => 'Contact a Board Administrator',
'DEST_LANG' => 'Language', 'DEST_LANG' => 'Language',

View file

@ -117,7 +117,7 @@ class topic_form extends form
'TOPIC_NAME' => htmlspecialchars_decode($this->topic_row['topic_title']), 'TOPIC_NAME' => htmlspecialchars_decode($this->topic_row['topic_title']),
'U_TOPIC' => generate_board_url() . '/viewtopic.' . $this->phpEx . '?f=' . $this->topic_row['forum_id'] . '&t=' . $this->topic_id, 'U_TOPIC' => generate_board_url() . '/viewtopic.' . $this->phpEx . '?f=' . $this->topic_row['forum_id'] . '&t=' . $this->topic_id,
)); ));
$this->message->set_body($this->body);
$this->message->add_recipient( $this->message->add_recipient(
$this->recipient_name, $this->recipient_name,
$this->recipient_address, $this->recipient_address,

View file

@ -80,7 +80,7 @@
<!-- IF S_REGISTERED_USER --> <!-- IF S_REGISTERED_USER -->
<dl> <dl>
<dt>&nbsp;</dt> <dt>&nbsp;</dt>
<dd><label for="cc_email"><input type="checkbox" name="cc_email" id="cc_email" value="1" checked="checked" tabindex="5" /> {L_CC_EMAIL}</label></dd> <dd><label for="cc_sender"><input type="checkbox" name="cc_sender" id="cc_sender" value="1" checked="checked" tabindex="5" /> {L_CC_SENDER}</label></dd>
</dl> </dl>
<!-- ENDIF --> <!-- ENDIF -->
</fieldset> </fieldset>

View file

@ -72,8 +72,8 @@
<td class="row2"> <td class="row2">
<table cellspacing="0" cellpadding="1" border="0"> <table cellspacing="0" cellpadding="1" border="0">
<tr> <tr>
<td><input type="checkbox" class="radio" name="cc_email" value="1" checked="checked" /></td> <td><input type="checkbox" class="radio" name="cc_sender" value="1" checked="checked" /></td>
<td class="gen">{L_CC_EMAIL}</td> <td class="gen">{L_CC_SENDER}</td>
</tr> </tr>
</table> </table>
</td> </td>