aboutsummaryrefslogtreecommitdiffstats
path: root/view/php/theme_init.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-15 13:10:28 +1000
committerredmatrix <redmatrix@redmatrix.me>2015-05-15 13:10:28 +1000
commitd5803cfd0221cccc2456d72f15f39cf4f891a1da (patch)
tree78eacb1017da745432628d94769093790917a41d /view/php/theme_init.php
parentf866a42a42b9e12756353f5bb39a0f31a64bb26a (diff)
parentc62e75d789787cc21438dde943885dda9f0ae387 (diff)
downloadvolse-hubzilla-d5803cfd0221cccc2456d72f15f39cf4f891a1da.tar.gz
volse-hubzilla-d5803cfd0221cccc2456d72f15f39cf4f891a1da.tar.bz2
volse-hubzilla-d5803cfd0221cccc2456d72f15f39cf4f891a1da.zip
Merge pull request #320 from dawnbreak/master
Add sprintf.js v1.0.2.
Diffstat (limited to 'view/php/theme_init.php')
-rw-r--r--view/php/theme_init.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/view/php/theme_init.php b/view/php/theme_init.php
index 8168eb2c0..c1aeb4ab7 100644
--- a/view/php/theme_init.php
+++ b/view/php/theme_init.php
@@ -14,6 +14,7 @@ head_add_css('library/justifiedGallery/justifiedGallery.css');
head_add_js('jquery.js');
//head_add_js('jquery-migrate-1.1.1.js');
head_add_js('library/justifiedGallery/jquery.justifiedGallery.js');
+head_add_js('library/sprintf.js/dist/sprintf.min.js');
//head_add_js('jquery-compat.js');
head_add_js('spin.js');
@@ -41,18 +42,16 @@ head_add_js('library/jRange/jquery.range.js');
//head_add_js('docready.js');
head_add_js('library/colorbox/jquery.colorbox-min.js');
-
head_add_js('library/jquery.AreYouSure/jquery.are-you-sure.js');
head_add_js('library/tableofcontents/jquery.toc.js');
/**
* Those who require this feature will know what to do with it.
* Those who don't, won't.
* Eventually this functionality needs to be provided by a module
- * such that permissions can be enforced. At the moment it's
- * more of a proof of concept; but sufficient for our immediate needs.
+ * such that permissions can be enforced. At the moment it's
+ * more of a proof of concept; but sufficient for our immediate needs.
*/
$channel = get_app()->get_channel();
if($channel && file_exists($channel['channel_address'] . '.js'))
head_add_js('/' . $channel['channel_address'] . '.js');
-