v0.9.59
- code cleanup and refactoring - implement max post size on pc services - add box account transfer system - create directory indexer for pc services - fix catchall for pc services - pc services not respects `disabled: true` if sharing the same port - new wtv-tricks:/info from WebTV Redialed - Added missing Pagebuilder themes - Fixed various PageBuilder bugs, pages should work correctly (republish your page if needed) - various security and bug fixes
This commit is contained in:
@@ -1,53 +1,61 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
var styledata = {};
|
||||
this.styledata.text = "#000000"
|
||||
this.styledata.link = "#180d4b"
|
||||
this.styledata.vlink = "#660000"
|
||||
this.styledata.headcol = this.styledata.text
|
||||
this.styledata.listcol1 = "#ff7c76"
|
||||
this.styledata.listcol2 = "#81c2d0"
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/us_flag.gif", "/clipart/Flags/fl00050_.gif"];
|
||||
this.styledata.headerimgL = "clipart/Flags/fl00050_.gif";
|
||||
this.styledata.headerimgLheight = "68";
|
||||
this.styledata.headerimgLwidth = "66";
|
||||
this.styledata.header = `<html><head>
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#000000";
|
||||
this.styledata.link = "#180d4b";
|
||||
this.styledata.vlink = "#660000";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = "#ff7c76";
|
||||
this.styledata.listcol2 = "#81c2d0";
|
||||
this.styledata.stylemedia = [
|
||||
"/clipart/styleMedia/us_flag.gif",
|
||||
"/clipart/Flags/fl00050_.gif",
|
||||
];
|
||||
this.styledata.headerimgL = "clipart/Flags/fl00050_.gif";
|
||||
this.styledata.headerimgLheight = "68";
|
||||
this.styledata.headerimgLwidth = "66";
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html><head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body vlink="#660000" link="#180d4b" bgcolor="#eeeeee" background="clipart/styleMedia/us_flag.gif">`
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<body vlink="#660000" link="#180d4b" bgcolor="#eeeeee" background="clipart/styleMedia/us_flag.gif">`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`
|
||||
}
|
||||
this.styledata.titheader = ``
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`
|
||||
}
|
||||
this.styledata.titheader += `<center>
|
||||
<font size="6" color=` + this.styledata.text + `><b>${title}</b></font>
|
||||
</center>`
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`
|
||||
}
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<center>
|
||||
<font size="6" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font>
|
||||
</center>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += ` <p> </p>`
|
||||
this.styledata.titheader += ` <p> </p>`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<blockquote>
|
||||
this.styledata.tabstart = `<blockquote>
|
||||
<table>`;
|
||||
|
||||
this.styledata.footerstart = `</blockquote>
|
||||
this.styledata.footerstart = `</blockquote>
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
@@ -56,21 +64,20 @@ to return to editing it.
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`
|
||||
return styledata;
|
||||
}
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
module.exports = PBTemplate;
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#cccc99";
|
||||
this.styledata.link = "66ff66";
|
||||
this.styledata.vlink = "#ccffcc";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [
|
||||
"/clipart/styleMedia/baseballfield.gif",
|
||||
"/clipart/styleMedia/baseball.gif",
|
||||
];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body background="clipart/styleMedia/baseballfield.gif" text="#cccc99" link="#66ff66" vlink="#ccffcc">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = `<center>
|
||||
<img src="clipart/styleMedia/baseball.gif" width="400" height="100" align="bottom">
|
||||
|
||||
</center><p>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<CENTER><H1><font size="6" color=` +
|
||||
this.styledata.text +
|
||||
`>${title}</font></H1></CENTER>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = ``;
|
||||
|
||||
this.styledata.footerstart = `<p>
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -1,57 +1,63 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#7ac2d5";
|
||||
this.styledata.link = "#a5a033";
|
||||
this.styledata.vlink = "#25a51f";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#7ac2d5";
|
||||
this.styledata.link = "#a5a033";
|
||||
this.styledata.vlink = "#25a51f";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body text="#7ac2d5" bgcolor="#11144c" link="#a5a033" vlink="#25a51f">`
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<body text="#7ac2d5" bgcolor="#11144c" link="#a5a033" vlink="#25a51f">`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`
|
||||
}
|
||||
this.styledata.header += `
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.header += `
|
||||
<center>
|
||||
<font size="+3" color="#66ff66"><b>
|
||||
<table width="100%" cellspacing="4" cellpadding="4" border="0">
|
||||
<tbody><tr>
|
||||
<td>`
|
||||
this.styledata.titheader = ``
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`
|
||||
}
|
||||
this.styledata.titheader += `<font size="+4" color=` + this.styledata.text + `>${title}</font></td>
|
||||
<td>`
|
||||
<td>`;
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<font size="+4" color=` +
|
||||
this.styledata.text +
|
||||
`>${title}</font></td>
|
||||
<td>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`
|
||||
}
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = `</tr>
|
||||
this.styledata.afterblock1 = `</tr>
|
||||
</table>
|
||||
</b></font></center>`
|
||||
</b></font></center>`;
|
||||
|
||||
this.styledata.tabstart = ``;
|
||||
this.styledata.tabstart = ``;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
this.styledata.footerstart = `
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
@@ -60,18 +66,18 @@ to return to editing it.
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`
|
||||
}
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
module.exports = PBTemplate;
|
||||
|
||||
@@ -1,55 +1,59 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#faf3ed"
|
||||
this.styledata.link = "#fa9d46"
|
||||
this.styledata.vlink = "#fa7474"
|
||||
this.styledata.headcol = this.styledata.text
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/tile5.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.header = `<html><head>
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#faf3ed";
|
||||
this.styledata.link = "#fa9d46";
|
||||
this.styledata.vlink = "#fa7474";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/tile5.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html><head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt by JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body vlink="#fa7474" text="#faf3ed" link="#fa9d46" background="clipart/styleMedia/tile5.gif">`
|
||||
// Do some templating here for some fucking reason
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `
|
||||
<body vlink="#fa7474" text="#faf3ed" link="#fa9d46" background="clipart/styleMedia/tile5.gif">`;
|
||||
// Do some templating here for some fucking reason
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `
|
||||
<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`
|
||||
}
|
||||
this.styledata.titheader = ``
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`
|
||||
}
|
||||
this.styledata.titheader += `<center><h1><font color=` + this.styledata.text + `>`
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<center><h1><font color=` + this.styledata.text + `>`;
|
||||
|
||||
this.styledata.titheader += `
|
||||
this.styledata.titheader += `
|
||||
${title}
|
||||
</font></h1></center>`
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`
|
||||
}
|
||||
</font></h1></center>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<table>
|
||||
this.styledata.tabstart = `<table>
|
||||
|
||||
<p>`;
|
||||
|
||||
this.styledata.footerstart = `<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
this.styledata.footerstart = `<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
@@ -57,19 +61,20 @@ ${title}
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>` }
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
module.exports = PBTemplate;
|
||||
|
||||
@@ -1,54 +1,57 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.link = "#0000EE";
|
||||
this.styledata.vlink = "#551A8B";
|
||||
this.styledata.text = "#000000";
|
||||
this.styledata.headcol = "#eeeeee"
|
||||
this.styledata.listcol1 = "#eeeeee"
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/CAT.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.header = `<html><head>
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.link = "#0000EE";
|
||||
this.styledata.vlink = "#551A8B";
|
||||
this.styledata.text = "#000000";
|
||||
this.styledata.headcol = "#eeeeee";
|
||||
this.styledata.listcol1 = "#eeeeee";
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/CAT.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html><head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt by JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body bgcolor="#eeeeee">`
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<body bgcolor="#eeeeee">`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`
|
||||
}
|
||||
this.styledata.header += `
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.header += `
|
||||
<table width="100%" cellspacing="4" cellpadding="4" border="0">
|
||||
<tbody>`
|
||||
<tbody>`;
|
||||
|
||||
this.styledata.titheader = ``
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`
|
||||
}
|
||||
this.styledata.titheader += `<center>
|
||||
<font size="7" color="#000000"><b>${title}</b></font></center>`
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader += `<center>
|
||||
<font size="7" color="#000000"><b>${title}</b></font></center>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `</td>
|
||||
this.styledata.tabstart = `</td>
|
||||
</tr><tr height="316">
|
||||
<td width="101" height="316" background="clipart/styleMedia/CAT.gif"></td>
|
||||
<td valign="top" height="316" bgcolor="#669999">`;
|
||||
|
||||
this.styledata.footerstart = `<p> </p></td>
|
||||
this.styledata.footerstart = `<p> </p></td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
@@ -59,19 +62,19 @@ to return to editing it.
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`
|
||||
}
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
module.exports = PBTemplate;
|
||||
|
||||
@@ -0,0 +1,98 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#14122f";
|
||||
this.styledata.link = "#ae1b27";
|
||||
this.styledata.vlink = "#4e4397";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [
|
||||
"/clipart/styleMedia/so00511w_.gif",
|
||||
"/clipart/Special_Occasions/Holidays/so00470_.gif",
|
||||
];
|
||||
this.styledata.headerimgL =
|
||||
"clipart/Special_Occasions/Holidays/so00470_.gif";
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body bgcolor="#464de3" text="#14122f" link="#ae1b27" vlink="#4e4397">
|
||||
<center>
|
||||
<table border="0" cellpadding="8" cellspacing="0" frame>`;
|
||||
this.styledata.previewheader = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body bgcolor="black" text="#e68a34" link="#e64045">
|
||||
<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>
|
||||
<center>
|
||||
<table border="0" cellpadding="8" cellspacing="0" frame>
|
||||
`;
|
||||
this.styledata.titheader = `<tr bgcolor="#464de3">
|
||||
<td bgcolor="#464de3">
|
||||
<img height="63" width="54" src="clipart/styleMedia/so00511w_.gif">
|
||||
</td>
|
||||
<td bgcolor="#464de3" >
|
||||
<center>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader += `<b><font size="7" color="#e6e1e1">${title}</font></b></center>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += `</td>
|
||||
<td bgcolor="#464de3">
|
||||
<img height="63" width="54" src="clipart/styleMedia/so00511w_.gif">
|
||||
</td>
|
||||
</tr>`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<tr>
|
||||
<td bgcolor="#464de3"> <p> </td>
|
||||
<td bgcolor="#e1dee3">`;
|
||||
|
||||
this.styledata.footerstart = `<p>
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,95 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#ffffff";
|
||||
this.styledata.link = "#D26E81";
|
||||
this.styledata.vlink = "#CC3333";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [
|
||||
"/clipart/styleMedia/so00483_.gif",
|
||||
"/clipart/styleMedia/so00482_.gif",
|
||||
"/clipart/styleMedia/so00130_.gif",
|
||||
];
|
||||
this.styledata.headerimgL = "clipart/styleMedia/so00130_.gif";
|
||||
this.styledata.headerimgLheight = "68";
|
||||
this.styledata.headerimgLwidth = "74";
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body background="#255126" text="#ffffff" link="#D26E81" vlink="#CC3333" bgcolor="#255126">`;
|
||||
this.styledata.previewheader = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body bgcolor="black" text="#e68a34" link="#e64045">
|
||||
<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>
|
||||
`;
|
||||
this.styledata.titheader = `<center>
|
||||
<table border="0" cellpadding="0" cellspacing="2" frame width="90%">
|
||||
<tr>
|
||||
<td><img src="clipart/styleMedia/so00483_.gif"></td>
|
||||
<td >
|
||||
<center>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<font size="+3" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font></center>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += `</td>
|
||||
<td><img src="clipart/styleMedia/so00483_.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = ``;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,82 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#000000";
|
||||
this.styledata.link = "#180d4b";
|
||||
this.styledata.vlink = "#660000";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = "#e5f4ff";
|
||||
this.styledata.listcol2 = "#81c2d0";
|
||||
this.styledata.stylemedia = [
|
||||
"/clipart/styleMedia/stars.gif",
|
||||
"/clipart/Animals/Wildlife/an00348_.gif",
|
||||
"/clipart/Animals/Wildlife/an00974_.gif",
|
||||
];
|
||||
this.styledata.headerimgL = "clipart/Animals/Wildlife/an00974_.gif";
|
||||
this.styledata.headerimgLheight = "75";
|
||||
this.styledata.headerimgLwidth = "88";
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body bgcolor="white" link="#180d4b" vlink="#660000" background="clipart/styleMedia/stars.gif">`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<center><font size="6" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += `<p><img src="clipart/Animals/Wildlife/an00348_.gif" width="277" height="273" align="bottom"> </p>
|
||||
<p> </p>
|
||||
</center>`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<blockquote>`;
|
||||
|
||||
this.styledata.footerstart = `</blockquote>
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,104 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#000000";
|
||||
this.styledata.link = "#000000";
|
||||
this.styledata.vlink = "#000000";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [
|
||||
"/clipart/Animations/AG00397_.gif",
|
||||
"/clipart/styleMedia/easter.gif",
|
||||
"/clipart/Animations/AG00398_.gif",
|
||||
];
|
||||
this.styledata.headerimgL = "clipart/Animations/AG00397_.gif";
|
||||
this.styledata.headerimgLheight = "163";
|
||||
this.styledata.headerimgLwidth = "102";
|
||||
this.styledata.headerimgR = "clipart/Animations/AG00398_.gif";
|
||||
this.styledata.headerimgRheight = "163";
|
||||
this.styledata.headerimgRwidth = "102";
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body bgcolor="#66cccc">
|
||||
<center>`;
|
||||
this.styledata.previewheader = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body bgcolor="#66cccc">
|
||||
<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>
|
||||
<center>
|
||||
`;
|
||||
this.styledata.titheader = `<table border="0">
|
||||
<tr>
|
||||
<td width="102">
|
||||
<center>
|
||||
<img src="clipart/Animations/AG00397_.gif" width="102" height="163" align="bottom"></center>
|
||||
</td>
|
||||
<td>
|
||||
<center>
|
||||
<font size="7"><img src="clipart/styleMedia/easter.gif" width="239" height="75" align="bottom"></font></center>
|
||||
</td>
|
||||
<td width="102">
|
||||
<center>
|
||||
<img src="clipart/Animations/AG00398_.gif" width="102" height="163" align="bottom"></center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=3 >
|
||||
<center>
|
||||
`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader += `<font size="6" color="#000000"><b>${title}</b></font></center>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += `</tr>
|
||||
</table>`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<P>`;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,77 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "black";
|
||||
this.styledata.link = "#09021e";
|
||||
this.styledata.vlink = "#2f0001";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/tile9.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body background="clipart/styleMedia/tile9.gif" text="black" link="#09021e" vlink="#2f0001">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`
|
||||
<font size="+3" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<p>`;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,96 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#7eecf7";
|
||||
this.styledata.link = "#c5c1ca";
|
||||
this.styledata.vlink = "#b4c1fa";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [
|
||||
"/clipart/Animations/AG00219_.gif",
|
||||
"/clipart/Animations/AG00220_.gif",
|
||||
];
|
||||
this.styledata.headerimgL = "clipart/Animations/AG00220_.gif";
|
||||
this.styledata.headerimgLheight = "100";
|
||||
this.styledata.headerimgLwidth = "100";
|
||||
this.styledata.headerimgR = "clipart/Animations/AG00219_.gif";
|
||||
this.styledata.headerimgRheight = "100";
|
||||
this.styledata.headerimgRwidth = "100";
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body text="#ccffcc" bgcolor="#003300" link="#ffcc00" vlink="#ccb699">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = `<table border="0">
|
||||
<tr>
|
||||
<td width="100">
|
||||
<center>
|
||||
<img src="clipart/Animations/AG00219_.gif" width="100" height="100" align="bottom"></center>
|
||||
</td>
|
||||
<td >
|
||||
<center>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`
|
||||
<font size="6" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font></center>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += `</td>
|
||||
<td width="100">
|
||||
<center>
|
||||
<img src="clipart/Animations/AG00220_.gif" width="100" height="100" align="bottom"></center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p> </p>`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<P>`;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,80 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#000000";
|
||||
this.styledata.link = "#180d4b";
|
||||
this.styledata.vlink = "#660000";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = "#ffcc00";
|
||||
this.styledata.listcol2 = "#ffcc00";
|
||||
this.styledata.stylemedia = ["/clipart/Nature/Flowers/na00140_.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<BODY bgcolor=#ffffcc link=#006600 vlink=#660000>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = `<TABLE cellpadding=8 width=100%>
|
||||
<TR>
|
||||
<TD><IMG src=clipart/Nature/Flowers/na00140_.gif width=253 height=273 align=left> </TD>
|
||||
<TD>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader += `<FONT size=+3 color=#003300>${title}</FONT>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += `<P></TD>
|
||||
</TR>
|
||||
</TABLE>`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `
|
||||
<CENTER>
|
||||
<P>`;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,78 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#ffffcc";
|
||||
this.styledata.link = "yellow";
|
||||
this.styledata.vlink = "#ffcc99";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [
|
||||
"/clipart/styleMedia/footballfield.gif",
|
||||
"/clipart/styleMedia/football.gif",
|
||||
];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body background="clipart/styleMedia/footballfield.gif" text="#ffffcc" bgcolor="white" link="yellow" alink="#ccffcc" vlink="#ffcc99">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = `<img src="clipart/styleMedia/football.gif" width="283" height="55" align="bottom"><p>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<H1><font size="6" color=` +
|
||||
this.styledata.text +
|
||||
`>${title}</font></H1>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<p>`;
|
||||
|
||||
this.styledata.footerstart = `</center>
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -1,58 +1,64 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#97e373";
|
||||
this.styledata.link = "#ccc63f";
|
||||
this.styledata.vlink = "#22cc17";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#97e373";
|
||||
this.styledata.link = "#ccc63f";
|
||||
this.styledata.vlink = "#22cc17";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body text="#97e373" bgcolor="#003300" link="#ccc63f" vlink="#22cc17">`
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<body text="#97e373" bgcolor="#003300" link="#ccc63f" vlink="#22cc17">`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`
|
||||
}
|
||||
this.styledata.header += `
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.header += `
|
||||
<center>
|
||||
<font size="+3" color="#66ff66"><b>
|
||||
<table border=0 cellspacing="4" cellpadding="4" width=100%>
|
||||
<tbody><tr>
|
||||
<td>`
|
||||
<td>`;
|
||||
|
||||
this.styledata.titheader = ``
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`
|
||||
}
|
||||
this.styledata.titheader += `<font size="+4" color=` + this.styledata.text + `>${title}</font></td>
|
||||
<td>`
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<font size="+4" color=` +
|
||||
this.styledata.text +
|
||||
`>${title}</font></td>
|
||||
<td>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`
|
||||
}
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = `</tr>
|
||||
this.styledata.afterblock1 = `</tr>
|
||||
</table>
|
||||
</b></font></center>`
|
||||
</b></font></center>`;
|
||||
|
||||
this.styledata.tabstart = ``;
|
||||
this.styledata.tabstart = ``;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
this.styledata.footerstart = `
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
@@ -61,18 +67,18 @@ to return to editing it.
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`
|
||||
}
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata.styledata;
|
||||
}
|
||||
get() {
|
||||
return this.styledata.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
module.exports = PBTemplate;
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#261373";
|
||||
this.styledata.link = "blue";
|
||||
this.styledata.vlink = "#2a6e73";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/tile6.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body text="#261373" link="blue" vlink="#2a6e73" background="clipart/styleMedia/tile6.gif">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`
|
||||
<font size="+3" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = ``;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,77 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "black";
|
||||
this.styledata.link = "blue";
|
||||
this.styledata.vlink = "#ff00ff";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body bgcolor="silver" text="black" link="blue" alink="red" vlink="#ff00ff">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`
|
||||
<font size="+3" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<p>`;
|
||||
|
||||
this.styledata.footerstart = `</center>
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -1,25 +1,33 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#e68a34";
|
||||
this.styledata.link = "#e64045";
|
||||
this.styledata.vlink = "#e64045";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/Animations/j0205352.gif", "/clipart/Animations/j0205350.gif", "/clipart/Special_Occasions/Holidays/so00430_.gif"];
|
||||
this.styledata.headerimgL = "clipart/Special_Occasions/Holidays/so00430_.gif";
|
||||
this.styledata.headerimgLheight = "94";
|
||||
this.styledata.headerimgLwidth = "119";
|
||||
this.styledata.header = `<html>
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#e68a34";
|
||||
this.styledata.link = "#e64045";
|
||||
this.styledata.vlink = "#e64045";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [
|
||||
"/clipart/Animations/j0205352.gif",
|
||||
"/clipart/Animations/j0205350.gif",
|
||||
"/clipart/Special_Occasions/Holidays/so00430_.gif",
|
||||
];
|
||||
this.styledata.headerimgL =
|
||||
"clipart/Special_Occasions/Holidays/so00430_.gif";
|
||||
this.styledata.headerimgLheight = "94";
|
||||
this.styledata.headerimgLwidth = "119";
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body bgcolor="black" text="#e68a34" link="#e64045">`
|
||||
this.styledata.previewheader = `<html>
|
||||
<body bgcolor="black" text="#e68a34" link="#e64045">`;
|
||||
this.styledata.previewheader = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
@@ -32,34 +40,37 @@ You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>
|
||||
`
|
||||
this.styledata.titheader = `<center>
|
||||
`;
|
||||
this.styledata.titheader = `<center>
|
||||
<table border="0" cellpadding="0" cellspacing="2" frame width="90%">
|
||||
<tr>
|
||||
<td><img height="150" width="150" src="clipart/Animations/j0205352.gif"></td>
|
||||
<td >
|
||||
<center>`
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`
|
||||
}
|
||||
this.styledata.titheader += `<font size="+3" color=` + this.styledata.text + `><b>${title}</b></font></center>`
|
||||
<center>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<font size="+3" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font></center>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`
|
||||
}
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += `</td>
|
||||
this.styledata.titheader += `</td>
|
||||
<td><img height="150" width="150" src="clipart/Animations/j0205350.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>`
|
||||
</center>`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = ``;
|
||||
this.styledata.tabstart = ``;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
this.styledata.footerstart = `
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
@@ -68,18 +79,18 @@ this.styledata.footerstart = `
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`
|
||||
}
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
module.exports = PBTemplate;
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#000000";
|
||||
this.styledata.link = "#33309a";
|
||||
this.styledata.vlink = "#33309a";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = "#d6d6d6";
|
||||
this.styledata.listcol2 = "#d6d6d6";
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/AG00318_.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<BODY bgcolor="#c4dbff" link="#33309a">`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = `<TABLE border=0 cellpadding=8>
|
||||
<TR>
|
||||
<TD><IMG src=clipart/styleMedia/AG00318_.gif align=left> </TD>
|
||||
<TD>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader += `<FONT size=+3 color=#003300>${title}</FONT>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += `<P></TD>
|
||||
</TR>
|
||||
</TABLE>`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `
|
||||
<CENTER>`;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,79 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#000000";
|
||||
this.styledata.link = "#4c58b6";
|
||||
this.styledata.vlink = "#519eb6";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = "#d6d6d6";
|
||||
this.styledata.listcol2 = "#d6d6d6";
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/AG00318_.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<BODY bgcolor="#deb1b1" link="#4c58b6" vlink="#519eb6">`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = `<TABLE border=0 cellpadding=8>
|
||||
<TR>
|
||||
<TD><IMG src=clipart/styleMedia/AG00318_.gif align=left> </TD>
|
||||
<TD>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader += `<FONT size=+3 color=#003300>${title}</FONT>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += `<P></TD>
|
||||
</TR>
|
||||
</TABLE>`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `
|
||||
<CENTER>`;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,77 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#7eecf7";
|
||||
this.styledata.link = "#c5c1ca";
|
||||
this.styledata.vlink = "#b4c1fa";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/tile4.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body text="#7eecf7" link="#c5c1ca" vlink="#b4c1fa" background="clipart/styleMedia/tile4.gif">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`
|
||||
<font size="+3" color=` +
|
||||
this.styledata.text +
|
||||
`><b><i>${title}</i></b></font>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<P>`;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,80 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#ffffa0";
|
||||
this.styledata.link = "#fff81f";
|
||||
this.styledata.vlink = "#ffa034";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/tile1.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body background="clipart/styleMedia/tile1.gif" text="#ffffa0" link="#fff81f" vlink="#ffa034">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<CENTER><H1>
|
||||
<font color=` +
|
||||
this.styledata.text +
|
||||
`>${title}</font>
|
||||
</H1></CENTER>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += ` `;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<p>`;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,102 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.link = "#00ffff";
|
||||
this.styledata.vlink = "#ccffff";
|
||||
this.styledata.text = "#ffffff";
|
||||
this.styledata.headcol = "#ffffff";
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [
|
||||
"/clipart/styleMedia/oceantile.gif",
|
||||
"/clipart/Animals/Fish_n_Sealife/an01053_.gif",
|
||||
"/clipart/Animals/Fish_n_Sealife/an00312_.gif",
|
||||
"/clipart/Animals/Fish_n_Sealife/na00299_.gif",
|
||||
];
|
||||
this.styledata.headerimgL = "/clipart/Animals/Fish_n_Sealife/an01053_.gif";
|
||||
this.styledata.headerimgLheight = "68";
|
||||
this.styledata.headerimgLwidth = "32";
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html><head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt by JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body vlink="#CCFFFF" text="#FFFFFF" link="#00FFFF" bgcolor="#7189ae" background="clipart/styleMedia/oceantile.gif">`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader += `
|
||||
<center>
|
||||
<table border="0" cellpadding="0" cellspacing="2" frame width="90%">
|
||||
<tr>
|
||||
<td><img height="69" width="69" src="clipart/Animals/Fish_n_Sealife/na00299_.gif"></td>
|
||||
<td >
|
||||
<center>
|
||||
`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`
|
||||
<font size="+3" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font></center>
|
||||
`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
this.styledata.titheader += `
|
||||
</td>
|
||||
<td><img height="69" width="78" src="clipart/Animals/Fish_n_Sealife/an00312_.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<p>`;
|
||||
|
||||
this.styledata.footerstart = `</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</center>
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</center>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,77 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "c8e7f1";
|
||||
this.styledata.link = "#fffe67";
|
||||
this.styledata.vlink = "#ff7171";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/show-tile3.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body background="clipart/styleMedia/show-tile3.gif" text="#c8e7f1" link="#fffe67" vlink="#ff7171">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`
|
||||
<font size="+3" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<p>`;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -1,58 +1,64 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#cabdc7";
|
||||
this.styledata.link = "#cac534";
|
||||
this.styledata.vlink = "#c8cac5";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#cabdc7";
|
||||
this.styledata.link = "#cac534";
|
||||
this.styledata.vlink = "#c8cac5";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body text="#cabdc7" bgcolor="#660517" link="#cac534" vlink="#c8cac5">`
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<body text="#cabdc7" bgcolor="#660517" link="#cac534" vlink="#c8cac5">`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`
|
||||
}
|
||||
this.styledata.header += `
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.header += `
|
||||
<center>
|
||||
<font size="+3" color="#66ff66"><b>
|
||||
<table border="0" cellspacing="4" cellpadding="4" width=100%>
|
||||
<tbody><tr>
|
||||
<td>`
|
||||
<td>`;
|
||||
|
||||
this.styledata.titheader = ``
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`
|
||||
}
|
||||
this.styledata.titheader += `<font size="+4" color=` + this.styledata.text + `>${title}</font></td>
|
||||
<td>`
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<font size="+4" color=` +
|
||||
this.styledata.text +
|
||||
`>${title}</font></td>
|
||||
<td>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`
|
||||
}
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = `</tr>
|
||||
this.styledata.afterblock1 = `</tr>
|
||||
</table>
|
||||
</b></font></center>`
|
||||
</b></font></center>`;
|
||||
|
||||
this.styledata.tabstart = ``;
|
||||
this.styledata.tabstart = ``;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
this.styledata.footerstart = `
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
@@ -61,18 +67,18 @@ to return to editing it.
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`
|
||||
}
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
module.exports = PBTemplate;
|
||||
|
||||
@@ -1,52 +1,62 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#000000"
|
||||
this.styledata.link = "#180d4b"
|
||||
this.styledata.vlink = "#660000"
|
||||
this.styledata.headcol = this.styledata.text
|
||||
this.styledata.listcol1 = "#e5f4ff"
|
||||
this.styledata.listcol2 = "#81c2d0"
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/stars.gif", "/clipart/Animals/Wildlife/an00660_.gif", "/clipart/Animals/Wildlife/an00975_.gif"];
|
||||
this.styledata.headerimgL = "clipart/Animals/Wildlife/an00975_.gif";
|
||||
this.styledata.headerimgLheight = "70";
|
||||
this.styledata.headerimgLwidth = "51";
|
||||
this.styledata.header = `<html>
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#000000";
|
||||
this.styledata.link = "#180d4b";
|
||||
this.styledata.vlink = "#660000";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = "#e5f4ff";
|
||||
this.styledata.listcol2 = "#81c2d0";
|
||||
this.styledata.stylemedia = [
|
||||
"/clipart/styleMedia/stars.gif",
|
||||
"/clipart/Animals/Wildlife/an00660_.gif",
|
||||
"/clipart/Animals/Wildlife/an00975_.gif",
|
||||
];
|
||||
this.styledata.headerimgL = "clipart/Animals/Wildlife/an00975_.gif";
|
||||
this.styledata.headerimgLheight = "70";
|
||||
this.styledata.headerimgLwidth = "51";
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body bgcolor="white" link="#180d4b" vlink="#660000" background="clipart/styleMedia/stars.gif">`
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<body bgcolor="white" link="#180d4b" vlink="#660000" background="clipart/styleMedia/stars.gif">`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`
|
||||
}
|
||||
this.styledata.titheader = ``
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`
|
||||
}
|
||||
this.styledata.titheader += `<center><font size="6" color=` + this.styledata.text + `><b>${title}</b></font>`
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<center><font size="6" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`
|
||||
}
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += `<p><img src="clipart/Animals/Wildlife/an00660_.gif" width="317" height="273" align="bottom"> </p>
|
||||
this.styledata.titheader += `<p><img src="clipart/Animals/Wildlife/an00660_.gif" width="317" height="273" align="bottom"> </p>
|
||||
<p> </p>
|
||||
</center>`
|
||||
</center>`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<blockquote>`;
|
||||
this.styledata.tabstart = `<blockquote>`;
|
||||
|
||||
this.styledata.footerstart = `</blockquote>
|
||||
this.styledata.footerstart = `</blockquote>
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
@@ -55,18 +65,18 @@ to return to editing it.
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`
|
||||
}
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
module.exports = PBTemplate;
|
||||
|
||||
@@ -0,0 +1,89 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#000000";
|
||||
this.styledata.link = "#180d4b";
|
||||
this.styledata.vlink = "#660000";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/ringbinder.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html><head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body text="black" link="#552768" bgcolor="white" vlink="#333333" background="clipart/styleMedia/ringbinder.gif">`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>
|
||||
`;
|
||||
}
|
||||
this.styledata.header += `<TABLE border=0 cellspacing=0 cellpadding=0>`;
|
||||
this.styledata.titheader = `<TR>
|
||||
<TD width=80 rowspan=2></TD>
|
||||
<TD >
|
||||
<CENTER>
|
||||
<FONT size=7>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<font color=` + this.styledata.text + `><b>${title}</B>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += `</FONT></CENTER>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD valign=top>
|
||||
<FONT size=6 color=#666666><B>`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = "";
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</B></FONT></P>
|
||||
<P> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</BODY>
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,77 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "e4ece6";
|
||||
this.styledata.link = "eceb9f";
|
||||
this.styledata.vlink = "#e1903c";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/tile12.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body text="#e4ece6" link="#eceb9f" vlink="#e1903c" background="clipart/styleMedia/tile12.gif">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`
|
||||
<font size="+3" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<p>`;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,77 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "black";
|
||||
this.styledata.link = "#2a238c";
|
||||
this.styledata.vlink = "#f17075";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/tile11.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body background="clipart/styleMedia/tile11.gif" link="#2a238c" vlink="#f17075">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`
|
||||
<font size="+3" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<p>`;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -1,39 +1,44 @@
|
||||
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.link = "#ffcc00";
|
||||
this.styledata.vlink = "#ffff99";
|
||||
this.styledata.text = "#cccccc";
|
||||
this.styledata.headcol = "#cccccc"
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/spacefield.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.header = `<html><head>
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.link = "#ffcc00";
|
||||
this.styledata.vlink = "#ffff99";
|
||||
this.styledata.text = "#cccccc";
|
||||
this.styledata.headcol = "#cccccc";
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/spacefield.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html><head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt by JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body vlink="#ffff99" text="#cccccc" link="#ffcc00" bgcolor="#333333" background="clipart/styleMedia/spacefield.gif">`
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<body vlink="#ffff99" text="#cccccc" link="#ffcc00" bgcolor="#333333" background="clipart/styleMedia/spacefield.gif">`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`
|
||||
}
|
||||
this.styledata.titheader = ``
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`
|
||||
}
|
||||
this.styledata.titheader += `<center>
|
||||
<font size="7" color=` + this.styledata.text + `><b>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<center>
|
||||
<font size="7" color=` +
|
||||
this.styledata.text +
|
||||
`><b>
|
||||
${title}
|
||||
</b></font>
|
||||
<p>
|
||||
@@ -43,19 +48,18 @@ ${title}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</center>`
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`
|
||||
}
|
||||
</center>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<p>
|
||||
this.styledata.tabstart = `<p>
|
||||
<table>
|
||||
<tbody><tr><td>`;
|
||||
|
||||
this.styledata.footerstart = `</td>
|
||||
this.styledata.footerstart = `</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</center>
|
||||
@@ -67,20 +71,20 @@ ${title}
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</center>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`
|
||||
}
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
module.exports = PBTemplate;
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#ffffcc";
|
||||
this.styledata.link = "#00ccff";
|
||||
this.styledata.vlink = "#ccffff";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/stonesfield.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body text="#ffffcc" bgcolor="white" link="#00ccff" vlink="#ccffff" background="clipart/styleMedia/stonesfield.gif">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<center>
|
||||
<font size="+3" color=` +
|
||||
this.styledata.text +
|
||||
`><b><i>${title}</i></b></font>
|
||||
</center>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<p>`;
|
||||
|
||||
this.styledata.footerstart = `</center>
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,80 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#cccccc";
|
||||
this.styledata.link = "#50caca";
|
||||
this.styledata.vlink = "#47ca92";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/tile3.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body background="clipart/styleMedia/tile3.gif" text="#cccccc" link="#50caca" vlink="#47ca92">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`<CENTER><H1>
|
||||
<font color=` +
|
||||
this.styledata.text +
|
||||
`>${title}</font>
|
||||
</H1></CENTER>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += ` `;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<p>`;
|
||||
|
||||
this.styledata.footerstart = `</center>
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,77 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "white";
|
||||
this.styledata.link = "aqua";
|
||||
this.styledata.vlink = "#ccffff";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = ["/clipart/styleMedia/watertile.gif"];
|
||||
this.styledata.headerimgL = null;
|
||||
this.styledata.headerimgLheight = null;
|
||||
this.styledata.headerimgLwidth = null;
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<meta name="generator" content="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<meta name="description" content="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body background="clipart/styleMedia/watertile.gif" text="white" link="aqua" alink="red" vlink="#ccffff">
|
||||
<center>`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = ``;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader +=
|
||||
`
|
||||
<font size="+3" color=` +
|
||||
this.styledata.text +
|
||||
`><b>${title}</b></font>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `<P>`;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tbody><tr height="0">
|
||||
<td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td><td height="0">
|
||||
<spacer type="block" width="30%" height="0">
|
||||
</spacer></td></tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<div style="position: static !important;"></div></body></html>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
@@ -0,0 +1,87 @@
|
||||
class PBTemplate {
|
||||
styledata = {};
|
||||
|
||||
constructor(wtvauthor, title, desc, state, docName) {
|
||||
this.styledata.text = "#3f3a89";
|
||||
this.styledata.link = "#6a298c";
|
||||
this.styledata.vlink = "#6a298c";
|
||||
this.styledata.headcol = this.styledata.text;
|
||||
this.styledata.listcol1 = null;
|
||||
this.styledata.listcol2 = null;
|
||||
this.styledata.stylemedia = [
|
||||
"/clipart/styleMedia/j0172489.gif",
|
||||
"/clipart/Special_Occasions/Wedding/so00527_.gif",
|
||||
];
|
||||
this.styledata.headerimgL =
|
||||
"clipart/Special_Occasions/Wedding/so00527_.gif";
|
||||
this.styledata.headerimgLheight = "76";
|
||||
this.styledata.headerimgLwidth = "92";
|
||||
this.styledata.headerimgR = null;
|
||||
this.styledata.headerimgRheight = null;
|
||||
this.styledata.headerimgRwidth = null;
|
||||
this.styledata.header = `<html>
|
||||
<head>
|
||||
<META NAME="generator" CONTENT="WebTV Page Builder (Rebuilt By JarHead)">
|
||||
<META NAME="description" CONTENT="${desc}">
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body bgcolor="#97bfbb" text="#3f3a89" link="#6a298c" vlink="#6a298c">`;
|
||||
if (state == "previewing") {
|
||||
this.styledata.header += `<TABLE cellspacing=0 cellpadding=0 bgcolor=#1e4261 border=1 width=100%>
|
||||
<TR><TD valign=middle align=center><FONT color=#D1D1D1>
|
||||
You are previewing your page. Press <B>Back</B>
|
||||
to return to editing it.
|
||||
</FONT>
|
||||
</TABLE>`;
|
||||
}
|
||||
this.styledata.titheader = `<center>
|
||||
<table border="0" cellpadding="0" cellspacing="2" frame width="90%">
|
||||
<tr>
|
||||
<td><img src="clipart/styleMedia/j0172489.gif" height="122" width="123"></td>
|
||||
<td >
|
||||
<center>`;
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `<a href="wtv-author:/edit-title?docName=${docName}&titleOnly=true">
|
||||
`;
|
||||
}
|
||||
this.styledata.titheader += `<FONT size=+3 color=#${this.styledata.text}><b>${title}</b></FONT></center>`;
|
||||
|
||||
if (state == "editing") {
|
||||
this.styledata.titheader += `</a>`;
|
||||
}
|
||||
|
||||
this.styledata.titheader += `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>`;
|
||||
|
||||
this.styledata.afterblock1 = null;
|
||||
|
||||
this.styledata.tabstart = `
|
||||
<CENTER>
|
||||
<P>`;
|
||||
|
||||
this.styledata.footerstart = `
|
||||
<table border="0" cellpadding="0" cellspacing="2" width="100%">
|
||||
<tr height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
<td height=0>
|
||||
<spacer type=block width=30% height=0>
|
||||
</tr>`;
|
||||
this.styledata.webtvfooter = wtvauthor.getCommonFooter();
|
||||
this.styledata.footerend = `</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY>
|
||||
</HTML>`;
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.styledata;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PBTemplate;
|
||||
Reference in New Issue
Block a user