summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-03-02 19:22:07 +0000
committerChristopher Smith <chris@jalakai.co.uk>2014-03-02 19:22:07 +0000
commit85312e0a1accea20df49579b509eb88ba5643384 (patch)
tree08c6c8d4b56758ac298d366e5b2c3a19f7eb598e /lib/exe
parentff388af35a3aed43d96bc31ae6b553f8a37050e0 (diff)
parent74160ca1dea24b237ff3e956d19a420a1593b957 (diff)
downloadrpg-85312e0a1accea20df49579b509eb88ba5643384.tar.gz
rpg-85312e0a1accea20df49579b509eb88ba5643384.tar.bz2
Merge pull request #557 from splitbrain/cachetimeattr
Add _time attribute to cache object and minor PHPDocs improvements
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();