diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2017-08-12 18:48:47 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@edx.srv.br> | 2017-08-12 23:59:45 +0200 |
commit | 5f88c56e4312f3527f2f953e5ed2dc4ea5438701 (patch) | |
tree | ad6e6127f5c64b35db75f14c0d9ea156062b82f1 /help3xsl | |
parent | 6c20b138bbf088d5f2a11cd1143c1d084c9c27af (diff) |
tdf#97745 Enable page debug for 6.0
Fix url detection in help.html
Connect xhp file displayed to opengrok
Hide momentarily debug control
Change-Id: Icab467ee797d3ec94082a7b3b722bfd2485b5b2e
Reviewed-on: https://gerrit.libreoffice.org/41100
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Diffstat (limited to 'help3xsl')
-rw-r--r-- | help3xsl/help.html | 2 | ||||
-rw-r--r-- | help3xsl/online_transform.xsl | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/help3xsl/help.html b/help3xsl/help.html index bd2100a7e4..6b44ca3202 100644 --- a/help3xsl/help.html +++ b/help3xsl/help.html @@ -13,7 +13,7 @@ <body> <script type="text/javascript"> var url = window.location.href; - var n = url.indexOf('LOHelp.html?'); + var n = url.indexOf('help.html?'); if (n != -1){ // the URL came from LibreOffice help (F1) var version = getParameterByName("Version",url); diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index a267bdd148..016521e034 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -280,7 +280,7 @@ <p><a href="http://www.libreoffice.org/imprint" target="_blank">Impressum (Legal Info)</a> | <a href="http://www.libreoffice.org/privacy" target="_blank">Privacy Policy</a> | <a href="http://www.documentfoundation.org/statutes.pdf" target="_blank">Statutes (non-binding English translation)</a> - <a href="http://www.documentfoundation.org/satzung.pdf" target="_blank">Satzung (binding German version)</a> | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the <a href="http://creativecommons.org/licenses/by-sa/3.0/" target="_blank">Creative Commons Attribution-Share Alike 3.0 License</a>. This does not include the source code of LibreOffice, which is licensed under the <a href="http://www.libreoffice.org/download/license/" target="_blank">Mozilla Public License v2.0</a>. “LibreOffice” and “The Document Foundation” are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our <a href="http://wiki.documentfoundation.org/TradeMark_Policy" target="_blank">trademark policy</a>. LibreOffice was based on OpenOffice.org.</p> <div id="DEBUG" class="debug"> <h3 class="bug">Help content debug info:</h3> - <p>This page is: <xsl:value-of select="$filename"/></p> + <p>This page is: <a href="https://opengrok.libreoffice.org/xref/help/source{$filename}" target="_blank"><xsl:value-of select="$filename"/></a></p> <p>Title is: <xsl:value-of select="$title"/></p> <p id="bm_module"></p> <p id="bm_system"></p> @@ -298,7 +298,8 @@ setSystem(system); fixURL(module,system); var dbg = getParameterByName("Debug"); - if (dbg == null){dbg=0} + //if (dbg == null){dbg=1} + dbg=1 document.getElementById("DEBUG").style.display = (dbg == 0) ? "none":"block"; document.getElementById("bm_module").innerHTML ="Module is: "+module; document.getElementById("bm_system").innerHTML ="System is: "+system; |