summaryrefslogtreecommitdiff
path: root/lib/exe/js.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-03-04 21:39:53 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-03-04 21:39:53 +0100
commit603c1a1e6dfa9f1bc6759843283a8a7995c613f8 (patch)
tree61349b0905bf69e2370f150d6e32901bad1aa25f /lib/exe/js.php
parentb35d34217e073f330111fea5812fa4d88680a4ef (diff)
parent4b142187c1238555a14d79ff6e054a678ce828f3 (diff)
downloadrpg-603c1a1e6dfa9f1bc6759843283a8a7995c613f8.tar.gz
rpg-603c1a1e6dfa9f1bc6759843283a8a7995c613f8.tar.bz2
Merge remote-tracking branch 'origin/master' into FS#2124deniedtext
Conflicts: inc/lang/bn/lang.php inc/lang/fr/denied.txt
Diffstat (limited to 'lib/exe/js.php')
-rw-r--r--lib/exe/js.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/exe/js.php b/lib/exe/js.php
index 04413b409..8f16f4a96 100644
--- a/lib/exe/js.php
+++ b/lib/exe/js.php
@@ -220,6 +220,12 @@ function js_pluginstrings() {
return $pluginstrings;
}
+/**
+ * Return an two-dimensional array with strings from the language file of current active template.
+ *
+ * - $lang['js'] must be an array.
+ * - Nothing is returned for template without an entry for $lang['js']
+ */
function js_templatestrings() {
global $conf;
$templatestrings = array();