Commit graph

8 commits

Author SHA1 Message Date
Glen Barber
cba5de5c7c Remove trailing "/(.*)?" from regex check - document.location.host only
returns the hostname, not trailing page information.

With input from:	simon
2011-08-17 13:58:23 +00:00
Glen Barber
7ac36b27cf Fix regular expression testing for 'freebsd.org' domain [1]
Don't look for plain 'freebsd.org'

Pointy hat to:		gjb [1]
Pointed out by:		simon [2]
2011-08-17 13:21:14 +00:00
Glen Barber
04e8aed0fa Fix (again) the logic to test if the hosting domain is a FreeBSD.org
domain and not a mirror by adding some regex to the javascript.
2011-08-17 03:20:07 +00:00
Glen Barber
49fd6cb456 Check that the hosting domain is actually a FreeBSD.org domain, so
we don't accidentally obtain data from mirrors.

Submitted by:		eadler (via email)
2011-08-16 23:19:35 +00:00
Glen Barber
5224f14211 Add javascript to the www/ tree for Google Analytics.
This will also be active on the doc/ tree once we're sure there are no
problems.

PR:		159634
Submitted by:	eadler
2011-08-15 00:30:17 +00:00
Giorgos Keramidas
561dea0814 Trim ^M characters from end of lines.
All the other layout/... files are UNIX-format text files already.
2005-11-23 14:24:51 +00:00
Giorgos Keramidas
bc80eafff4 Add $FreeBSD$ id lines, to make change tracking easier.
PR:		www/89453
Submitted by:	 Rudolf Cejka
2005-11-23 14:22:07 +00:00
Murray Stokely
e40b23f9b5 Add layout styles/images for new website design.
Submitted by:  Emily Boyd
Sponsored by:  Google Summer of Code
2005-10-04 05:49:13 +00:00