ISSUE:
When printing the HTML for EZMLMIDX mailling lists, the HTML is incorrect,
resulting in the list name not getting printed.

The fix is in mailinglist.c  starting at line 108 with the EZMLMIDX
definition
in the first fprintf statement.

Original Code
-----------------------------
#ifdef EZMLMIDX
  fprintf(actout, "<td align=\"middle\">
  <a
href=\"%s/com/modmailinglist?user=%s&dom=%s&time=%d&modu=%s>%s@%s\"></a></td
>\n",
  CGIPATH,user,Domain,mytime,mailinglist_name,mailinglist_name,Domain);
#else
  fprintf(actout,"<td align=\"middle\">%s@%s</td>\n", mailinglist_name,
Domain);
#endif
-----------------------------

Fixed Code
-----------------------------
#ifdef EZMLMIDX
  fprintf(actout, "<td align=\"middle\">
  <a
href=\"%s/com/modmailinglist?user=%s&dom=%s&time=%d&modu=%s\">%s@%s</a></td>
\n",
  CGIPATH,user,Domain,mytime,mailinglist_name,mailinglist_name,Domain);
#else
  fprintf(actout,"<td align=\"middle\">%s@%s</td>\n", mailinglist_name,
Domain);
#endif
-----------------------------

&modu=%s>%s@%s\"></a>   becomes   &modu=%s\">%s@%s</a>
resulting in the list name being printed.

If you are not using EZMLMIDX then dont worry about it because the else
statement prints the HTML correctly.

Thanks,

Dallas Engelken
Internet Consultant
Network Management Group, Inc.
http://www.nmgi.com
https://mail.hutchnet.com my vpopmail project


Reply via email to