Use rightpad for the node id, and change SYS ERROR message for viewdata

This commit is contained in:
Deon George 2022-05-11 20:41:09 +10:00
parent 998a201fbb
commit 2ba3fbf231
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ function FrameViewdata() {
this.settings.USER_CREATE_ERROR = ascii(27)+'AERROR CREATING USER, PLEASE TRY AGAIN *00';
this.settings.LOGIN_ERROR = ascii(27)+'AERROR LOGGING IN, PLEASE TRY AGAIN *00';
this.settings.CANCEL_MSG = ascii(27)+'BPRESS 2 TO CANCEL';
this.settings.SYS_ERROR = ascii(27)+'ASYSTEM ERROR, TRY AGAIN OR TELL US ON *08';
this.settings.SYS_ERROR = ascii(27)+'ASYS ERR, TRY AGAIN OR TELL US ON *08';
var blp=0; // Length of data on the bottom line

View File

@ -361,7 +361,7 @@ function getNodeID() {
}
}
return padleft(matches[0],3,'0')+padleft(matches[1],3,'0')+padleft(bbs.node_num,2,'0');
return padright(matches[0],3,'0')+padright(matches[1],3,'0')+padright(bbs.node_num,2,'0');
}
function getPageOwners() {