show ScreenBorder option to Old Classic units since it seems to work

This commit is contained in:
zefie
2021-11-09 11:56:56 -05:00
parent 0bc75f017b
commit 2ff327fb02
2 changed files with 9 additions and 7 deletions

View File

@@ -56,16 +56,18 @@ Television
<td abswidth=20>
<TR>
<td>
<td WIDTH=170 HEIGHT=244 VALIGN=top ALIGN=left>
<td WIDTH=300 HEIGHT=244 VALIGN=top ALIGN=left>
<br><font size="-1">
<A HREF="wtv-setup:/center-display" selected><BLACKFACE>Center</BLACKFACE></A><BR>
<FONT SIZE="-1">Center WebTV on your screen</FONT><BR>`;
// TODO: figure out which versions still support this
/*
<spacer type=block width=1 height=5><BR>
// old classic apparently can do Screen Border
if (ssid_sessions[socket.ssid].get("wtv-client-rom-type") == "bf0app") {
data += `<spacer type=block width=1 height=5><BR>
<A HREF="wtv-setup:/screen-border" selected><BLACKFACE>Border</BLACKFACE></A><BR>
<FONT SIZE="-1">Change the color of the screen border</FONT><BR>
*/
<FONT SIZE="-1">Change the color of the screen border</FONT><BR>`;
}
data += `
<TD WIDTH=20>
<TD WIDTH=500 VALIGN=top ALIGN=left>

View File

@@ -2,7 +2,7 @@ if (request_headers.query) {
if (request_headers.query.shade) {
headers = `300 OK
Location: wtv-setup:/screen
wtv-visit: client:setscreenborder?${request_headers.query.shade}`;
wtv-visit: client:setscreenborder?shade=${request_headers.query.shade}`;
} else {
var errpage = wtvshared.doErrorPage(400);
headers = errpage[0];