diff options
Diffstat (limited to 'htdocs/header.html')
-rwxr-xr-x | htdocs/header.html | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/htdocs/header.html b/htdocs/header.html index 1b44330..4fdf7ec 100755 --- a/htdocs/header.html +++ b/htdocs/header.html @@ -1,6 +1,8 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <!--#if expr="$QUERY_STRING = /(^|[;&])debug(=[^0]?)?(\b|$)/" + --><!--#set var="debug" value="1" --><!--#endif --> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title><!--#echo var="title" --></title> @@ -10,10 +12,13 @@ <style type="text/css" media="all"> @import "<!--#echo var="relroot" -->style/base"; </style> - <!--#if expr="$includeJS = 1" --> - <script type="text/javascript" src="scripts/mootools"></script> - <script type="text/javascript" src="scripts/w3c-validator"></script> - <!--#endif --> + <!--#if expr="$includeJS = 1" --><!--#if expr="$debug = 1" --> + <script type="text/javascript" src="scripts/mootools-1.2.5-core-nc.js"></script> + <script type="text/javascript" src="scripts/mootools-1.2.5.1-more.js"></script> + <script type="text/javascript" src="scripts/w3c-validator.js"></script> + <!--#else --> + <script type="text/javascript" src="scripts/combined"></script> + <!--#endif --><!--#endif --> <meta name="keywords" content="HTML, HyperText Markup Language, Validation, W3C Markup Validation Service" /> <meta name="description" content="W3C's easy-to-use @@ -21,7 +26,6 @@ <!--#if expr="$feeds = 1" --> <link rel="alternate" type="application/atom+xml" href="http://www.w3.org/QA/Tools/validator-whatsnew.atom" /> <!--#endif --> - </head> <body> |