Merge branch 'master' of https://github.com/redmatrix/redmatrix
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user