summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rw-r--r--[-rwxr-xr-x]html/favicon.icobin2238 -> 2238 bytes
-rwxr-xr-xhtml/frameset.html12
-rwxr-xr-xhtml/index.html39
-rwxr-xr-xhtml/input.html50
-rwxr-xr-xhtml/notfound.html4
-rwxr-xr-xhtml/online.html21
-rwxr-xr-xhtml/stream.html33
-rw-r--r--[-rwxr-xr-x]html/style.css0
8 files changed, 42 insertions, 117 deletions
diff --git a/html/favicon.ico b/html/favicon.ico
index 4deafd5..4deafd5 100755..100644
--- a/html/favicon.ico
+++ b/html/favicon.ico
Binary files differ
diff --git a/html/frameset.html b/html/frameset.html
index 51c58ee..fe6b973 100755
--- a/html/frameset.html
+++ b/html/frameset.html
@@ -1,21 +1,19 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>
- %%ychat.version%%
+ %%PGETITLE%%
</title>
</head>
- <frameset rows="*,70">
+ <frameset rows="*,60">
<noframes>
Your browser does not support frames,
</noframes>
<frameset cols="*,150">
- <frame src="stream.html?event=stream&tmpid=%%tmpid%%" name="stream">
- <frame src="online.html?event=online&tmpid=%%tmpid%%" name="online">
+ <frame src="stream.html?event=stream&nick=%%nick%%&tmpid=%%tmpid%%" name="stream">
+ <frame src="online.html?event=online&nick=%%nick%%&tmpid=%%tmpid%%" name="online">
</frameset>
<frameset rows="*,0">
- <frame src="input.html?event=input&tmpid=%%tmpid%%" name="input">
+ <frame src="input.html?event=input&nick=%%nick%%&tmpid=%%tmpid%%" name="input">
<frame src="blank.html" name="blank">
</frameset>
</frameset>
diff --git a/html/index.html b/html/index.html
index 7337772..7bc01b0 100755
--- a/html/index.html
+++ b/html/index.html
@@ -1,47 +1,28 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>
- %%ychat.version%%
+ %%PGETITLE%%
</title>
<link rel=stylesheet href="style.css" type=text/css>
</head>
<body bgcolor=#000000 text=#ffff00>
<table align=center width=500>
<tr>
-<td align=center><img src="images/y_black.png" alt="yChat"></td>
-<td align=center class=header>%%ychat.version%%<br><br>%%INFO%%</td>
+<td align=center><img src="y_black.gif" alt="ychat"></td>
+<td align=center class=header>%%PGETITLE%%<br>%%INFO%%</td>
</tr>
<tr>
-<td colspan=2>&nbsp;</td>
+ <td colspan=2>&nbsp;</td>
</tr>
<tr>
-<td align=center colspan=2>
-<form action="frameset.html" method="POST">
+ <td align=center colspan=2>
+Enter your nick:
+<form action="frameset.html" method="GET">
<input type="hidden" name="event" value="login">
-Enter your nick:<br>
- <input type="text" name="nick" value="%%nick%%" maxlength="%%chat.maxlength.username%%" accesskey="n">
-<br>
-<br>
-Enter your password:<br>
- <input type="password" name="password" value="%%pass%%" maxlength="%%chat.maxlength.password%%" accesskey="p">
-<br>
-<br>
-Enter your room:<br>
- <input type="text" name="room" value="%%chat.defaultroom%%" maxlength="%%chat.maxlength.roomname%%" accesskey="r">
-<br>
-<br>
- <input type="hidden" name="end" value="end">
- <input type="submit" value="login" accesskey="s">
+ <input type="hidden" name="room" value="%%STRDROOM%%">
+ <input type="text" name="nick">
+ <input type="submit" value="login">
</form>
-<br>
-<a href="register.html">Register</a> a new nick
-<br>
-<br>
-If you don't want to register you may login
-<br>
-without a password using an unregistered nick.
</td>
</tr>
</table>
diff --git a/html/input.html b/html/input.html
index b5e4cd2..a403d8e 100755
--- a/html/input.html
+++ b/html/input.html
@@ -1,60 +1,34 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <head>
<title>
- %%HTML_TITLE_TAG_CONTENT%%
+ %%PGETITLE%%
</title>
- <link rel=stylesheet href="style.css" type=text/css>
+<link rel=stylesheet href="style.css" type=text/css>
+
<script language="JavaScript">
<!--
function delout()
{
- document.input.submit();
- document.input.message.value = "";
document.input.message.focus();
+ document.input.message.select();
+ document.input.submit();
return false;
}
function selectinput()
{
document.input.message.select();
}
- function popup(site,width,height)
- {
- var left = (screen.availWidth-width)/2;
- var top = (screen.availHeight-height)/2;
- var win = window.open(site,"_blank","width="+width+",height="+height+",left="+left+",top="+top+",scrollbars=yes");
- }
//-->
</script>
</head>
<body bgcolor=#000000 text=#ffffff>
- <table>
- <tr><td>
- <form method="GET" name="input" action="input.html" target="blank" onsubmit="return delout();">
- <input type="hidden" name="event" value="input">
+ <form name="input" action="input.html" target="blank" onsubmit="return delout();">
+ <input type="hidden" name="event" value="post">
+ <input type="hidden" name="nick" value="%%nick%%">
<input type="hidden" name="tmpid" value="%%tmpid%%">
- <input type="text" name="message" size="60" maxlength="%%chat.maxlength.message%%">
- <input type="submit" value="send" accesskey='s'>
- <input type="button" value="select" accesskey='e' onclick="javascript:selectinput();">
+ <input type="text" name="message" size="50">
+ <input type="submit" value="send">
+ <input type="button" value="select" onclick="javascript:selectinput();">
</form>
- </td>
- <td valign=top>
- <a href='#' onclick="javascript:popup('colors.html?event=colors&tmpid=%%tmpid%%', 600, 480)">Colors</a>
- </td>
- <td valign=top>
- <a href='#' onclick="javascript:popup('options.html?event=options&tmpid=%%tmpid%%', 600, 480)">Options</a>
- </td>
- <td valign=top>
- <a href='#' onclick="javascript:popup('help.html?event=help&tmpid=%%tmpid%%', 600, 480)">Help</a>
- </td>
- <td valign=top>
- <a href='#' onclick="javascript:popup('admin.html?event=admin&tmpid=%%tmpid%%', 600, 480)">Admin</a>
- </td>
- <td valign=top>
- <a href='input.html?event=input&tmpid=%%tmpid%%&message=%2Fq' target='blank'>Logout</a>
- </td>
- </tr>
- </table>
</body>
</html>
diff --git a/html/notfound.html b/html/notfound.html
index a14d44b..574e341 100755
--- a/html/notfound.html
+++ b/html/notfound.html
@@ -1,9 +1,7 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>
- %%HTML_TITLE_TAG_CONTENT%%
+ %%PGETITLE%%
</title>
</head>
<body>
diff --git a/html/online.html b/html/online.html
index 29b606d..aa14f8d 100755
--- a/html/online.html
+++ b/html/online.html
@@ -1,24 +1,7 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<meta http-equiv="refresh" content="20">
+ <meta http-equiv="refresh" content="20">
<link rel=stylesheet href="style.css" type=text/css>
<body bgcolor=#000000 text=#ffffff>
- <b>%%ROOMNAME%%</b>
- <br>
- <br>
- <table>
- <tr>
- <td>
- %%ROOMTOPIC%%
- </td>
- </tr>
- %%USERLIST%%
- </table>
+ %%MESSAGE%%
</body>
</html>
-
-
-
-
diff --git a/html/stream.html b/html/stream.html
index 493e9d3..6678069 100755
--- a/html/stream.html
+++ b/html/stream.html
@@ -1,39 +1,30 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <head>
<title>
- %%HTML_TITLE_TAG_CONTENT%%
+ %%PGETITLE%%
</title>
<link rel=stylesheet href="style.css" type=text/css>
<script language="JavaScript">
- var scrolling;
- var isOn;
function autoScroll()
{
- if(!isOn)
- {
- scrolling = window.setInterval("window.scroll(1,1606682)",70);
- isOn = true;
- }
+ window.scroll(1, 50000 );
+ timer = setTimeout('autoScroll()',200);
}
+ autoScroll();
+
function stopScroll()
{
- if(isOn)
- {
- window.clearInterval(scrolling);
- isOn=false;
- }
+ clearTimeout(timer);
+ }
+
+ function startScroll()
+ {
+ timer = setTimeout('autoScroll()', 200);
}
</script>
</head>
<body bgcolor=#000000 text=#ffffff>
-<script>
-autoScroll();
-</script>
-
Welcome to yChat %%nick%%!
<br>
<br>
-
diff --git a/html/style.css b/html/style.css
index e31bd7e..e31bd7e 100755..100644
--- a/html/style.css
+++ b/html/style.css