Commit graph

37 commits

Author SHA1 Message Date
Wolfram Schneider
d597448ba5 Add simple icon for the iPhone/iPod touch. 2008-09-21 10:24:01 +00:00
Wolfram Schneider
e353aeb55f add general shortcut icon in html header 2008-09-21 10:20:10 +00:00
Xin LI
a688a3ffa4 Welcome to 2008 2007-12-31 22:20:54 +00:00
Daniel Gerzo
5433818b11 Bump the copyright year in the footer of cgi scripts.
Approved by: keramida (mentor), trhodes (mentor)
2007-03-19 18:15:27 +00:00
Simon L. B. Nielsen
eee4df9058 When checking HTTP_HOST to determine if we should use relative or
absolute base path, do the check case insensitive to handle if
HTTP_HOST e.g. comes in as FreeBSD.org.

Break a rather long line (being changed anyway) to improve
readability.
2006-07-23 22:35:12 +00:00
Simon L. B. Nielsen
db89ca035d Also use absolute base path on cgi.FreeBSD.org.
More hacks may be required later to really get this to work (due to
other magic involved in the setup).
2006-07-23 18:36:53 +00:00
Jun Kuriyama
82308ccf20 Finally, launch new logo header and resource page.
Legal page at freebsdfoundation.org will be available in a few days.

Thanks to:	Anton Gural (designer), Deb Goodkin (legal coordinate)
2006-05-08 23:15:38 +00:00
Jesus R. Camou
565e970504 Bump copyright year.
Approved by:	trhodes (mentor)
2006-02-16 14:34:06 +00:00
Bill Fenner
6a28570df9 Make the "Skip site navigation" link point to #content; cgi scripts
have no section navigation so I removed the redundant #contentwrap
 div but didn't do anything about this link.

Pointed out by:	Jeff Brown
2005-12-05 04:26:20 +00:00
Simon L. B. Nielsen
5aaa666a2b Correct the xmlns attribute http://w3.org/1999/xhtml ->
http://www.w3.org/1999/xhtml, which is the namespace used by the XHTML
DTD's.

This fixes layout/rendering of output from the CGI scripts when using
Opera.
2005-12-04 21:52:42 +00:00
Pav Lucistnik
d6d17f7e19 - More XHTML/HTML fixes: <html> element 2005-11-29 22:57:21 +00:00
Bill Fenner
164f4a22c6 Add hub to the list of hosts, I forgot that docs cgi scripts actually
run on hub.
2005-10-29 15:11:09 +00:00
Bill Fenner
97fa1675c8 Conditionally set $hsty_base to http://www.FreeBSD.org/:
1. If we're not running under cgi (for the mailindex run out of cron)
 2. If we're running on docs.freebsd.org (because it doesn't have the
    style files, and the "home" link would point to docs home, not
    the home home)
 3. If we're running on people.freebsd.org, to facilitate my testing

Otherwise, keep it relative for the benefit of mirrors.

docs problem pointed out by: Mark Trettin (mkt AT trettin DOT org)
2005-10-29 15:08:21 +00:00
Bill Fenner
f5004e162f Disable the CSS workaround for the <body>/<table> quirk for HTML4 pages.
It looks like Firefox applies the relative size twice, making the fonts
 too small.  Instead, now they'll be too big - just a bit bigger than
 the "Large" web site font.

This only applies to HTML4 pages, which as I mentioned before are
 cvsweb and mailindex, and I don't think that mailindex uses tables.
 This means that this problem should be fixed when someone (no promises)
 imports cvsweb 3 which uses XHTML.

This commit brought to you by CSS, Web Quirks, IE and our favorite IRC channel.
2005-10-28 19:07:36 +00:00
Bill Fenner
3f0bcf7d8f Update cgi-style to match the new web site look.
Add an optional 2nd argument to html_header(); if it's missing or
 supplied and non-zero, html_header returns XHTML doctype; if it's
 supplied and zero, html_header returns HTML 4.01 doctype.
 cvsweb and mailindex are the only HTML4 holdouts.  cvsweb should
 be updated to 3.x which is XHTML, but that's a seperate step.
I left $hsty_home alone, because I couldn't find anything that used
 it or any obvious image to use for it in the new layout.
2005-10-28 14:55:13 +00:00
Remko Lodder
cd96331876 Another go at making our cgi scripts xhtml compliant.
Submitted by:		Daniel Gerzo <danger at rulez dot sk>
2005-09-17 15:48:23 +00:00
Remko Lodder
9e46686368 Make our cgi-style xhtml1.0 compliant. With this all our cgi's could
pass the xhtml compliant check, making us conforming to standards.
This also finishes the update to query-pr-summary.cgi which is now
XHTML 1.0 compliant.

Submitted by:		Daniel Gerzo <danger at rulez dot sk>
2005-09-13 17:36:15 +00:00
Ceri Davies
9cb8dd0d21 Bring CSS to the CGI scripts. 2005-07-14 11:08:54 +00:00
Ceri Davies
5fd819d7b6 Follow revision 1.5 of www/share/sgml/includes.header.sgml:
Use less ambiguous content for the ALT attributes in the image
	map.
2005-02-12 13:13:14 +00:00
Giorgos Keramidas
2152ca53a4 Put on my chain mail suit and change the output format of the PR
database queries once again, because I've received complaints that the
HTML output mode of the PR query scripts outputs huge, bloated tables
after the style changes I made to beautify HTML output.

This moves all the visual tweaks of the output in a CSS stylesheet and
add a $t_style option to the common cgi-style.pl script.  If not set,
the style defaults to empty, but users of cgi-style.pl can set this to
a local CSS style like this:

        $t_style="<style type=\"text/css\">...</style>";

or use it to refer from the header of the HTML output to an external
CSS stylesheet.

The HTML output size is substantially reduced now (at least 50% of the
size was caused by many repetitions of style="" attributes), but it's
still larger than the preformatted <pre> output because of all the
<tr> and <td> tags.
2004-10-13 10:55:55 +00:00
Akinori MUSHA
dc83c91ea5 Add 1;' at EOF so require' won't fail. 2000-12-29 09:24:40 +00:00
Akinori MUSHA
687a203246 Silence the warnings under -ws option. 2000-12-18 04:44:38 +00:00
Alexey Zelkin
39224ae67a freebsd.org -> FreeBSD.org 2000-01-05 15:47:46 +00:00
Peter Wemm
01a61279be $Id$,$Date$ -> $FreeBSD$
The jury is out on $Date$, but it's presently not being expanded..
1999-09-06 07:03:31 +00:00
Wolfram Schneider
bb92f6e981 Added forgotten open <head> tag
Added robots meta tag "nofollow"
1999-05-30 10:56:57 +00:00
Masafumi Max NAKANE
28f4dba4f1 Add appropriate alt text to the MAP/AREA elements. 1999-03-24 17:29:55 +00:00
Wolfram Schneider
86585fef72 Fix links due repository copy. 1998-08-03 15:37:48 +00:00
Wolfram Schneider
dfc082433c New variable hsty_email. hsty_email is the visible E-Mail
address in the footer.
1998-04-15 13:47:24 +00:00
Wolfram Schneider
8bb843408c Add a new function `get_the_source' which print the source
of the current cgi script as plain text if called with the
path `/get_the_source'. E.g.

        http://www.foo.com/cgi/foobar.cgi/get_the_source

print the source of the script foobar.cgi.
1997-11-17 00:29:53 +00:00
John Fieber
977fa4e1c7 Make cgi scripts inherit the new "look and feel". 1997-06-10 12:47:11 +00:00
John Fieber
89e931fc48 Month in timestamp generation was off by one. 1996-10-26 17:32:43 +00:00
John Fieber
ba67687523 Cosmetic fixes to page headers -- center the top bar. It looked
pretty hideous if the display was wider than the graphic.
Fix a couple things that looked less than stunning when viewed with Lynx.
1996-10-06 03:49:09 +00:00
John Fieber
7458bcc2b4 Cosmetic tweaks for the search interface. 1996-09-29 02:34:21 +00:00
John Fieber
15be435f08 Hook up cvsweb.cgi to cgi-style.pl so it inherits the proper
"look and feel".
1996-09-29 02:19:30 +00:00
John Fieber
b06868a781 Make cgi-style.pl not dependent on cgi-lib.pl. 1996-09-29 01:40:53 +00:00
John Fieber
0e5565f258 Begin bringing in some stylistic changes from http://www.freebsd.org/~mpcd. 1996-09-24 20:51:06 +00:00
John Fieber
38df6f51c6 Web pages, may I introduce you to CVS. CVS, these are the web pages.
Yes, this is supposed to be a new top level in the repository.

For the moment any changes to this area must be cleared by myself
or Jordan.  Once the kinks are worked out, the policy will probably
be relaxed.
1996-09-24 17:46:04 +00:00