git://git.exim.org
/
exim-website.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use https version of Google
[exim-website.git]
/
templates
/
wrapper.xsl
diff --git
a/templates/wrapper.xsl
b/templates/wrapper.xsl
index a1cfa68944fa2ef43abff578e04a720aebb13020..223a8d78ace0180761953560c3965899805d3940 100644
(file)
--- a/
templates/wrapper.xsl
+++ b/
templates/wrapper.xsl
@@
-40,7
+40,10
@@
<xsl:copy-of select="$html.head.append"/>
</head>
<xsl:copy-of select="$html.head.append"/>
</head>
- <body>
+ <body class="no-js">
+ <!-- Changed body classname from "no-js" to "with-js" for styling purposes -->
+
+ <script type="text/javascript"><![CDATA[document.body.className=(' '+document.body.className+' ').replace('no-js','with-js');]]></script>
<!-- Header -->
<!-- Header -->
@@
-66,7
+69,7
@@
<!-- Search Field -->
<li class="search">
<!-- Search Field -->
<li class="search">
- <form action="http
://www
.google.com/search" method="get">
+ <form action="http
s://encrypted
.google.com/search" method="get">
<span class="search_field_container">
<input type="search" name="q" placeholder="Search Docs" class="search_field"/>
</span>
<span class="search_field_container">
<input type="search" name="q" placeholder="Search Docs" class="search_field"/>
</span>
@@
-106,8
+109,8
@@
<xsl:copy-of select="$html.body.outer.append"/>
</div>
<xsl:copy-of select="$html.body.outer.append"/>
</div>
- <!-- Load latest version of jQuery 1.
4
from the Google CDN -->
- <script type="text/javascript" src="
http://ajax.googleapis.com/ajax/libs/jquery/1.4
/jquery.min.js"></script>
+ <!-- Load latest version of jQuery 1.
6
from the Google CDN -->
+ <script type="text/javascript" src="
//ajax.googleapis.com/ajax/libs/jquery/1.6
/jquery.min.js"></script>
<!-- Local JavaScript -->
<script type="text/javascript" src="{$docroot}/common.js"></script>
<!-- Local JavaScript -->
<script type="text/javascript" src="{$docroot}/common.js"></script>