Get rid of a couple now-unused CGI scripts
This commit is contained in:
parent
db52a39ae7
commit
98d276c9b1
136
src/lgmail
136
src/lgmail
|
|
@ -1,136 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# Print a feedback form that remembers who called it.
|
|
||||||
#
|
|
||||||
|
|
||||||
back_str='Go back'
|
|
||||||
if [ "x$WWW_where" = "x" ]; then
|
|
||||||
WWW_where="$HTTP_REFERER"
|
|
||||||
if [ "x$WWW_where" = "x" ]; then
|
|
||||||
WWW_where="/lurk/lurker.html"
|
|
||||||
back_str="To the Lurker's Guide home page"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
cat << EOF
|
|
||||||
Content-type: text/html
|
|
||||||
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Lurker's Guide feedback</title>
|
|
||||||
<map name="toplevel">
|
|
||||||
<area shape="RECT" coords="0,0,99,23" href="/lurk/universe/intro.html" alt="Universe">
|
|
||||||
<area shape="RECT" coords="100,0,199,23" href="/lurk/eplist.html" alt="Episodes">
|
|
||||||
<area shape="RECT" coords="200,0,299,23" href="/lurk/making/creators.html" alt="People">
|
|
||||||
<area shape="RECT" coords="300,0,399,23" href="/lurk/resources/online.html" alt="Resources">
|
|
||||||
<area shape="RECT" coords="400,0,499,23" href="/lurk/reference/episodes.html" alt="Encyclopedia">
|
|
||||||
<area shape="RECT" coords="0,24,499,31" nohref>
|
|
||||||
</map>
|
|
||||||
|
|
||||||
<map name="titlebar">
|
|
||||||
<area shape="RECT" coords="0,0,370,31" href="/lurk/lurker.html" alt="Home">
|
|
||||||
<area shape="RECT" coords="371,0,412,31" href="/lurk/search.html" alt="Find">
|
|
||||||
<area shape="RECT" coords="413,0,454,31" href="/lurk/toc.html" alt="Index">
|
|
||||||
<area shape="RECT" coords="455,0,499,31" href="/lurk/help.html" alt="Help">
|
|
||||||
</map>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<p align=center nowrap><nobr><img
|
|
||||||
align=middle border=0 usemap="#titlebar"
|
|
||||||
src="/lurk/nav/titlebar.gif" width=500 height=32
|
|
||||||
alt="[Home]">
|
|
||||||
|
|
||||||
<br><img
|
|
||||||
align=top border=0 usemap="#toplevel"
|
|
||||||
src="/lurk/nav/bar-none.gif" width=500 height=24
|
|
||||||
alt="">
|
|
||||||
</nobr>
|
|
||||||
|
|
||||||
<pre>
|
|
||||||
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<img src="/lurk/gif/b5logo-small.gif" align=left
|
|
||||||
width=52 height=62 alt="">
|
|
||||||
<strong>Please check the <a href="/lurk/help.html">Lurker's Guide Help page</a>
|
|
||||||
first!</strong> It contains the answers to the most common questions I'm
|
|
||||||
asked (video availability, schedule information, and more.)
|
|
||||||
If your question is answered there, you will <em>not</em> get a reply.
|
|
||||||
Also, the people who maintain the guide aren't the people who make the TV
|
|
||||||
show. Comments and questions about the show should be posted to the
|
|
||||||
rec.arts.sf.tv.babylon5 newsgroup, which is read by the folks in charge of
|
|
||||||
Babylon 5. (But please don't post story ideas; there's a
|
|
||||||
<a href="/lurk/resources/online.html#creative">mailing list</a>
|
|
||||||
for those.)
|
|
||||||
|
|
||||||
<p>
|
|
||||||
If you aren't asking a question, or you've checked the Help page,
|
|
||||||
<a href="#form">please proceed.</a> (Sorry for this extra step; I've been
|
|
||||||
getting tons of questions that are answered on the Help page, presumably
|
|
||||||
from people who saw the form and ignored the text above.)
|
|
||||||
|
|
||||||
<pre>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a name="form">Enter</a> your real name and E-mail address in the following two
|
|
||||||
fields. If your browser supports "mailto" links, you can
|
|
||||||
<a href="mailto:koreth@midwinter.com">send feedback</a>
|
|
||||||
that way.
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<form method=POST action="/cgi-bin/uncgi/lgsend">
|
|
||||||
<input type=hidden name="where" value="$WWW_where">
|
|
||||||
<input type=hidden name="what" value="$WWW_what">
|
|
||||||
|
|
||||||
Name: <input name="username"> E-Mail: <input name="mailaddr" size=25>
|
|
||||||
<p>
|
|
||||||
Type your comments below.
|
|
||||||
<br>
|
|
||||||
<textarea name="feedback" cols=58 rows=15></textarea>
|
|
||||||
<p>
|
|
||||||
<input type=submit value=" Send your feedback ">
|
|
||||||
</form>
|
|
||||||
<p>
|
|
||||||
<a href="$WWW_where">$back_str</a>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
EOF
|
|
||||||
70
src/lgsend
70
src/lgsend
|
|
@ -1,70 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# Send mail from a feedback form.
|
|
||||||
#
|
|
||||||
|
|
||||||
backstr="Go back"
|
|
||||||
if [ "x$WWW_where" = "x/lurk/lurker.html" ]; then
|
|
||||||
backstr="To the Lurker's Guide home page"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "x$WWW_mailaddr" = "x" ]; then
|
|
||||||
WWW_mailaddr=nobody
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "x$WWW_feedback" != "x" ]; then
|
|
||||||
/usr/local/bin/dos2unix << EOF | /usr/lib/sendmail koreth
|
|
||||||
From: $WWW_mailaddr ($WWW_username)
|
|
||||||
To: koreth
|
|
||||||
Subject: Lurker's Guide
|
|
||||||
|
|
||||||
[Remote host $REMOTE_HOST - $REMOTE_ADDR]
|
|
||||||
[$WWW_where]
|
|
||||||
[$HTTP_USER_AGENT]
|
|
||||||
|
|
||||||
$WWW_feedback
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
|
|
||||||
cat << EOF
|
|
||||||
Content-type: text/html
|
|
||||||
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Feedback sent.</title>
|
|
||||||
<map name="toplevel">
|
|
||||||
<area shape="RECT" coords="0,0,99,23" href="/lurk/universe/intro.html" alt="Universe">
|
|
||||||
<area shape="RECT" coords="100,0,199,23" href="/lurk/eplist.html" alt="Episodes">
|
|
||||||
<area shape="RECT" coords="200,0,299,23" href="/lurk/making/creators.html" alt="People">
|
|
||||||
<area shape="RECT" coords="300,0,399,23" href="/lurk/resources/online.html" alt="Resources">
|
|
||||||
<area shape="RECT" coords="400,0,499,23" href="/lurk/reference/episodes.html" alt="Encyclopedia">
|
|
||||||
<area shape="RECT" coords="0,24,499,31" nohref>
|
|
||||||
</map>
|
|
||||||
|
|
||||||
<map name="titlebar">
|
|
||||||
<area shape="RECT" coords="0,0,370,31" href="/lurk/lurker.html" alt="Home">
|
|
||||||
<area shape="RECT" coords="371,0,412,31" href="/lurk/search.html" alt="Find">
|
|
||||||
<area shape="RECT" coords="413,0,454,31" href="/lurk/toc.html" alt="Index">
|
|
||||||
<area shape="RECT" coords="455,0,499,31" href="/lurk/help.html" alt="Help">
|
|
||||||
</map>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<p align=center nowrap><nobr><img
|
|
||||||
align=middle border=0 usemap="#titlebar"
|
|
||||||
src="/lurk/nav/titlebar.gif" width=500 height=32
|
|
||||||
alt="[Home]">
|
|
||||||
|
|
||||||
<br><img
|
|
||||||
align=top border=0 usemap="#toplevel"
|
|
||||||
src="/lurk/nav/bar-none.gif" width=500 height=24
|
|
||||||
alt="">
|
|
||||||
</nobr>
|
|
||||||
|
|
||||||
<h1>Thank you for your comments.</h1>
|
|
||||||
<p>
|
|
||||||
Your comments have been mailed.
|
|
||||||
<p>
|
|
||||||
<a href="$WWW_where">$backstr</a>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
EOF
|
|
||||||
Loading…
Reference in New Issue