Commit 423e25a5 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Check in search page stuff. I've incorporated the web form from the

webglimpse dir right into search.php3. Its a simple form and I wanted
it to look a little different. It also allows me to get rid of the
FollowSymlinks change I made a couple of days ago. I've added a
install section that creates a symlink to the webglimpse dir, but
thats strictly for convenience. The install target cds into that
directory and reruns the glimpse index (its very quick cause we do not
have much documentation, perhaps a second. Overall, I do not like the
webglimpse stuff, but it will do for now.
parent 26e51d71
Options Includes FollowSymLinks
Options Includes
ErrorDocument 404 /error.shtml
ErrorDocument 403 /error.shtml
......@@ -61,13 +61,18 @@ install: $(addprefix $(INSTALL_WWWDIR)/, $(ALLFILES)) \
$(addprefix $(INSTALL_WWWDIR)/doc/, $(ALLDOCS)) \
$(addprefix $(INSTALL_WWWDIR)/autostatus-icons/, $(ALLICONS))
rm -f webglimpse \
ln -s ../webglimpse webglimpse \
if test -d ../webglimpse; \
then \
rm -f webglimpse; \
ln -s ../webglimpse webglimpse; \
(cd webglimpse && wgreindex -q); \
fi; \
rm -f tbdb.html; \
ln -s index.html tbdb.html; \
rm -f icons; \
ln -s /usr/local/www/icons icons;
@echo "Installing $<"
-mkdir -p $(patsubst %/,%,$(dir $@))
......@@ -63,6 +63,7 @@ function WRITESIDEBAR() {
WRITESIDEBARBUTTON("Publications", $TBDOCBASE, "pubs.php3");
WRITESIDEBARBUTTON("Documentation", $TBDOCBASE, "doc.php3");
WRITESIDEBARBUTTON("Search Documentation", $TBDOCBASE, "search.php3");
WRITESIDEBARBUTTON("Tutorial", $TBDOCBASE, "tutorial/tutorial.php3");
WRITESIDEBARBUTTON("People", $TBDOCBASE, "people.php3");
# Standard Testbed Header
PAGEHEADER("Search Emulab Documentation");
<table border=5>
<FORM method=get ACTION="/cgi-bin/webglimpse/usr/testbed/webglimpse">
<tr><td align=center colspan=2 valign=middle>
<font size=+3>
<a href="">WebGlimpse</a>
<td colspan=2>
String to search for: <INPUT NAME=query size=30>
<INPUT TYPE=submit VALUE=Submit>
<INPUT NAME=case TYPE=checkbox>Case&nbsp;sensitive
<!-- SPACES -->&nbsp;&nbsp;&nbsp;
<INPUT NAME=whole TYPE=checkbox>Partial&nbsp;match
<!-- SPACES -->&nbsp;&nbsp;&nbsp;
<INPUT NAME=lines TYPE=checkbox>Jump&nbsp;to&nbsp;line
<!-- SPACES -->&nbsp;&nbsp;&nbsp;
<SELECT NAME=errors align=right>
Return only files modified within the last <INPUT NAME=age size=5>
Maximum number of files returned:
<SELECT NAME=maxfiles>
<OPTION selected>50
Maximum number of matches per file returned:
<SELECT NAME=maxlines>
<OPTION selected>30
Maximum number of characters output per file:
<INPUT NAME="maxchars" VALUE=10000>
<td colspan=2>
<font size=-1>
<a href="">Glimpse</a> and
<a href="">WebGlimpse</a>,
Copyright &copy; 1996, University of Arizona
# Standard Testbed Footer
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment