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
character if there was a dot followed by a space in the users
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:
New program, run by user bbs. This is only to register a new
bbs user. Should be started by the bbs account.
Ask Date of Birth now only is asked if set in configuration.
mbcico:
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>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO 8859-1">
<META http-equiv="Content-Style-Type" content="text/css">
<META name="author" lang="en" "content="Michiel Broek">
<META name="copyright" lang="en" content="Copyright Michiel Broek">
<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">
<TITLE>MBSE BBS Setup - BBS Setup - File Areas.</TITLE>
<LINK rel=stylesheet HREF="../manual.css">
</HEAD>
<BODY>
<BLOCKQUOTE>
<h5>Last update 29-Jan-2001</h5>
<P>&nbsp;<P>
<H1>MBSE BBS Setup - BBS Setup - File Areas.</H1>
<P>
<H3>File Areas introduction.</H3>
<P>
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
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
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">
newfiles groups</A>.
<P>&nbsp;<p>
<H3>File Areas Setup.</H3>
<P>
<pre>
<strong>Area Name </strong>The area name.
<strong>Path </strong>The full path to the file area.
<strong>Down Sec. </strong>The download 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>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
with the files.
<strong>Available </strong>If this area is available.
<strong>Check New </strong>Check this area for new files if a user logs in.
<strong>Dupecheck </strong>Check this area for duplicates if a user uploads a file.
<strong>Free area </strong>If all files in this area are free.
<strong>Direct DL </strong>Allow direct download from this area.
<strong>Pwd upl. </strong>Allow users to password protect their uploads.
<strong>Filefind </strong>Search in this area for filefind requests.
<strong>Add alpha </strong>Add .tic files alphabetic sorted or at the bottom of the list.
<strong>CDrom </strong>Is this a CDROM area. The affects the behaviour of some
other utilities because the Path is read-only.
<strong>File req. </strong>Allow File Request from this area.
<strong>BBS group </strong>Not in use yet.
<strong>New group </strong>New files announce group. See <A HREF="newgroups.html">Newfiles groups</A> for more info.
<strong>Min. age </strong>Minimum user age to access this area.
<strong>Password </strong>The password for this area. If blank, no password is needed.
<strong>DL days </strong>How long must a file not been downloaded to (re)move it.
<strong>FD days </strong>How old must a file be to be (re)moved.
<strong>Move area </strong>The area to move the file to, if zero it is deleted.
<strong>Cost </strong>The cost in units to download from this area.
<strong>Archiver </strong>The archiver to use to repack the files with.
<strong>Upload </strong>Alternate upload area. If a user uploads a file in this
area, it will be placed in the alternate area. If the
value is zero, the file will be placed in the current
file area. On CD-rom areas you must not leave this zero
unless you set the upload security level so high that
nobody can upload in this area.
</pre>
<P>
<IMG SRC="../images/files.gif" width="589" height="343">
<P>
<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>
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO 8859-1">
<META http-equiv="Content-Style-Type" content="text/css">
<META name="author" lang="en" content="Michiel Broek">
<META name="copyright" lang="en" content="Copyright Michiel Broek">
<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">
<TITLE>MBSE BBS Setup - BBS Setup - File Areas.</TITLE>
<LINK rel=stylesheet HREF="../manual.css">
</HEAD>
<BODY>
<BLOCKQUOTE>
<h5>Last update 16-Dec-2001</h5>
<P>&nbsp;<P>
<H1>MBSE BBS Setup - BBS Setup - File Areas.</H1>
<P>
<H3>File Areas introduction.</H3>
<P>
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
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
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">
newfiles groups</A>.
<P>&nbsp;<p>
<H3>File Areas Setup.</H3>
<P>
<pre>
<strong>Area Name </strong>The area name.
<strong>Path </strong>The full path to the file area.
<strong>Down Sec. </strong>The download 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>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
with the files.
<strong>Available </strong>If this area is available. If you make an available
area unavailable the area is checked if there are
downloadable files in that area. If so, you can't remove
the area. If there are none you will be asked if you are
sure. After the area is made unavailable, the record is
filled with reasonable default values.
<strong>Check New </strong>Check this area for new files if a user logs in.
<strong>Dupecheck </strong>Check this area for duplicates if a user uploads a file.
<strong>Free area </strong>If all files in this area are free.
<strong>Direct DL </strong>Allow direct download from this area.
<strong>Pwd upl. </strong>Allow users to password protect their uploads.
<strong>Filefind </strong>Search in this area for filefind requests.
<strong>Add alpha </strong>Add .tic files alphabetic sorted or at the bottom of the list.
<strong>CDrom </strong>Is this a CDROM area. The affects the behaviour of some
other utilities because the Path is read-only.
<strong>File req. </strong>Allow File Request from this area.
<strong>BBS group </strong>Not in use yet.
<strong>New group </strong>New files announce group. See <A HREF="newgroups.html">Newfiles groups</A> for more info.
<strong>Min. age </strong>Minimum user age to access this area.
<strong>Password </strong>The password for this area. If blank, no password is needed.
<strong>DL days </strong>How long must a file not been downloaded to (re)move it.
<strong>FD days </strong>How old must a file be to be (re)moved.
<strong>Move area </strong>The area to move the file to, if zero it is deleted.
<strong>Cost </strong>The cost in units to download from this area.
<strong>Archiver </strong>The archiver to use to repack the files with.
<strong>Upload </strong>Alternate upload area. If a user uploads a file in this
area, it will be placed in the alternate area. If the
value is zero, the file will be placed in the current
file area. On CD-rom areas you must not leave this zero
unless you set the upload security level so high that
nobody can upload in this area.
</pre>
<P>
<IMG SRC="../images/files.gif" width="589" height="343">
<P>
<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>
<BODY>
<BLOCKQUOTE>
<h5>Last update 25-Oct-2001</h5>
<h5>Last update 16-Dec-2001</h5>
<P>&nbsp;<P>
<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
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,
Spanish, Galego and Italian are created.
Spanish, Galego, Italian and German languages are created.
<P>&nbsp;<p>
<H3>Language setup.</H3>

View File

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

View File

@ -722,7 +722,18 @@ int Test_DOB(char *DOB)
int tyear, year, month, day;
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) {
Syslog('!', "Date format length %d characters", strlen(DOB));
/* Please enter the correct date format */
@ -769,8 +780,10 @@ void Chg_DOB()
{
char *temp;
temp = calloc(81, sizeof(char));
if (!CFG.iDOB)
return;
temp = calloc(81, sizeof(char));
ReadExitinfo();
Syslog('+', "Old DOB %s", exitinfo.sDateOfBirth);
@ -793,7 +806,6 @@ void Chg_DOB()
/*
* Change default protocol.
*/

View File

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