Updated Offline Reader

This commit is contained in:
Michiel Broek
2003-03-02 13:29:33 +00:00
parent edad301e0a
commit 4cbb31a07b
29 changed files with 689 additions and 878 deletions

View File

@@ -961,3 +961,22 @@ void Set_Protocol(char *Protocol)
void Chg_OLR_ExtInfo()
{
ReadExitinfo();
if (exitinfo.OL_ExtInfo) {
exitinfo.OL_ExtInfo = FALSE;
/* Offline Reader: Extended Info turned OFF */
printf("\n\n%s\n\n", (char *) Language(16));
} else {
exitinfo.OL_ExtInfo = TRUE;
/* Offline Reader: Extended Info turned ON */
printf("\n\n%s\n\n", (char *) Language(15));
}
Syslog('+', "OLR Extended Info now %s", exitinfo.OL_ExtInfo?"True":"False");
sleep(2);
WriteExitinfo();
}

View File

@@ -22,7 +22,7 @@ int Test_DOB(char *); /* Test of Date of Birth is valid */
void Chg_DOB(void); /* Change Date of Birth */
void Chg_Protocol(void); /* Change default transfer protocol. */
void Set_Protocol(char *); /* Set default protocol */
void Chg_OLR_ExtInfo(void); /* Set OLR Extended Info */
#endif

View File

@@ -544,6 +544,10 @@ void ControlCodeU(int ch)
printf(exitinfo.address[2]);
break;
case '8':
printf("%s", exitinfo.OL_ExtInfo ? (char *) Language(147) : (char *) Language(148));
break;
default:
printf(" ");
}

View File

@@ -640,6 +640,10 @@ void DoMenu(int Type)
signature();
break;
case 320:
Chg_OLR_ExtInfo();
break;
case 401:
Oneliner_Add();
break;

File diff suppressed because it is too large Load Diff