Jump to content
MakeWebGames

Recommended Posts

Posted (edited)

these are just small adjustments which puts a EXIT link on each of the error notifications and a Cancel button on the Compose mail incase you dont want to send one

mail.inc.php

 

Ive updated the TPL file which should fix the SUBJECT repeating issue

mail.tpl.php

Edited by Uridium
Edited tpl file
  • Like 2
Posted (edited)

NOTE NONE OF THIS CODE HAS BEEN TESTED BUT SHOULD WORK

find the following in mail.tpl.php 

public $mailForm = '

then find inside $mailForm

<input name="subject" class="form-control" placeholder="Subject" value="{#if subject}RE: {subject}{/if}" / >

replace with 

<input name="subject" class="form-control" placeholder="Subject" value="{#if subject}{subject}{/if}" / >

then find the following method in mail.inc.php

public function method_reply() {

find this line inside the above method

 if (!$error) {

add this below 

$this->methodData->subject = (strpos($this->methodData->subject, 'RE:') !== false ? $this->methodData->subject : 'RE: '. $this->methodData->subject);

@Canjucks @Uridium

Edited by URBANZ
  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...