Commit cc65b426 authored by deuce's avatar deuce
Browse files

Fix ups for mail "sub"

parent 47291ccb
load("sbbsdefs.js");
load("html_inc/msgslib.ssjs");
template.sub=msg_area.grp_list[g].sub_list[s];
if(template.sub.settings & SUB_FIDO) {
template.type="FidoNet";
template.tagline=template.sub.fidonet_origin;
}
else if(template.sub.settings & SUB_QNET) {
template.type="QWK";
template.tagline=template.sub.qwknet_tagline;
}
else if(template.sub.settings & SUB_PNET) {
template.type="PostLink";
template.tagline="Unknown";
if((g==undefined || isNaN(g) || g==-1) && sub=='mail') {
template.type="Internet";
template.sub=new Object;
template.sub.description="Internet E-Mail";
template.sub.newsgroup="<NONE>";
template.sub.name="MAIL";
template.sub.qwk_name="<NONE>";
template.sub.is_moderated=false;
template.sub.can_post=true;
template.sub.can_read=true;
template.sub.max_msgs="Unknown";
}
else {
template.type="Local";
template.tagline="";
template.sub=msg_area.grp_list[g].sub_list[s];
if(template.sub.settings & SUB_FIDO) {
template.type="FidoNet";
template.tagline=template.sub.fidonet_origin;
}
else if(template.sub.settings & SUB_QNET) {
template.type="QWK";
template.tagline=template.sub.qwknet_tagline;
}
else if(template.sub.settings & SUB_PNET) {
template.type="PostLink";
template.tagline="Unknown";
}
else {
template.type="Local";
template.tagline="";
}
}
write_template("header.inc");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment