summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-06-06 19:49:53 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-06-06 19:49:53 (GMT)
commit0bb78ec1f61b95b550b65361081c01a104728341 (patch)
treeb158d4e26359c261b119f485d1d4c69a6034663c /src/htmlgen.cpp
parent3c0d4d412c7b6c2afa9e76fcfd5ef5ea8586ad68 (diff)
downloadDoxygen-0bb78ec1f61b95b550b65361081c01a104728341.zip
Doxygen-0bb78ec1f61b95b550b65361081c01a104728341.tar.gz
Doxygen-0bb78ec1f61b95b550b65361081c01a104728341.tar.bz2
Release-1.7.4-20110606
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index f4e9c54..d62fffa 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -60,13 +60,19 @@ static const char search_styleSheet[] =
static const char search_jquery_script1[]=
#include "jquery_js.h"
;
+
static const char search_jquery_script2[]=
#include "sizzle_js.h"
;
+
static const char search_jquery_script3[]=
#include "jquery_ui_js.h"
;
+static const char svgpan_script[]=
+#include "svgpan_js.h"
+;
+
static QCString g_header;
static QCString g_footer;
@@ -1093,6 +1099,16 @@ void HtmlGenerator::init()
t << search_jquery_script1 << search_jquery_script2 << search_jquery_script3;
}
}
+
+ if (Config_getBool("INTERACTIVE_SVG"))
+ {
+ QFile f(dname+"/svgpan.js");
+ if (f.open(IO_WriteOnly))
+ {
+ FTextStream t(&f);
+ t << svgpan_script;
+ }
+ }
}
/// Additional initialization after indices have been created
@@ -2763,13 +2779,15 @@ static void renderQuickLinksAsTabs(FTextStream &t,const QCString &relPath,
{
if (!serverBasedSearch) // pure client side search
{
- t << " <li id=\"searchli\">\n";
+ //t << " <li id=\"searchli\">\n";
+ t << " <li>\n";
writeClientSearchBox(t,relPath);
t << " </li>\n";
}
else // if (!generateTreeView) // server based search
{
- t << " <li id=\"searchli\">\n";
+ //t << " <li id=\"searchli\">\n";
+ t << " <li>\n";
writeServerSearchBox(t,relPath,highlightSearch);
if (!highlightSearch)
{