blob: 1dade67f0d23f5b2b87eeb1b21348dcffe836b68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<!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>
|