Blocked selection of FTN and Usenet moderated message areas
This commit is contained in:
parent
e58d20dc08
commit
19bcce90ab
@ -12,6 +12,9 @@ v0.91.13 12-Oct-2007
|
||||
mbnewusr:
|
||||
Added GeoIP support.
|
||||
|
||||
mbsetup:
|
||||
Blocked selection of FTN and Usenet moderated message areas.
|
||||
|
||||
|
||||
v0.91.12 24-Sep-2007 - 12-Oct-2007
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<BLOCKQUOTE>
|
||||
<div align="right"><h5>Last update 23-Feb-2004</h5></div>
|
||||
<div align="right"><h5>Last update 14-Oct-2007</h5></div>
|
||||
<div align="center"><H1>MBSE BBS Setup - Mail Setup -> Mail Areas.</H1></div>
|
||||
|
||||
<H3>Introduction.</H3>
|
||||
@ -47,7 +47,7 @@ change netmail reply board and delete message area.
|
||||
<strong>QWK name </strong>The name of the area for OffLine Readers.
|
||||
<strong>Distrib. </strong>Leave this blank for now!
|
||||
<strong>Area Type </strong>Local, Netmail, Echomail or News.
|
||||
<strong>Msg Kinds </strong>Private/Public, Private, Public, Read Only, FTN moderated, Usenet Moderated
|
||||
<strong>Msg Kinds </strong>Private/Public, Private, Public, Read Only.
|
||||
<strong>Charset </strong>Default characterset for the area
|
||||
<strong>Active </strong>If this area is active.
|
||||
<strong>Days Old </strong>The maximum age of the messages before purging.
|
||||
|
@ -1626,15 +1626,15 @@ int edit_emailmode(int y, int x, int val)
|
||||
|
||||
char *getmsgkinds(int val)
|
||||
{
|
||||
switch (val) {
|
||||
case BOTH: return (char *)"Private/Public ";
|
||||
case PRIVATE: return (char *)"Private only ";
|
||||
case PUBLIC: return (char *)"Public only ";
|
||||
case RONLY: return (char *)"Read Only ";
|
||||
case FTNMOD: return (char *)"FTN moderated ";
|
||||
case USEMOD: return (char *)"Usenet moderated";
|
||||
default: return NULL;
|
||||
}
|
||||
switch (val) {
|
||||
case BOTH: return (char *)"Private/Public ";
|
||||
case PRIVATE: return (char *)"Private only ";
|
||||
case PUBLIC: return (char *)"Public only ";
|
||||
case RONLY: return (char *)"Read Only ";
|
||||
case FTNMOD: return (char *)"FTN_mod obsolete";
|
||||
case USEMOD: return (char *)"USE_mod obsolete";
|
||||
default: return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1648,25 +1648,28 @@ void show_msgkinds(int y, int x, int val)
|
||||
|
||||
int edit_msgkinds(int y, int x, int val)
|
||||
{
|
||||
int ch;
|
||||
int ch;
|
||||
|
||||
showhelp((char *)"Toggle ^Message Kinds^ with spacebar, press <Enter> whene done.");
|
||||
do {
|
||||
set_color(YELLOW, BLUE);
|
||||
show_msgkinds(y, x, val);
|
||||
|
||||
ch = readkey(y, x, YELLOW, BLUE);
|
||||
|
||||
if (ch == ' ') {
|
||||
if (val < USEMOD)
|
||||
val++;
|
||||
else
|
||||
val = BOTH;
|
||||
}
|
||||
} while (ch != KEY_ENTER && ch != '\012');
|
||||
set_color(WHITE, BLACK);
|
||||
showhelp((char *)"Toggle ^Message Kinds^ with spacebar, press <Enter> whene done.");
|
||||
do {
|
||||
set_color(YELLOW, BLUE);
|
||||
show_msgkinds(y, x, val);
|
||||
return val;
|
||||
|
||||
ch = readkey(y, x, YELLOW, BLUE);
|
||||
|
||||
if (ch == ' ') {
|
||||
/*
|
||||
* Node, defined upto USEMOD, but we only use upto RONLY.
|
||||
*/
|
||||
if (val < RONLY)
|
||||
val++;
|
||||
else
|
||||
val = BOTH;
|
||||
}
|
||||
} while (ch != KEY_ENTER && ch != '\012');
|
||||
set_color(WHITE, BLACK);
|
||||
show_msgkinds(y, x, val);
|
||||
return val;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user