Completed html entinities change in makestat

This commit is contained in:
Michiel Broek 2005-01-03 21:03:28 +00:00
parent 1bec80b5a1
commit 76eb157faa
2 changed files with 24 additions and 15 deletions

View File

@ -24,10 +24,6 @@ v0.71.1 28-Nov-2004
During hangup we set sighup to ignore. During hangup we set sighup to ignore.
Fixed keyboad input for all bigendian machines. Fixed keyboad input for all bigendian machines.
mbfido:
With html create some entries are not forced to use html
entinities. For test!
mbfile: mbfile:
The adopt command now first checks if the filename is 8.3 or a The adopt command now first checks if the filename is 8.3 or a
long filename and the correct format for import is then set. long filename and the correct format for import is then set.
@ -51,6 +47,8 @@ v0.71.1 28-Nov-2004
mbfido: mbfido:
In rfc2ftn a debug logmessage added to check for unrecognised In rfc2ftn a debug logmessage added to check for unrecognised
message ids. message ids.
With html create the general strings are now converted to html
entinities.
mbnntp: mbnntp:
Removed dead timercode. Removed dead timercode.

View File

@ -147,8 +147,10 @@ void MakeStat(void)
while ((fread(&mgroup, mgrouphdr.recsize, 1, fg)) == 1) { while ((fread(&mgroup, mgrouphdr.recsize, 1, fg)) == 1) {
if (mgroup.Active) { if (mgroup.Active) {
fseek(fi, fileptr, SEEK_SET); fseek(fi, fileptr, SEEK_SET);
MacroVars("b", "s", mgroup.Name); html_massage(mgroup.Name, name);
MacroVars("c", "s", mgroup.Comment); MacroVars("b", "s", name);
html_massage(mgroup.Comment, name);
MacroVars("c", "s", name);
MacroVars("d", "s", mgroup.UseAka.zone ? aka2str(mgroup.UseAka):" "); MacroVars("d", "s", mgroup.UseAka.zone ? aka2str(mgroup.UseAka):" ");
MacroVars("e", "s", adate(mgroup.LastDate)); MacroVars("e", "s", adate(mgroup.LastDate));
MacroVars("f", "d", mgroup.MsgsRcvd.lweek); MacroVars("f", "d", mgroup.MsgsRcvd.lweek);
@ -194,9 +196,12 @@ void MakeStat(void)
} }
fseek(fi, fileptr, SEEK_SET); fseek(fi, fileptr, SEEK_SET);
MacroVars("b", "d", Area); MacroVars("b", "d", Area);
MacroVars("c", "s", msgs.Name); html_massage(msgs.Name, name);
MacroVars("d", "s", msgs.Tag); MacroVars("c", "s", name);
MacroVars("e", "s", msgs.Group); html_massage(msgs.Tag, name);
MacroVars("d", "s", name);
html_massage(msgs.Group, name);
MacroVars("e", "s", name);
MacroVars("f", "s", adate(msgs.LastRcvd)); MacroVars("f", "s", adate(msgs.LastRcvd));
MacroVars("g", "d", msgs.Received.lweek); MacroVars("g", "d", msgs.Received.lweek);
MacroVars("h", "d", msgs.Received.month[Lm]); MacroVars("h", "d", msgs.Received.month[Lm]);
@ -233,8 +238,10 @@ void MakeStat(void)
while ((fread(&fgroup, fgrouphdr.recsize, 1, fg)) == 1) { while ((fread(&fgroup, fgrouphdr.recsize, 1, fg)) == 1) {
if (fgroup.Active) { if (fgroup.Active) {
fseek(fi, fileptr, SEEK_SET); fseek(fi, fileptr, SEEK_SET);
MacroVars("b", "s", fgroup.Name); html_massage(fgroup.Name, name);
MacroVars("c", "s", fgroup.Comment); MacroVars("b", "s", name);
html_massage(fgroup.Comment, name);
MacroVars("c", "s", name);
MacroVars("d", "s", fgroup.UseAka.zone ? aka2str(fgroup.UseAka):" "); MacroVars("d", "s", fgroup.UseAka.zone ? aka2str(fgroup.UseAka):" ");
MacroVars("e", "s", adate(fgroup.LastDate)); MacroVars("e", "s", adate(fgroup.LastDate));
MacroVars("f", "d", fgroup.Files.lweek); MacroVars("f", "d", fgroup.Files.lweek);
@ -271,9 +278,12 @@ void MakeStat(void)
while ((fread(&tic, tichdr.recsize, 1, fg)) == 1) { while ((fread(&tic, tichdr.recsize, 1, fg)) == 1) {
if (tic.Active) { if (tic.Active) {
fseek(fi, fileptr, SEEK_SET); fseek(fi, fileptr, SEEK_SET);
MacroVars("b", "s", tic.Comment); html_massage(tic.Comment, name);
MacroVars("c", "s", tic.Name); MacroVars("b", "s", name);
MacroVars("d", "s", tic.Group); html_massage(tic.Name, name);
MacroVars("c", "s", name);
html_massage(tic.Group, name);
MacroVars("d", "s", name);
MacroVars("e", "s", adate(tic.LastAction)); MacroVars("e", "s", adate(tic.LastAction));
MacroVars("f", "d", tic.Files.lweek); MacroVars("f", "d", tic.Files.lweek);
MacroVars("g", "d", tic.KBytes.lweek); MacroVars("g", "d", tic.KBytes.lweek);
@ -318,7 +328,8 @@ void MakeStat(void)
else else
q = xstrcpy((char *)"Normal"); q = xstrcpy((char *)"Normal");
MacroVars("b", "s", aka2str(nodes.Aka[0])); MacroVars("b", "s", aka2str(nodes.Aka[0]));
MacroVars("c", "s", nodes.Sysop); html_massage(nodes.Sysop, name);
MacroVars("c", "s", name);
MacroVars("d", "s", q); MacroVars("d", "s", q);
MacroVars("e", "s", p); MacroVars("e", "s", p);
MacroVars("f", "s", adate(nodes.LastDate)); MacroVars("f", "s", adate(nodes.LastDate));