Merge pull request #45 from mkuron/clientconfig

More client config guide fixes
Dieser Commit ist enthalten in:
André Peters 2017-09-16 17:51:15 +02:00 committet von GitHub
Commit dc6e70f097
2 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen

Datei anzeigen

@ -24,7 +24,7 @@
Close the account settings window with the <i>OK</i> button. Close the account settings window with the <i>OK</i> button.
</li> </li>
<li class="client_integrator_enabled"> <li class="client_integrator_enabled">
In your web browser, download <a class="client_var_integrator_link" href="/thunderbird-plugins/sogo-integrator-__VERSION__-__DOMAIN__.xpi">SOGo Integrator</a>. In your web browser, download <span class="client_variables_unavailable">SOGo Integrator</span><span class="client_variables_available"><a class="client_var_integrator_link" href="/thunderbird-plugins/sogo-integrator-__VERSION__-__DOMAIN__.xpi">SOGo Integrator</a></span>.
</li> </li>
<li class="client_integrator_enabled"> <li class="client_integrator_enabled">
Back in Thunderbird, go to the <i>Tools</i> menu and select <i>Add-ons</i>. Back in Thunderbird, go to the <i>Tools</i> menu and select <i>Add-ons</i>.

Datei anzeigen

@ -1,5 +1,5 @@
if (window.location.href.indexOf('/client/') >= 0) { if (window.location.href.indexOf('/client/') >= 0) {
window.onload = function () { window.window.addEventListener('load', function () {
function getParameterByName(name) { function getParameterByName(name) {
var match = RegExp('[?#&]' + name + '=([^&]*)').exec(window.location.hash); var match = RegExp('[?#&]' + name + '=([^&]*)').exec(window.location.hash);
return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
@ -26,11 +26,11 @@ if (window.location.href.indexOf('/client/') >= 0) {
if (getParameterByName('outlookEAS')) { if (getParameterByName('outlookEAS')) {
document.cookie = "outlookEAS=" + getParameterByName('outlookEAS') + "; path=/"; document.cookie = "outlookEAS=" + getParameterByName('outlookEAS') + "; path=/";
} }
} });
} }
if (window.location.href.indexOf('/client') >= 0) { if (window.location.href.indexOf('/client') >= 0) {
window.onload = function () { window.window.addEventListener('load', function () {
function getCookie(cn) { function getCookie(cn) {
var cs = document.cookie.split(';'); var cs = document.cookie.split(';');
for (var i = 0; i < cs.length; i++) { for (var i = 0; i < cs.length; i++) {
@ -108,5 +108,5 @@ if (window.location.href.indexOf('/client') >= 0) {
el.style.display = 'none'; el.style.display = 'none';
}); });
} }
} });
} }