- numerous bug fixes - wtv-mail system - user account updates - viewergen alpha (experimental webtv viewer patcher on pc_service) - implement wtv-favorites with huge help from @JarHead4 - add wtv-ticket store api - Bump vm2 from 3.9.5 to 3.9.7 in /zefie_wtvp_minisrv - fix bf0app default rom - Add wtv-1800 service to wtv-1800:/noflash - handle webtvism: - allow get/post variables to be the same name multiple times - rather than overwrite, the server will now change the variable from a string to an array. - Rewrite script processing a bit - Instead of using eval() we now use a proper VM Context - As a result, any scripting errors will now give a more useful filename and line number. - However, some things may break, if they are dependant on variables we are not allowing in the context. - BREAKING CHANGES: - `ssid_sessions[socket.ssid]` is now `session_data` - `require` is no longer allowed in user scripts - add star service - change how we handle modules for services in the VM - fixed wtv-disk:/sync always failed the first time - implement production-like wtv-star handling (when a service port becomes unavailable, it requests the url over the wtv-star port to show an error page) - renamed WTVDownloadList.js to WTVDisk.js - a bit more work on WTVNews (created class) - probably more stuff I can't remember
69 lines
2.8 KiB
JavaScript
69 lines
2.8 KiB
JavaScript
var minisrv_service_file = true;
|
|
|
|
// remove restrictions once this page is shown, since the user will be 'trapped' anyway
|
|
session_data.disableLockdown();
|
|
session_data.delete("wtv-my-disk-sucks-sucks-sucks");
|
|
session_data.baddisk = false;
|
|
|
|
headers = `200 OK
|
|
Content-type: text/html`;
|
|
|
|
data = `<html>
|
|
<head>
|
|
<display switchtowebmode nooptions nostatus skipback clearback> <title>Please Call</title>
|
|
</head>
|
|
<body bgcolor="#191919" text="#42CC55" link="36d5ff" fontsize="large" hspace=0 vspace=0>
|
|
<table cellspacing=0 cellpadding=0>
|
|
<tr><td width=104 height=74 valign=middle align=center bgcolor="3B3A4D">
|
|
<img src="${minisrv_config.config.service_logo}" width=86 height=64><td width=20 valign=top align=left bgcolor="3B3A4D">
|
|
<img src="${service_name}:/ROMCache/Spacer.gif"
|
|
width=1 height=1>
|
|
<td colspan=10 width=436 valign=middle align=left bgcolor="3B3A4D">
|
|
<font color="D6DFD0" size="+2">
|
|
<blackface>
|
|
<shadow>
|
|
<img src="${service_name}:/ROMCache/Spacer.gif"
|
|
width=1 height=4>
|
|
<br>
|
|
Please Call
|
|
</shadow>
|
|
</blackface>
|
|
</font>
|
|
<tr>
|
|
<td colspan=12 width=560 height=10 valign=top align=left>
|
|
<img src="file://ROM/Cache/Shadow.gif" width=560 height=6>
|
|
<tr>
|
|
<td width=104 height=10 valign=top align=left>
|
|
<td width=20 valign=top align=left>
|
|
<td width=67 valign=top align=left>
|
|
<td width=20 valign=top align=left>
|
|
<td width=67 valign=top align=left>
|
|
<td width=20 valign=top align=left>
|
|
<td width=67 valign=top align=left>
|
|
<td width=20 valign=top align=left>
|
|
<td width=67 valign=top align=left>
|
|
<td width=20 valign=top align=left>
|
|
<td width=68 valign=top align=left>
|
|
<td width=20 valign=top align=left>
|
|
<tr>
|
|
<td width=104 valign=middle align=center>
|
|
<td width=20 valign=middle align=center>
|
|
<td colspan=9 width=100 height=258 valign=top align=left>
|
|
<font size=+1>
|
|
Your Internet terminal needs to be repaired
|
|
or replaced before you can connect to WebTV.
|
|
<!-- Disabled until we can reliably grab the user's box manufacturer
|
|
<p>Call Philips customer service at<br>1-888-813-7069 -->
|
|
<tr><td colspan=2>
|
|
<td colspan=99 abswidth=436 absheight=2 bgcolor=2B2B2B> <img src="wtv-flashrom:/${service_name}:/ROMCache/Spacer.gif" width=1 height=1> <tr><td absheight=1>
|
|
<tr><td colspan=2>
|
|
<td colspan=99 abswidth=436 absheight=2 bgcolor=0D0D0D> <img src="wtv-flashrom:/${service_name}:/ROMCache/Spacer.gif" width=1 height=1> <tr><td height=7>
|
|
<tr>
|
|
<td width=104 valign=middle align=center> <td width=20 valign=middle align=center> <td colspan=9 width=416 valign=top align=left> <table cellspacing=0 cellpadding=0>
|
|
<tr>
|
|
<td width=306 valign=top align=right><td width=20> <td width=112 valign=top align=right>
|
|
<form action="client:poweroff"> <FONT COLOR="#E7CE4A" SIZE=-1><input type="Submit" value="Power Off" BORDERIMAGE="file://ROM/Borders/ButtonBorder2.bif" usestyle selected></font>
|
|
<input type="Hidden" name="version" value=""> </form>
|
|
</table>
|
|
</BODY>
|
|
</html>`; |