Fixed date of birth question in mbsebbs and newuser

This commit is contained in:
Michiel Broek 2001-12-18 19:57:30 +00:00
parent 0e787dab0f
commit cb0ff54acf
15 changed files with 271 additions and 244 deletions

View File

@ -4324,10 +4324,16 @@ v0.33.19 26-Oct-2001
Fixed quote initials of the original user containing a space Fixed quote initials of the original user containing a space
character if there was a dot followed by a space in the users character if there was a dot followed by a space in the users
name. name.
If Ask Date of Birth is not set in the configuration the user
can't change his date of birth and his age is 0 years. You
should not disable this if you restrict access to some file
areas if you want to test the users age. Also the age in the
users record is invalid.
mbnewusr: mbnewusr:
New program, run by user bbs. This is only to register a new New program, run by user bbs. This is only to register a new
bbs user. Should be started by the bbs account. bbs user. Should be started by the bbs account.
Ask Date of Birth now only is asked if set in configuration.
mbcico: mbcico:
Removed IEMSI support since mbsebbs doesn't support it Removed IEMSI support since mbsebbs doesn't support it

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@ -1,79 +1,84 @@
<HTML> <HTML>
<HEAD> <HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO 8859-1"> <META http-equiv="Content-Type" content="text/html; charset=ISO 8859-1">
<META http-equiv="Content-Style-Type" content="text/css"> <META http-equiv="Content-Style-Type" content="text/css">
<META name="author" lang="en" "content="Michiel Broek"> <META name="author" lang="en" content="Michiel Broek">
<META name="copyright" lang="en" content="Copyright Michiel Broek"> <META name="copyright" lang="en" content="Copyright Michiel Broek">
<META name="description" lang="en" content="MBSE BBS Manual"> <META name="description" lang="en" content="MBSE BBS Manual">
<META name="keywords" lang="en" content="MBSE BBS, MBSE, BBS, manual, fido, fidonet, gateway, tosser, mail, tic, mailer"> <META name="keywords" lang="en" content="MBSE BBS, MBSE, BBS, manual, fido, fidonet, gateway, tosser, mail, tic, mailer">
<TITLE>MBSE BBS Setup - BBS Setup - File Areas.</TITLE> <TITLE>MBSE BBS Setup - BBS Setup - File Areas.</TITLE>
<LINK rel=stylesheet HREF="../manual.css"> <LINK rel=stylesheet HREF="../manual.css">
</HEAD> </HEAD>
<BODY> <BODY>
<BLOCKQUOTE> <BLOCKQUOTE>
<h5>Last update 29-Jan-2001</h5> <h5>Last update 16-Dec-2001</h5>
<P>&nbsp;<P> <P>&nbsp;<P>
<H1>MBSE BBS Setup - BBS Setup - File Areas.</H1> <H1>MBSE BBS Setup - BBS Setup - File Areas.</H1>
<P> <P>
<H3>File Areas introduction.</H3> <H3>File Areas introduction.</H3>
<P> <P>
This is the setup for the file areas in which users can up and download files. This is the setup for the file areas in which users can up and download files.
This database has fixed area numbers, the database can't be packed. This is This database has fixed area numbers, the database can't be packed. This is
done because areas can point to other areas and users are "used" to use done because areas can point to other areas and users are "used" to use
areas by number. Also the .tic areas reference the file areas by record areas by number. Also the .tic areas reference the file areas by record
numbers. Extending the database is allways possible. One important note, numbers. Extending the database is allways possible. One important note,
before you can set this up, you need to define the <A HREF="newgroups.html"> before you can set this up, you need to define the <A HREF="newgroups.html">
newfiles groups</A>. newfiles groups</A>.
<P>&nbsp;<p> <P>&nbsp;<p>
<H3>File Areas Setup.</H3> <H3>File Areas Setup.</H3>
<P> <P>
<pre> <pre>
<strong>Area Name </strong>The area name. <strong>Area Name </strong>The area name.
<strong>Path </strong>The full path to the file area. <strong>Path </strong>The full path to the file area.
<strong>Down Sec. </strong>The download security level. <strong>Down Sec. </strong>The download security level.
<strong>Upl. Sec. </strong>The upload security level. <strong>Upl. Sec. </strong>The upload security level.
<strong>List Sec. </strong>The security level to list the files in this area. <strong>List Sec. </strong>The security level to list the files in this area.
<strong>Files.bbs </strong>The full path and filename if this area is on CDROM. <strong>Files.bbs </strong>The full path and filename if this area is on CDROM.
You may leave this blank if it is in the Path together You may leave this blank if it is in the Path together
with the files. with the files.
<strong>Available </strong>If this area is available. <strong>Available </strong>If this area is available. If you make an available
<strong>Check New </strong>Check this area for new files if a user logs in. area unavailable the area is checked if there are
<strong>Dupecheck </strong>Check this area for duplicates if a user uploads a file. downloadable files in that area. If so, you can't remove
<strong>Free area </strong>If all files in this area are free. the area. If there are none you will be asked if you are
<strong>Direct DL </strong>Allow direct download from this area. sure. After the area is made unavailable, the record is
<strong>Pwd upl. </strong>Allow users to password protect their uploads. filled with reasonable default values.
<strong>Filefind </strong>Search in this area for filefind requests. <strong>Check New </strong>Check this area for new files if a user logs in.
<strong>Add alpha </strong>Add .tic files alphabetic sorted or at the bottom of the list. <strong>Dupecheck </strong>Check this area for duplicates if a user uploads a file.
<strong>CDrom </strong>Is this a CDROM area. The affects the behaviour of some <strong>Free area </strong>If all files in this area are free.
other utilities because the Path is read-only. <strong>Direct DL </strong>Allow direct download from this area.
<strong>File req. </strong>Allow File Request from this area. <strong>Pwd upl. </strong>Allow users to password protect their uploads.
<strong>BBS group </strong>Not in use yet. <strong>Filefind </strong>Search in this area for filefind requests.
<strong>New group </strong>New files announce group. See <A HREF="newgroups.html">Newfiles groups</A> for more info. <strong>Add alpha </strong>Add .tic files alphabetic sorted or at the bottom of the list.
<strong>Min. age </strong>Minimum user age to access this area. <strong>CDrom </strong>Is this a CDROM area. The affects the behaviour of some
<strong>Password </strong>The password for this area. If blank, no password is needed. other utilities because the Path is read-only.
<strong>DL days </strong>How long must a file not been downloaded to (re)move it. <strong>File req. </strong>Allow File Request from this area.
<strong>FD days </strong>How old must a file be to be (re)moved. <strong>BBS group </strong>Not in use yet.
<strong>Move area </strong>The area to move the file to, if zero it is deleted. <strong>New group </strong>New files announce group. See <A HREF="newgroups.html">Newfiles groups</A> for more info.
<strong>Cost </strong>The cost in units to download from this area. <strong>Min. age </strong>Minimum user age to access this area.
<strong>Archiver </strong>The archiver to use to repack the files with. <strong>Password </strong>The password for this area. If blank, no password is needed.
<strong>Upload </strong>Alternate upload area. If a user uploads a file in this <strong>DL days </strong>How long must a file not been downloaded to (re)move it.
area, it will be placed in the alternate area. If the <strong>FD days </strong>How old must a file be to be (re)moved.
value is zero, the file will be placed in the current <strong>Move area </strong>The area to move the file to, if zero it is deleted.
file area. On CD-rom areas you must not leave this zero <strong>Cost </strong>The cost in units to download from this area.
unless you set the upload security level so high that <strong>Archiver </strong>The archiver to use to repack the files with.
nobody can upload in this area. <strong>Upload </strong>Alternate upload area. If a user uploads a file in this
</pre> area, it will be placed in the alternate area. If the
<P> value is zero, the file will be placed in the current
<IMG SRC="../images/files.gif" width="589" height="343"> file area. On CD-rom areas you must not leave this zero
<P> unless you set the upload security level so high that
nobody can upload in this area.
<A HREF="bbs.html"><IMG SRC="../images/larrow.gif" ALT="Back" Border="0" width="40" height="30"> Back to BBS index</A>&nbsp; </pre>
<A HREF="./"><IMG SRC="../images/larrow.gif" ALT="Back" Border="0" width="40" height="30"> Back to index</A>&nbsp; <P>
<A HREF="../"><IMG SRC="../images/b_arrow.gif" ALT="Home" Border="0" width="33" height="35"> Back to main index</A> <IMG SRC="../images/files.gif" width="589" height="343">
</BLOCKQUOTE> <P>
</BODY>
</HTML> <A HREF="bbs.html"><IMG SRC="../images/larrow.gif" ALT="Back" Border="0" width="40" height="30"> Back to BBS index</A>&nbsp;
<A HREF="./"><IMG SRC="../images/larrow.gif" ALT="Back" Border="0" width="40" height="30"> Back to index</A>&nbsp;
<A HREF="../"><IMG SRC="../images/b_arrow.gif" ALT="Home" Border="0" width="33" height="35"> Back to main index</A>
</BLOCKQUOTE>
</BODY>
</HTML>

View File

@ -11,7 +11,7 @@
</HEAD> </HEAD>
<BODY> <BODY>
<BLOCKQUOTE> <BLOCKQUOTE>
<h5>Last update 25-Oct-2001</h5> <h5>Last update 16-Dec-2001</h5>
<P>&nbsp;<P> <P>&nbsp;<P>
<H1>MBSE BBS Setup - BBS Setup - Language Setup.</H1> <H1>MBSE BBS Setup - BBS Setup - Language Setup.</H1>
@ -28,7 +28,7 @@ present in your local language, the BBS will fall back to the default
language. This is true for the menus and textfiles for the BBS. It is language. This is true for the menus and textfiles for the BBS. It is
therefore wise to name all menus and textfiles the same for all languages used. therefore wise to name all menus and textfiles the same for all languages used.
When you setup the languages for the first time, entries for English, Dutch, When you setup the languages for the first time, entries for English, Dutch,
Spanish, Galego and Italian are created. Spanish, Galego, Italian and German languages are created.
<P>&nbsp;<p> <P>&nbsp;<p>
<H3>Language setup.</H3> <H3>Language setup.</H3>

View File

@ -1,146 +1,147 @@
<HTML> <HTML>
<HEAD> <HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO 8859-1"> <META http-equiv="Content-Type" content="text/html; charset=ISO 8859-1">
<META http-equiv="Content-Style-Type" content="text/css"> <META http-equiv="Content-Style-Type" content="text/css">
<META name="author" lang="en" "content="Michiel Broek"> <META name="author" lang="en" content="Michiel Broek">
<META name="copyright" lang="en" content="Copyright Michiel Broek"> <META name="copyright" lang="en" content="Copyright Michiel Broek">
<META name="description" lang="en" content="MBSE BBS Manual"> <META name="description" lang="en" content="MBSE BBS Manual">
<META name="keywords" lang="en" content="MBSE BBS, MBSE, BBS, manual, fido, fidonet, gateway, tosser, mail, tic, mailer"> <META name="keywords" lang="en" content="MBSE BBS, MBSE, BBS, manual, fido, fidonet, gateway, tosser, mail, tic, mailer">
<TITLE>MBSE BBS Setup - Fidonet nodes.</TITLE> <TITLE>MBSE BBS Setup - Fidonet nodes.</TITLE>
<LINK rel=stylesheet HREF="../manual.css"> <LINK rel=stylesheet HREF="../manual.css">
</HEAD> </HEAD>
<BODY> <BODY>
<BLOCKQUOTE> <BLOCKQUOTE>
<h5>Last update 22-Jun-2001</h5> <h5>Last update 22-Jun-2001</h5>
<P>&nbsp;<P> <P>&nbsp;<P>
<H1>MBSE BBS Setup - Fidonet nodes.</H1> <H1>MBSE BBS Setup - Fidonet nodes.</H1>
<P> <P>
<h3>Introduction</H3> <h3>Introduction</H3>
<P> <P>
Unlike many other bbs packages, for each node you need only one record. If you Unlike many other bbs packages, for each node you need only one record. If you
have a relation with a node for one network with costsharing, and other have a relation with a node for one network with costsharing, and other
networks without costsharing you need two records for that node. For each node networks without costsharing you need two records for that node. For each node
you can setup the aka's, mail, files and session handshake. you can setup the aka's, mail, files and session handshake.
<p>&nbsp;<p> <p>&nbsp;<p>
<H3>Main setup</H3> <H3>Main setup</H3>
<p> <p>
<pre> <pre>
<strong>Sysop name </strong>The name of the system operator. <strong>Sysop name </strong>The name of the system operator.
<strong>Fido aka's </strong>Maximum 20 Fido addresses. <strong>Fido aka's </strong>Maximum 20 Fido addresses.
<strong>Dial command </strong>You can put an override here for the normal <strong>Dial command </strong>You can put an override here for the normal
dial command. If you leave this empty the dial command. If you leave this empty the
command from the modem setup is used. command from the modem setup is used.
<strong>Phone number 1 </strong>An alternative phone number/ip address to dial. <strong>Phone number 1 </strong>An alternative phone number/ip address to dial.
<strong>Phone number 2 </strong>An alternative phone number/ip address to dial. <strong>Phone number 2 </strong>An alternative phone number/ip address to dial.
Use these above commands if the node has Use these above commands if the node has
another phone number as mentioned in the another phone number as mentioned in the
nodelist. If you call this node via TCP/IP nodelist. If you call this node via TCP/IP
and the IP address can't be resolved by and the IP address can't be resolved by
the nodelist, you may enter an IP address the nodelist, you may enter an IP address
or hostname here. or hostname here.
<strong>Route via </strong>A route via Fido address. All mail for this <strong>Route via </strong>A route via Fido address. All mail for this
node will be send via this Aka, even mail node will be send via this Aka, even mail
and files for other networks. This can be and files for other networks. This can be
usefull if this node has internet access usefull if this node has internet access
so you can send everything to this node so you can send everything to this node
over the internet. over the internet.
<strong>Netmail direct </strong>Set "direct" flag in netmail to this node. <strong>Netmail direct </strong>Set "direct" flag in netmail to this node.
<strong>Netmail crash </strong>Send netmail always "crash" to this node. <strong>Netmail crash </strong>Send netmail always "crash" to this node.
<strong>Netmail hold </strong>Put mail on "hold" for this node. <strong>Netmail hold </strong>Put mail on "hold" for this node.
<strong>Send notify </strong>Send automatic generated notify messages. <strong>Send notify </strong>Send automatic generated notify messages.
<strong>Language </strong>The language to use (not yet working). <strong>Language </strong>The language to use (not yet working).
<strong>Deleted </strong>If this node must be deleted. <strong>Deleted </strong>If this node must be deleted.
<strong>No EMSI </strong>Disable EMSI handshake. <strong>No EMSI </strong>Disable EMSI handshake.
<strong>No YooHoo/2U2 </strong>Disable FTSC-0006 handshake. <strong>No YooHoo/2U2 </strong>Disable FTSC-0006 handshake.
<strong>No Filerequest </strong>Disable filerquest from this node. <strong>No Filerequest </strong>Disable filerquest from this node.
<strong>Don't call </strong>Do not call this node. <strong>Don't call </strong>Do not call this node.
<strong>No Hold mail </strong>Only pickup mail if we call, send nothing. <strong>No Hold mail </strong>Only pickup mail if we call, send nothing.
<strong>Pickup primary </strong>Only exchange mail for one Aka. <strong>Pickup primary </strong>Only exchange mail for one Aka.
<strong>No Zmodem </strong>Disable Zmodem protocol. <strong>No Zmodem </strong>Disable Zmodem protocol.
<strong>No Zedzap </strong>Disable Zedzap protocol. <strong>No Zedzap </strong>Disable Zedzap protocol.
<strong>No Hydra </strong>Disable Hydra protocol. <strong>No Hydra </strong>Disable Hydra protocol.
<strong>No TCP/IP </strong>Disbale TCP/IP protocol, forces dial only. <strong>No TCP/IP </strong>Disbale TCP/IP protocol, forces dial only.
</pre> <strong>8.3 names </strong>Set this if the node only accepts 8.3 filenames.
<P> </pre>
<IMG SRC="../images/nodes.gif" width="589" height="343"> <P>
<P>&nbsp;<p> <IMG SRC="../images/nodes.gif">
<P>&nbsp;<p>
<H3>Mail setup</H3>
<P> <H3>Mail setup</H3>
<pre> <P>
<strong>Session pwd </strong>The mailer session password. <pre>
<strong>Check PKT pwd </strong>Check password in received .pkt files. If not, <strong>Session pwd </strong>The mailer session password.
errors or missing passwords are only logged. <strong>Check PKT pwd </strong>Check password in received .pkt files. If not,
If set, errors or missing password are refused errors or missing passwords are only logged.
and the .pkt files are renamed to .bad If set, errors or missing password are refused
<strong>UplMgr program </strong>The name of the Areamgr program of this node. and the .pkt files are renamed to .bad
(This doesn't work yet). <strong>UplMgr program </strong>The name of the Areamgr program of this node.
<strong>UplMgr passwd </strong>The password for the Areamgr of this node. (This doesn't work yet).
<strong>Mail forward </strong>Not in use yet. <strong>UplMgr passwd </strong>The password for the Areamgr of this node.
<strong>ARCmail comp. </strong>Use ARCmail 0.60 file naming convention for out of zone mail. <strong>Mail forward </strong>Not in use yet.
<strong>ARCmail a..z </strong>Allow a..z last character for ARCmail filenames. <strong>ARCmail comp. </strong>Use ARCmail 0.60 file naming convention for out of zone mail.
</pre> <strong>ARCmail a..z </strong>Allow a..z last character for ARCmail filenames.
<P> </pre>
<IMG SRC="../images/nodes1.gif" width="576" height="344"> <P>
<P>&nbsp;<p> <IMG SRC="../images/nodes1.gif">
<P>&nbsp;<p>
<H3>Mail groups</H3>
<P> <H3>Mail groups</H3>
Here you can tag which mail groups are available for this node. Note that all <P>
groups are visible here, even for networks this node has no aka's in. Be Here you can tag which mail groups are available for this node. Note that all
carefull not to allow a node to connect areas from networks he has no aka in. groups are visible here, even for networks this node has no aka's in. Be
<P> carefull not to allow a node to connect areas from networks he has no aka in.
<IMG SRC="../images/nodes2.gif" width="589" height="343"> <P>
<P>&nbsp;<p> <IMG SRC="../images/nodes2.gif">
<P>&nbsp;<p>
<H3>File setup</H3>
<P> <H3>File setup</H3>
<pre> <P>
<strong>Files password </strong>The password for .tic files. <pre>
<strong>Mgr password </strong>The password for the Areamgr and Filemgr. <strong>Files password </strong>The password for .tic files.
<strong>UplMgr program </strong>The name of the Filemgr progrom of this node. <strong>Mgr password </strong>The password for the Areamgr and Filemgr.
<strong>UplMgr passwd </strong>The password of the Filemgr if this node. <strong>UplMgr program </strong>The name of the Filemgr progrom of this node.
<strong>UplMgr Add + </strong>Add a "+" in the command to connect areas. <strong>UplMgr passwd </strong>The password of the Filemgr if this node.
<strong>Incl. message </strong>Send a netmail message for each file to send. <strong>UplMgr Add + </strong>Add a "+" in the command to connect areas.
<strong>Send TIC file </strong>Send .tic file to this node. <strong>Incl. message </strong>Send a netmail message for each file to send.
<strong>Advanced TIC </strong>Send advanced or standard .tic files. <strong>Send TIC file </strong>Send .tic file to this node.
<strong>File forward </strong>Forward TIC files for this node (not yet). <strong>Advanced TIC </strong>Send advanced or standard .tic files.
<strong>Billing </strong>Is Costsharing active for this node. <strong>File forward </strong>Forward TIC files for this node (not yet).
<strong>Bill direct </strong>Send the bill direct or on command. <strong>Billing </strong>Is Costsharing active for this node.
<strong>Credit </strong>The credit this node has in units. <strong>Bill direct </strong>Send the bill direct or on command.
<strong>Debet </strong>The debet we have with this node (informational). <strong>Credit </strong>The credit this node has in units.
<strong>Add </strong>Add (or substract) factor to the bill. <strong>Debet </strong>The debet we have with this node (informational).
<strong>Warn level </strong>The debet level when to write a warning mesage. <strong>Add </strong>Add (or substract) factor to the bill.
<strong>Stop level </strong>The debet level when to stop sending files. <strong>Warn level </strong>The debet level when to write a warning mesage.
</pre> <strong>Stop level </strong>The debet level when to stop sending files.
<P> </pre>
<IMG SRC="../images/nodes3.gif" width="589" height="343"> <P>
<P>&nbsp;<p> <IMG SRC="../images/nodes3.gif">
<P>&nbsp;<p>
<H3>File groups</H3>
<P> <H3>File groups</H3>
The same story as for mail groups is true for the file groups. <P>
<P> The same story as for mail groups is true for the file groups.
<IMG SRC="../images/nodes4.gif" width="589" height="343"> <P>
<P>&nbsp;<p> <IMG SRC="../images/nodes4.gif">
<P>&nbsp;<p>
<H3>Statistics</H3>
<P> <H3>Statistics</H3>
In this statistics screen you can see the mail and files flow with this <P>
node. Values are stored for the current week, the previous week, the In this statistics screen you can see the mail and files flow with this
current month and previous month and the overall total since you defined node. Values are stored for the current week, the previous week, the
this node. There are actual 12 months of statistics stored in the nodes current month and previous month and the overall total since you defined
record, only 2 are visible. this node. There are actual 12 months of statistics stored in the nodes
<P> record, only 2 are visible.
<IMG SRC="../images/nodes5.gif" width="589" height="343"> <P>
<P> <IMG SRC="../images/nodes5.gif">
<P>
<A HREF="./"><IMG SRC="../images/larrow.gif" ALT="Back" Border="0" width="40" height="30"> Back to index</A>&nbsp;
<A HREF="../"><IMG SRC="../images/b_arrow.gif" ALT="Home" Border="0" width="33" height="35"> Back to main index</A> <A HREF="./"><IMG SRC="../images/larrow.gif" ALT="Back" Border="0" width="40" height="30"> Back to index</A>&nbsp;
</BLOCKQUOTE> <A HREF="../"><IMG SRC="../images/b_arrow.gif" ALT="Home" Border="0" width="33" height="35"> Back to main index</A>
</BODY> </BLOCKQUOTE>
</HTML> </BODY>
</HTML>

View File

@ -722,7 +722,18 @@ int Test_DOB(char *DOB)
int tyear, year, month, day; int tyear, year, month, day;
char temp[40], temp1[40]; char temp[40], temp1[40];
/* First check length of string */ /*
* If Ask Date of Birth is off, assume users age is
* zero, and this check is ok.
*/
if (!CFG.iDOB) {
UserAge = 0;
return TRUE;
}
/*
* First check length of string
*/
if (strlen(DOB) != 10) { if (strlen(DOB) != 10) {
Syslog('!', "Date format length %d characters", strlen(DOB)); Syslog('!', "Date format length %d characters", strlen(DOB));
/* Please enter the correct date format */ /* Please enter the correct date format */
@ -769,8 +780,10 @@ void Chg_DOB()
{ {
char *temp; char *temp;
temp = calloc(81, sizeof(char)); if (!CFG.iDOB)
return;
temp = calloc(81, sizeof(char));
ReadExitinfo(); ReadExitinfo();
Syslog('+', "Old DOB %s", exitinfo.sDateOfBirth); Syslog('+', "Old DOB %s", exitinfo.sDateOfBirth);
@ -793,7 +806,6 @@ void Chg_DOB()
/* /*
* Change default protocol. * Change default protocol.
*/ */

View File

@ -375,7 +375,8 @@ int newuser()
} else /* End of if Statement */ } else /* End of if Statement */
sprintf(usrconfig.sSex, "Unknown"); /* If set off, set to Unknown */ sprintf(usrconfig.sSex, "Unknown"); /* If set off, set to Unknown */
while (TRUE) { if (CFG.iDOB) {
while (TRUE) {
Enter(1); Enter(1);
/* Please enter your Date of Birth DD-MM-YYYY: */ /* Please enter your Date of Birth DD-MM-YYYY: */
pout(CYAN, BLACK, (char *) Language(56)); pout(CYAN, BLACK, (char *) Language(56));
@ -390,20 +391,22 @@ int newuser()
sprintf(temp2, "%04d", iLang); sprintf(temp2, "%04d", iLang);
if ((strcmp(temp1,temp2)) == 0) { if ((strcmp(temp1,temp2)) == 0) {
Enter(1);
/* Sorry you entered this year by mistake. */
pout(LIGHTRED, BLACK, (char *) Language(57));
Enter(1);
} else {
if((strlen(temp)) != 10) {
Enter(1); Enter(1);
/* Sorry you entered this year by mistake. */ /* Please enter the correct date format */
pout(LIGHTRED, BLACK, (char *) Language(57)); pout(LIGHTRED, BLACK, (char *) Language(58));
Enter(1); Enter(1);
} else } else {
if((strlen(temp)) != 10) { strcpy(usrconfig.sDateOfBirth,temp);
Enter(1); break;
/* Please enter the correct date format */ }
pout(LIGHTRED, BLACK, (char *) Language(58)); }
Enter(1); }
} else {
strcpy(usrconfig.sDateOfBirth,temp);
break;
}
} }
usrconfig.tFirstLoginDate = ltime; /* Set first login date to current date */ usrconfig.tFirstLoginDate = ltime; /* Set first login date to current date */

View File

@ -1448,7 +1448,7 @@ void edit_color(int *fg, int *bg, char *help)
clr_index(); clr_index();
set_color(WHITE, BLACK); set_color(WHITE, BLACK);
mvprintw(5, 6, "1.7 EDIT COLORS"); mvprintw(5, 6, "1.8 EDIT COLORS");
sprintf(temp, "Change the ^%s^ color with arrow keys, press <Enter> whene done", help); sprintf(temp, "Change the ^%s^ color with arrow keys, press <Enter> whene done", help);
showhelp(temp); showhelp(temp);