Commit Graph

131 Commits

Author SHA1 Message Date
jwz
54f1974d08 yuck. you can't use ".." in otherwise-fully-qualified URLs, so I had
to add another template variable, $dotdoturl, that is just like $baseurl
but points to one directory higher.  Sucks!
1998-06-16 01:18:34 +00:00
jwz
f4dbb69b71 patches from dawn to sync with latest official lxr 1998-06-16 00:57:48 +00:00
jwz
29748e5b2f added a number of new template files:
instead of just "htmlhead" and "htmltail" there are now:

    "sourcehead" and "sourcetail"
    "sourcedirhead" and "sourcedirtail"
    "findhead" and "findtail"
    "identhead" and "identtail"
    "searchhead" and "searchtail"

so that each CGI can have its own custom headers and footers.
If (for example) identhead isn't configured in lxr.conf, then
htmlhead will be used instead.

"sourcedir*" is used in preference to "source*" when the output
of the "source" script is a CGI.  If sourcedir* aren't configured,
then it falls back to "source*" (and from there to "html*")
1998-06-16 00:51:27 +00:00
jwz
800884f8d3 If a file is less than 1k, print its size in bytes. 1998-06-15 22:18:06 +00:00
jwz
538c1fcd04 Print the date flush-right; leave about one space between columns. 1998-06-15 21:52:14 +00:00
jwz
08ea4455e3 Print the date like ls does: "Mmm dd hh:mm" if it is newer than six months,
else "Mmm dd yyyy" if it is older.

Use the internal-gopher-* images instead of the GIFs in /icons/.

Print a "-" for the size of directories.
1998-06-15 21:51:41 +00:00
jwz
6c9f8e579a I'm a chimp; I didn't test the last change, and left out the blank line after
the headers.
1998-06-15 17:15:35 +00:00
jwz
62b8204d80 don't send last-modified headers with a static date... 1998-06-15 05:08:14 +00:00
jwz
617fc42dfb Wow, how lame. The only way I could get the table columns to line up was
to increase the field size from 6 to 8!  That's robust...  It seems that
</FORM> inserts a paragraph break even when it comes just before </TD>,
so the "use this field" text must be inside the </FORM> in order to be
snugly against the text field.  But, if "Text Search" isn't in the same
<TR> as the text field, they won't line up properly vertically.  So
I can't figure out how to combine all of the <FORM>s into one table to
make the columns all line up without introducing lots of vertical space.
1998-06-13 18:47:35 +00:00
jwz
21ebac08bd I hadn't realized that "ident" did case-sensitive exact matches instead of
regexp searches.  Updated the instructions to reflect this.
1998-06-13 18:26:54 +00:00
jwz
751a2ca385 "text" is more meaningful than "glimpse" 1998-06-13 01:38:31 +00:00
jwz
458727e7a4 thank the authors, too 1998-06-13 01:25:58 +00:00
jwz
ee53495e02 apparently glimpseindex wants to run "whereis", so I added /usr/ucb to $PATH 1998-06-13 01:15:11 +00:00
jwz
71ed1a5d83 *** empty log message *** 1998-06-13 01:12:23 +00:00
jwz
0dc52cc827 reformatted 1998-06-13 01:11:09 +00:00
jwz
274c4ea37a *** empty log message *** 1998-06-13 00:45:02 +00:00
jwz
ea1e30c8b1 print date to log; know where cvs is 1998-06-13 00:43:15 +00:00
jwz
05045ca24d lose cvs1.mozilla.org 1998-06-12 22:27:22 +00:00
jwz
5272cf4440 *** empty log message *** 1998-06-12 22:06:58 +00:00
jwz
78988a9559 update the lxr sources too; and log. 1998-06-12 22:03:28 +00:00
jwz
5d14338256 *** empty log message *** 1998-06-12 21:58:38 +00:00
jwz
951f5fd94a *** empty log message *** 1998-06-12 21:48:51 +00:00
jwz
6a9fd84fda linked in dawn's search help doc 1998-06-12 21:42:37 +00:00
jwz
ee5db31b04 *** empty log message *** 1998-06-12 20:52:28 +00:00
jwz
3892049f03 *** empty log message *** 1998-06-12 20:25:05 +00:00
jwz
43849f7053 we don't need this 1998-06-12 20:24:06 +00:00
jwz
8e42c43196 tweaked tables 1998-06-12 20:20:24 +00:00
jwz
a5fc1a8634 tweaked tables 1998-06-12 20:08:12 +00:00
jwz
ba4c1e8928 *** empty log message *** 1998-06-12 19:41:29 +00:00
jwz
1adae91733 fixed #! 1998-06-12 18:55:52 +00:00
jwz
2dd3df9069 initial revision of lxr (note that this code is under the GPL.) 1998-06-11 23:56:23 +00:00