summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2015-07-13 23:36:24 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2015-07-13 23:36:24 +0200
commitcf6939cdfbd42d9ba56562c606587915b84a20c6 (patch)
treeeb4b6c5a98e8f5d674d1d127f9fc2e2752c8c84f /data
parentc580170591e06eaeef9eba8be38db4cae4545956 (diff)
downloadrpg-cf6939cdfbd42d9ba56562c606587915b84a20c6.tar.gz
rpg-cf6939cdfbd42d9ba56562c606587915b84a20c6.tar.bz2
Better suggestion for changing warning for nosmblink in browsers
Improves syntax page due to feedback at #1233
Diffstat (limited to 'data')
-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..750f7e4f5 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 php 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 ====