summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-08-21 11:29:13 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-08-21 11:29:51 (GMT)
commit4aa4111864df9e8a7917b021d6e31214e8c7a0bd (patch)
treea42d4c21362342cac3e1d7959e2a5e633601c021
parent44cec68758cc0e5a31cddc7aaccc9c0cbcfbab4e (diff)
downloadQt-4aa4111864df9e8a7917b021d6e31214e8c7a0bd.zip
Qt-4aa4111864df9e8a7917b021d6e31214e8c7a0bd.tar.gz
Qt-4aa4111864df9e8a7917b021d6e31214e8c7a0bd.tar.bz2
qdoc: Moved javascripts for search box from header to footer.
This is meant to speed up loading the landing page. But does it work?
-rw-r--r--tools/qdoc3/test/qt-html-templates.qdocconf12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/qdoc3/test/qt-html-templates.qdocconf b/tools/qdoc3/test/qt-html-templates.qdocconf
index f31e657..f9e3c35 100644
--- a/tools/qdoc3/test/qt-html-templates.qdocconf
+++ b/tools/qdoc3/test/qt-html-templates.qdocconf
@@ -22,12 +22,6 @@ HTML.postheader = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0
"<input type=\"submit\" name=\"sa\" value=\"Search\" />" \
"</div>" \
"</form>" \
- \
- "<script type=\"text/javascript\" src=\"http://www.google.com/jsapi\"></script>" \
- "<script type=\"text/javascript\">google.load(\"elements\", \"1\", {packages: \"transliteration\"});</script>" \
- "<script type=\"text/javascript\" src=\"http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en\"></script>" \
- \
- "<script type=\"text/javascript\" src=\"http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en\"></script>"\
"</td>\n" \
"</tr></table>"
@@ -36,4 +30,10 @@ HTML.footer = "<p /><address><hr /><div align=\"center\">\n" \
"<td width=\"40%\" align=\"left\">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>\n" \
"<td width=\"20%\" align=\"center\"><a href=\"trademarks.html\">Trademarks</a></td>\n" \
"<td width=\"40%\" align=\"right\"><div align=\"right\">Qt \\version</div></td>\n" \
+ \
+ "<script type=\"text/javascript\" src=\"http://www.google.com/jsapi\"></script>" \
+ "<script type=\"text/javascript\">google.load(\"elements\", \"1\", {packages: \"transliteration\"});</script>" \
+ "<script type=\"text/javascript\" src=\"http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en\"></script>" \
+ \
+ "<script type=\"text/javascript\" src=\"http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en\"></script>"\
"</tr></table></div></address>"