summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2015-07-14 07:42:24 +0200
committerAndreas Gohr <andi@splitbrain.org>2015-07-14 07:42:24 +0200
commit040f85d9888611be7b8dc056aa687e6ff58c8be4 (patch)
treec4392ae3f7be540d43a5eff133cd562aa91999d9
parentc580170591e06eaeef9eba8be38db4cae4545956 (diff)
parentd1427af7333593a01c5f917583f9dd03757dabd1 (diff)
downloadrpg-040f85d9888611be7b8dc056aa687e6ff58c8be4.tar.gz
rpg-040f85d9888611be7b8dc056aa687e6ff58c8be4.tar.bz2
Merge pull request #1234 from splitbrain/nosmblinksFxnote
No SMB links Fx note
-rw-r--r--data/pages/wiki/syntax.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/data/pages/wiki/syntax.txt b/data/pages/wiki/syntax.txt
index 613c04ace..bdfda9c46 100644
--- a/data/pages/wiki/syntax.txt
+++ b/data/pages/wiki/syntax.txt
@@ -83,9 +83,14 @@ Windows shares like [[\\server\share|this]] are recognized, too. Please note tha
Notes:
* For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone").
- * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://kb.mozillazine.org/Links_to_local_pages_do_not_work|Mozilla Knowledge Base]]. However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in ''conf/userscript.js'':
-
- LANG.nosmblinks = '';
+ * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://kb.mozillazine.org/Links_to_local_pages_do_not_work|Mozilla Knowledge Base]]. However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in ''conf/lang/en/lang.php'' (more details at [[doku>localization#changing_some_localized_texts_and_strings_in_your_installation|localization]]): <code - conf/lang/en/lang.php>
+<?php
+/**
+ * Customization of the english language file
+ * Copy only the strings that needs to be modified
+ */
+$lang['js']['nosmblinks'] = '';
+</code>
==== Image Links ====