Files
help/help3xsl/help.html
Andrea Gelmini 51f6c350e5 Fix typos
Change-Id: If081f3b5ac8b752234d115709731a104cea950d9
Reviewed-on: https://gerrit.libreoffice.org/52208
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-04-11 15:03:59 +02:00

33 lines
1.2 KiB
HTML

<!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>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval' piwik.documentfoundation.org *.google.com *.googleapis.com"/>
</head>
<body>
<script type="text/javascript">
var url = window.location.href;
var n = url.indexOf('help.html?');
if (n != -1){
// the URL came from LibreOffice help (F1)
var version = getParameterByName("Version",url);
var rest = url.substr(n+12,url.length);
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
var userLang = navigator.language || navigator.userLanguage;
window.open('latest/'+userLang+'/text/shared/main0108.html?&DbPAR=WRITER&System=WIN','_self');
}
</script>
</body>
</html>