diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2017-08-06 17:21:44 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@edx.srv.br> | 2017-08-06 22:25:15 +0200 |
commit | ae4b238aec8977510b63b5a30c71e0aa933c279a (patch) | |
tree | 74ba7956da255031b9f95bdd016045a1deeface9 /help3xsl/help.html | |
parent | 9f9cebab254146cbae0a093626ed78801e85b98f (diff) |
tdf#97745 use lowercase for file names
synch with https://gerrit.libreoffice.org/#/c/40698/3
Change-Id: I7cc72312a729fcd6468198fd3cb9b4686e588832
Reviewed-on: https://gerrit.libreoffice.org/40812
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Diffstat (limited to 'help3xsl/help.html')
-rw-r--r-- | help3xsl/help.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/help3xsl/help.html b/help3xsl/help.html new file mode 100644 index 0000000000..bd2100a7e4 --- /dev/null +++ b/help3xsl/help.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<!-- +* This file is part of the LibreOffice project. +* +* This Source Code Form is subject to the terms of the Mozilla Public +* License, v. 2.0. If a copy of the MPL was not distributed with this +* file, You can obtain one at http://mozilla.org/MPL/2.0/. +--> +<html> +<head> + <script type="text/javascript" src="latest/help.js"></script> +</head> +<body> +<script type="text/javascript"> + var url = window.location.href; + var n = url.indexOf('LOHelp.html?'); + if (n != -1){ + // the URL came from LibreOffice help (F1) + var version = getParameterByName("Version",url); + var rest = url.substr(n+12,url.lenght); + var newURL = version+'/index.html?'+rest; + window.open(newURL,'_self'); + }else{ + // URL came from elsewhere, direct access to webroot, we redirect to main Help page + window.open('latest/en-US/text/shared/main0108.html?&DbPAR=WRITER&System=WIN','_self'); + } +</script> +</body> +</html> + |