summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-02-18 13:50:12 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-02-18 13:50:12 +0100
commit56b0b744e40b19048e14cee4ff6caf69858d9fd6 (patch)
tree1c0201036a24a9cf47490a76db4280dfcd62f9f7 /lib/exe
parent5f0071ebcd0bb2a2cb0f64834014be73f6690806 (diff)
downloadrpg-56b0b744e40b19048e14cee4ff6caf69858d9fd6.tar.gz
rpg-56b0b744e40b19048e14cee4ff6caf69858d9fd6.tar.bz2
PHPDocs js.php
Diffstat (limited to 'lib/exe')
-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();