summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
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)
{