Updated docs, mbfile index LFN name fix for www

This commit is contained in:
Michiel Broek 2002-12-12 21:21:14 +00:00
parent 8ff623fa4e
commit ad0a3c0a2d
2 changed files with 12 additions and 2 deletions

View File

@ -16,6 +16,16 @@ v0.35.07 11-Dec-2002
On FreeBSD the lsz and lrz programs are found as alternate for On FreeBSD the lsz and lrz programs are found as alternate for
lz and sz. lz and sz.
mbsebbs:
With menu 201 there is now a new optional data parameter N.
When used if a user selects a different message area, areas
with new unread mail are marked with a yellow star.
mbfile:
The index command displays LFN names in the webpages again.
The real download still sends the 8.3 name.
v0.35.06 13-Nov-2002 - 11-Dec-2002 v0.35.06 13-Nov-2002 - 11-Dec-2002

View File

@ -580,11 +580,11 @@ void Index(void)
area.Path+strlen(CFG.ftp_base), file.Name); area.Path+strlen(CFG.ftp_base), file.Name);
sprintf(linebuf, "%s/%s%s/.%s", CFG.www_url, CFG.www_link2ftp, sprintf(linebuf, "%s/%s%s/.%s", CFG.www_url, CFG.www_link2ftp,
area.Path+strlen(CFG.ftp_base), file.Name); area.Path+strlen(CFG.ftp_base), file.Name);
MacroVars("fghi", "dsss", 1, outbuf, file.Name, linebuf); MacroVars("fghi", "dsss", 1, outbuf, file.LName, linebuf);
} else { } else {
sprintf(outbuf, "%s/%s%s/%s", CFG.www_url, CFG.www_link2ftp, sprintf(outbuf, "%s/%s%s/%s", CFG.www_url, CFG.www_link2ftp,
area.Path+strlen(CFG.ftp_base), file.Name); area.Path+strlen(CFG.ftp_base), file.Name);
MacroVars("fghi", "dsss", 0, outbuf, file.Name, ""); MacroVars("fghi", "dsss", 0, outbuf, file.LName, "");
} }
sprintf(outbuf, "%lu Kb.", (long)(file.Size / 1024)); sprintf(outbuf, "%lu Kb.", (long)(file.Size / 1024));
MacroVars("jkl", "ssd", StrDateDMY(file.FileDate), outbuf, file.TimesDL+file.TimesFTP+file.TimesReq); MacroVars("jkl", "ssd", StrDateDMY(file.FileDate), outbuf, file.TimesDL+file.TimesFTP+file.TimesReq);