diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-07-31 17:35:33 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-08-27 13:45:02 (GMT) |
commit | 43a0883022f64539498b84220d487b16ffd49a7e (patch) | |
tree | 429ecc0b67b270ffe0a1d55daa00e4505a85079e | |
parent | 02a0c353a8947290a3191aead59db08dc84766ce (diff) | |
download | Doxygen-43a0883022f64539498b84220d487b16ffd49a7e.zip Doxygen-43a0883022f64539498b84220d487b16ffd49a7e.tar.gz Doxygen-43a0883022f64539498b84220d487b16ffd49a7e.tar.bz2 |
Added missing html resources to the html template file
-rw-r--r-- | src/context.cpp | 17 | ||||
-rw-r--r-- | templates/html/htmljsnavtree.tpl | 3 | ||||
-rw-r--r-- | templates/html/htmllayout.tpl | 8 |
3 files changed, 26 insertions, 2 deletions
diff --git a/src/context.cpp b/src/context.cpp index c4822e7..39d7b07 100644 --- a/src/context.cpp +++ b/src/context.cpp @@ -952,6 +952,14 @@ class TranslateContext::Private : public PropertyMapper { return theTranslator->trRTFGeneralIndex(); } + TemplateVariant panelSyncOn() const + { + return theTranslator->trPanelSynchronisationTooltip(FALSE); + } + TemplateVariant panelSyncOff() const + { + return theTranslator->trPanelSynchronisationTooltip(TRUE); + } Private() { //%% string generatedBy @@ -1126,6 +1134,10 @@ class TranslateContext::Private : public PropertyMapper addProperty("referenceManual", this,&Private::referenceManual); //%% string index addProperty("index", this,&Private::index); + //%% string panelSyncOn + addProperty("panelSyncOn", this,&Private::panelSyncOn); + //%% string panelSyncOff + addProperty("panelSyncOff", this,&Private::panelSyncOff); m_javaOpt = Config_getBool("OPTIMIZE_OUTPUT_JAVA"); m_fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN"); @@ -9079,6 +9091,7 @@ int RefCountedContext::s_totalCount; void generateOutputViaTemplate() { + msg("Generating output via template engine...\n"); { TemplateEngine e; TemplateContext *ctx = e.createContext(); @@ -9165,7 +9178,7 @@ void generateOutputViaTemplate() //%% string space ctx->set("space"," "); - if (Config_getBool("GENERATE_HTML")) + //if (Config_getBool("GENERATE_HTML")) { // render HTML output Template *tpl = e.loadByName("htmllayout.tpl",1); if (tpl) @@ -9188,7 +9201,7 @@ void generateOutputViaTemplate() // TODO: clean index before each run... - if (Config_getBool("GENERATE_LATEX")) + //if (Config_getBool("GENERATE_LATEX")) { // render LaTeX output Template *tpl = e.loadByName("latexlayout.tpl",1); if (tpl) diff --git a/templates/html/htmljsnavtree.tpl b/templates/html/htmljsnavtree.tpl index a7ad88e..99a269e 100644 --- a/templates/html/htmljsnavtree.tpl +++ b/templates/html/htmljsnavtree.tpl @@ -18,3 +18,6 @@ var NAVTREEINDEX = {% endfor %} {% endwith %} ]; + +var SYNCONMSG = '{{ tr.panelSyncOn }}'; +var SYNCOFFMSG = '{{ tr.panelSyncOff }}'; diff --git a/templates/html/htmllayout.tpl b/templates/html/htmllayout.tpl index 13fb330..c21ef91 100644 --- a/templates/html/htmllayout.tpl +++ b/templates/html/htmllayout.tpl @@ -24,6 +24,14 @@ {% resource 'nav_g.png' %} {% resource 'nav_h.lum' %} {% resource 'navtree.css' %} +{% resource 'navtree.js' %} +{% resource 'resize.js' %} +{% resource 'doc.luma' %} +{% resource 'folderopen.luma' %} +{% resource 'folderclosed.luma' %} +{% resource 'arrowdown.luma' %} +{% resource 'arrowright.luma' %} +{% resource 'splitbar.lum' %} {# general search resources #} {% resource 'search_l.png' as 'search/search_l.png' %} |