implement Fast Splash (and tweaks page for future)
This commit is contained in:
@@ -3,7 +3,7 @@ Subject: Welcome to minisrv!
|
|||||||
|
|
||||||
Thank you for test driving minisrv!
|
Thank you for test driving minisrv!
|
||||||
|
|
||||||
minisrv aims to provide a simalar experience as the production WebTV Services.
|
minisrv aims to provide a simular experience as the production WebTV Services.
|
||||||
You can enjoy fun features as they are released, such as WebTV Mail, WebTV Chat, Usenet, customing your <a href="wtv-setup:/mail-signature">signature settings</a> which also support custom HTML abilities.
|
You can enjoy fun features as they are released, such as WebTV Mail, WebTV Chat, Usenet, customing your <a href="wtv-setup:/mail-signature">signature settings</a> which also support custom HTML abilities.
|
||||||
|
|
||||||
You can use Mail to send internal email to others by emailing <b>theirusername@${service_name}</b>, replacing "theirusername" with the user's actual username.
|
You can use Mail to send internal email to others by emailing <b>theirusername@${service_name}</b>, replacing "theirusername" with the user's actual username.
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ data = `<html>
|
|||||||
<head>
|
<head>
|
||||||
<display hideoptions nostatus showwhencomplete skipback clearback fontsize=medium>
|
<display hideoptions nostatus showwhencomplete skipback clearback fontsize=medium>
|
||||||
<title>Engaging zefie...</title>
|
<title>Engaging zefie...</title>
|
||||||
<meta http-equiv=Refresh content="4; url=wtv-home:/home?">
|
<meta http-equiv=Refresh content="${(wtvshared.parseBool(session_data.get("fast_splash"))) ? "0" : "4"}; url=wtv-home:/home?">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#000000" text="#449944">
|
<body bgcolor="#000000" text="#449944">
|
||||||
<bgsound src="file://ROM/Sounds/Splash.mid">
|
<bgsound src="file://ROM/Sounds/Splash.mid">
|
||||||
|
|||||||
@@ -128,7 +128,9 @@ data += `
|
|||||||
<spacer type=block width=1 height=5><BR>
|
<spacer type=block width=1 height=5><BR>
|
||||||
<img src="ROMCache/BulletArrow.gif" width=6 height=13 valign=absmiddle><spacer type=block width=6 height=1>
|
<img src="ROMCache/BulletArrow.gif" width=6 height=13 valign=absmiddle><spacer type=block width=6 height=1>
|
||||||
<a href="wtv-setup:/phone">Dialing</a><BR>
|
<a href="wtv-setup:/phone">Dialing</a><BR>
|
||||||
|
<spacer type=block width=1 height=5><BR>
|
||||||
|
<img src="ROMCache/BulletArrow.gif" width=6 height=13 valign=absmiddle><spacer type=block width=6 height=1>
|
||||||
|
<a href="wtv-setup:/tweaks">Tweaks</a><BR>
|
||||||
<TD WIDTH=20>
|
<TD WIDTH=20>
|
||||||
<TD WIDTH=300 VALIGN=top ALIGN=left>
|
<TD WIDTH=300 VALIGN=top ALIGN=left>
|
||||||
<spacer type=block width=6 height=14><font size="2"><br>
|
<spacer type=block width=6 height=14><font size="2"><br>
|
||||||
@@ -157,7 +159,8 @@ Configure Messenger<BR>`;
|
|||||||
|
|
||||||
data += `<spacer type=block width=6 height=6><font size="2"><br>
|
data += `<spacer type=block width=6 height=6><font size="2"><br>
|
||||||
Connecting to WebTV<BR>
|
Connecting to WebTV<BR>
|
||||||
|
<spacer type=block width=6 height=6><font size="2"><br>
|
||||||
|
minisrv specific settings<BR>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan=4 height=2>
|
<td colspan=4 height=2>
|
||||||
|
|||||||
124
zefie_wtvp_minisrv/ServiceVault/wtv-setup/tweaks.js
Normal file
124
zefie_wtvp_minisrv/ServiceVault/wtv-setup/tweaks.js
Normal file
@@ -0,0 +1,124 @@
|
|||||||
|
var minisrv_service_file = true;
|
||||||
|
|
||||||
|
|
||||||
|
headers = `200 OK
|
||||||
|
Connection: Keep-Alive
|
||||||
|
wtv-expire-all: wtv-setup:/tweaks
|
||||||
|
Content-Type: text/html`
|
||||||
|
|
||||||
|
data = `<!--- *=* Copyright 1996, 1997 WebTV Networks, Inc. All rights reserved. --->
|
||||||
|
<HTML>
|
||||||
|
<HEAD>
|
||||||
|
<TITLE>
|
||||||
|
Tweaks and extra configuration
|
||||||
|
</TITLE>
|
||||||
|
<DISPLAY noscroll nologo>
|
||||||
|
</HEAD>
|
||||||
|
<sidebar width=110> <table cellspacing=0 cellpadding=0 BGCOLOR=452a36>
|
||||||
|
<tr>
|
||||||
|
<td colspan=3 abswidth=104 absheight=4>
|
||||||
|
<td rowspan=99 width=6 absheight=420 valign=top align=left>
|
||||||
|
<img src="file://ROM/Cache/Shadow.gif" width=6 height=420>
|
||||||
|
<tr>
|
||||||
|
<td abswidth=6>
|
||||||
|
<td abswidth=92 absheight=76>
|
||||||
|
<table href="wtv-home:/home" absheight=76 cellspacing=0 cellpadding=0>
|
||||||
|
<tr>
|
||||||
|
<td align=right>
|
||||||
|
<img src="${minisrv_config.config.service_logo}" width=87 height=67>
|
||||||
|
</table>
|
||||||
|
<td abswidth=6>
|
||||||
|
<tr><td absheight=5 colspan=3>
|
||||||
|
<table cellspacing=0 cellpadding=0>
|
||||||
|
<tr><td abswidth=104 absheight=2 valign=middle align=center bgcolor=2e1e26>
|
||||||
|
<spacer>
|
||||||
|
<tr><td abswidth=104 absheight=1 valign=top align=left>
|
||||||
|
<tr><td abswidth=104 absheight=2 valign=top align=left bgcolor=6b4657>
|
||||||
|
<spacer>
|
||||||
|
</table>
|
||||||
|
<tr><td absheight=132>
|
||||||
|
<tr><td absheight=166 align=right colspan=3>
|
||||||
|
<img src="ROMCache/SettingsBanner.gif" width=54 height=166>
|
||||||
|
<tr><td absheight=41>
|
||||||
|
</table>
|
||||||
|
</sidebar>
|
||||||
|
<BODY BGCOLOR="#191919" TEXT="#42CC55" LINK="189CD6" VLINK="189CD6" HSPACE=0 VSPACE=0 FONTSIZE="large"
|
||||||
|
>
|
||||||
|
<table cellspacing=0 cellpadding=0>
|
||||||
|
<tr>
|
||||||
|
<td abswidth=14>
|
||||||
|
<td colspan=3>
|
||||||
|
<table cellspacing=0 cellpadding=0>
|
||||||
|
<tr>
|
||||||
|
<td valign=center absheight=80>
|
||||||
|
<font size="+2" color="E7CE4A"><blackface><shadow>
|
||||||
|
Tweaks and extra config
|
||||||
|
</table>
|
||||||
|
<td abswidth=20>
|
||||||
|
<tr>
|
||||||
|
<TD>
|
||||||
|
<td colspan=3 height=2 abswidth=300 valign=middle align=center bgcolor="2B2B2B">
|
||||||
|
<spacer type=block width=436 height=1>
|
||||||
|
<tr>
|
||||||
|
<TD>
|
||||||
|
<td colspan=3 height=1 valign=top align=left>
|
||||||
|
<tr>
|
||||||
|
<TD>
|
||||||
|
<td colspan=3 height=2 valign=top align=left bgcolor="0D0D0D">
|
||||||
|
<spacer type=block width=436 height=1>
|
||||||
|
<td abswidth=20>
|
||||||
|
<tr><td colspan=4 height=10></td></tr>
|
||||||
|
<TR>
|
||||||
|
<td>
|
||||||
|
<td WIDTH=198 HEIGHT=236 VALIGN=top ALIGN=left>
|
||||||
|
<table cellspacing=0 cellpadding=0>
|
||||||
|
<tr><td absheight=110 valign=top>
|
||||||
|
<font size=-1>Speeds up the splash logo page
|
||||||
|
by not waiting for the splash music to finish.
|
||||||
|
</table>
|
||||||
|
<TD WIDTH=20>
|
||||||
|
<TD WIDTH=198 VALIGN=top ALIGN=left>
|
||||||
|
<form action="wtv-setup:/validate-tweaks">
|
||||||
|
<input type=hidden name=autosubmit value=true autosubmit=onleave>
|
||||||
|
<table cellspacing=0 cellpadding=0>
|
||||||
|
<tr><td absheight=70 valign=top>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td valign=top>
|
||||||
|
<input type=checkbox name=fast_splash ${(wtvshared.parseBool(session_data.get("fast_splash"))) ? "checked=checked" : ''}>
|
||||||
|
|
||||||
|
<td valign=top>
|
||||||
|
FastSplash™
|
||||||
|
</table>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
<TR>
|
||||||
|
<TD>
|
||||||
|
<TD COLSPAN=4 HEIGHT=0 VALIGN=top ALIGN=left>
|
||||||
|
<tr>
|
||||||
|
<TD>
|
||||||
|
<td colspan=3 height=2 valign=middle align=center bgcolor="2B2B2B">
|
||||||
|
<spacer type=block width=436 height=1>
|
||||||
|
<tr>
|
||||||
|
<TD>
|
||||||
|
<td colspan=4 height=1 valign=top align=left>
|
||||||
|
<tr>
|
||||||
|
<TD>
|
||||||
|
<td colspan=3 height=2 valign=top align=left bgcolor="0D0D0D">
|
||||||
|
<spacer type=block width=436 height=1>
|
||||||
|
<TR>
|
||||||
|
<TD>
|
||||||
|
<TD COLSPAN=4 HEIGHT=4 VALIGN=top ALIGN=left>
|
||||||
|
<TR>
|
||||||
|
<TD>
|
||||||
|
<TD COLSPAN=2 VALIGN=top ALIGN=left>
|
||||||
|
<TD VALIGN=top ALIGN=right>
|
||||||
|
<FORM action="client:goback">
|
||||||
|
<FONT COLOR="#E7CE4A" SIZE=-1><SHADOW>
|
||||||
|
<INPUT TYPE=SUBMIT BORDERIMAGE="file://ROM/Borders/ButtonBorder2.bif" Value=Done NAME="Done" USESTYLE WIDTH=103>
|
||||||
|
</SHADOW></FONT></FORM>
|
||||||
|
<TD>
|
||||||
|
</TABLE>
|
||||||
|
</BODY>
|
||||||
|
</HTML>
|
||||||
|
`;
|
||||||
13
zefie_wtvp_minisrv/ServiceVault/wtv-setup/validate-tweaks.js
Normal file
13
zefie_wtvp_minisrv/ServiceVault/wtv-setup/validate-tweaks.js
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
var minisrv_service_file = true;
|
||||||
|
|
||||||
|
|
||||||
|
var fast_splash = wtvshared.parseBool(request_headers.query.fast_splash);
|
||||||
|
|
||||||
|
|
||||||
|
session_data.set("fast_splash", fast_splash);
|
||||||
|
|
||||||
|
headers = `200 OK
|
||||||
|
Connection: Keep-Alive
|
||||||
|
wtv-expire-all: wtv-
|
||||||
|
wtv-expire-all: http
|
||||||
|
Content-Type: text/html`
|
||||||
@@ -86,7 +86,7 @@ class WTVShared {
|
|||||||
if (typeof val === 'string')
|
if (typeof val === 'string')
|
||||||
val = val.toLowerCase();
|
val = val.toLowerCase();
|
||||||
|
|
||||||
return (val === true || val === "true" || val === 1);
|
return (val === true || val == "on" || val === "true" || val === 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -150,6 +150,7 @@
|
|||||||
<Content Include="ServiceDeps\templates\wtv-guide\templates\glossary.js" />
|
<Content Include="ServiceDeps\templates\wtv-guide\templates\glossary.js" />
|
||||||
<Content Include="ServiceDeps\templates\wtv-guide\templates\glossary_index.js" />
|
<Content Include="ServiceDeps\templates\wtv-guide\templates\glossary_index.js" />
|
||||||
<Content Include="ServiceDeps\templates\wtv-guide\templates\glossary_word_index.js" />
|
<Content Include="ServiceDeps\templates\wtv-guide\templates\glossary_word_index.js" />
|
||||||
|
<Content Include="ServiceDeps\templates\wtv-mail\welcomeMail.txt" />
|
||||||
<Content Include="ServiceDeps\templates\wtv-news\post-unavailable.html" />
|
<Content Include="ServiceDeps\templates\wtv-news\post-unavailable.html" />
|
||||||
<Content Include="ServiceDeps\wtv-1800\tellyscripts\bf0app\bf0app_OISP.tok" />
|
<Content Include="ServiceDeps\wtv-1800\tellyscripts\bf0app\bf0app_OISP.tok" />
|
||||||
<Content Include="ServiceDeps\wtv-1800\tellyscripts\bf0app\bf0app_WTV_18006138199.detok.txt" />
|
<Content Include="ServiceDeps\wtv-1800\tellyscripts\bf0app\bf0app_WTV_18006138199.detok.txt" />
|
||||||
@@ -977,7 +978,7 @@
|
|||||||
<Content Include="ServiceVault\wtv-setup\messenger-info.js" />
|
<Content Include="ServiceVault\wtv-setup\messenger-info.js" />
|
||||||
<Content Include="ServiceVault\wtv-setup\messenger-mode.js" />
|
<Content Include="ServiceVault\wtv-setup\messenger-mode.js" />
|
||||||
<Content Include="ServiceVault\wtv-setup\messenger.js" />
|
<Content Include="ServiceVault\wtv-setup\messenger.js" />
|
||||||
<Content Include="ServiceVault\wtv-setup\phone-advanced.js" />
|
<Content Include="ServiceVault\wtv-setup\tweaks.js" />
|
||||||
<Content Include="ServiceVault\wtv-setup\phone-basic.js" />
|
<Content Include="ServiceVault\wtv-setup\phone-basic.js" />
|
||||||
<Content Include="ServiceVault\wtv-setup\phone-call-wait-thresh.js" />
|
<Content Include="ServiceVault\wtv-setup\phone-call-wait-thresh.js" />
|
||||||
<Content Include="ServiceVault\wtv-setup\phone-call-waiting.js" />
|
<Content Include="ServiceVault\wtv-setup\phone-call-waiting.js" />
|
||||||
@@ -1012,6 +1013,9 @@
|
|||||||
<Content Include="ServiceVault\wtv-setup\validate-screen-border.js">
|
<Content Include="ServiceVault\wtv-setup\validate-screen-border.js">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="ServiceVault\wtv-setup\validate-tweaks.js">
|
||||||
|
<SubType>Code</SubType>
|
||||||
|
</Content>
|
||||||
<Content Include="ServiceVault\wtv-star\star.js" />
|
<Content Include="ServiceVault\wtv-star\star.js" />
|
||||||
<Content Include="ServiceVault\wtv-tricks\access.js" />
|
<Content Include="ServiceVault\wtv-tricks\access.js" />
|
||||||
<Content Include="ServiceVault\wtv-tricks\blastbacklist.js" />
|
<Content Include="ServiceVault\wtv-tricks\blastbacklist.js" />
|
||||||
@@ -1182,6 +1186,7 @@
|
|||||||
<Folder Include="ServiceDeps\templates\wtv-guide\prerendered\Users\AddUser\" />
|
<Folder Include="ServiceDeps\templates\wtv-guide\prerendered\Users\AddUser\" />
|
||||||
<Folder Include="ServiceDeps\templates\wtv-guide\prerendered\WhatIs\" />
|
<Folder Include="ServiceDeps\templates\wtv-guide\prerendered\WhatIs\" />
|
||||||
<Folder Include="ServiceDeps\templates\wtv-guide\templates\" />
|
<Folder Include="ServiceDeps\templates\wtv-guide\templates\" />
|
||||||
|
<Folder Include="ServiceDeps\templates\wtv-mail\" />
|
||||||
<Folder Include="ServiceDeps\templates\wtv-news\" />
|
<Folder Include="ServiceDeps\templates\wtv-news\" />
|
||||||
<Folder Include="ServiceDeps\viewergen\" />
|
<Folder Include="ServiceDeps\viewergen\" />
|
||||||
<Folder Include="ServiceDeps\wtv-1800\" />
|
<Folder Include="ServiceDeps\wtv-1800\" />
|
||||||
|
|||||||
Reference in New Issue
Block a user