Author Topic: !remove link appears on new line (after preceeding text)  (Read 1309 times)

andy.breeding

  • Posts: 2
    • View Profile
!remove link appears on new line (after preceeding text)
« 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?

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
!remove link appears on new line (after preceeding text)
« Reply #1 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.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

andy.breeding

  • Posts: 2
    • View Profile
!remove link appears on new line (after preceeding text)
« Reply #2 on: October 15, 2004, 09:36:32 pm »
Thank you!