ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: andy.breeding on October 04, 2004, 05:42:42 pm

Title: !remove link appears on new line (after preceeding text)
Post by: andy.breeding on October 04, 2004, 05:42:42 pm
I am trying to configure a !remove link as follows:

  To unsubscribe from this mailing list, click: Here

But the link itself (titled "Here" for HTML users) wraps to the next line, even though there is room for it in the message.  It looks awkward.  Any way to fix this?
Title: !remove link appears on new line (after preceeding text)
Post by: DW on October 05, 2004, 09:24:09 am
No, unfortunately there isn't a way to fix this from within the program.  This is hard-coded.

What you can do is change the following code in admin.php:
Code: [Select]
  case 'remove' :
    if($mhtml=='1'){
     if($data1) $rtext = $data1 . "<br>"; else $rtext = '';
     $rtext .= "<a class=coderem href=\"" . $lmpath . "rem.php?u=$usid\">$data2</a><br>";
    } else {

To:
Code: [Select]
  case 'remove' :
    if($mhtml=='1'){
     if($data1) $rtext = $data1; else $rtext = '';
     $rtext .= "<a class=coderem href=\"" . $lmpath . "rem.php?u=$usid\">$data2</a><br>";
    } else {

Note that when I release updates you will be instructed to overwrite the files and this change will be lost.
Title: !remove link appears on new line (after preceeding text)
Post by: andy.breeding on October 15, 2004, 09:36:32 pm
Thank you!