summaryrefslogtreecommitdiffstats
path: root/help3xsl/help.html
diff options
context:
space:
mode:
Diffstat (limited to 'help3xsl/help.html')
-rw-r--r--help3xsl/help.html30
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>
+