2012-08-10 02:09:55 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once('include/plugin.php');
|
|
|
|
|
2017-02-20 00:50:41 +00:00
|
|
|
head_add_css('/library/tiptip/tipTip.css');
|
|
|
|
head_add_css('/library/jgrowl/jquery.jgrowl.css');
|
|
|
|
head_add_css('/library/jRange/jquery.range.css');
|
2013-12-22 13:21:57 +00:00
|
|
|
|
2017-02-20 00:50:41 +00:00
|
|
|
head_add_css('/view/css/conversation.css');
|
|
|
|
head_add_css('/view/css/widgets.css');
|
|
|
|
head_add_css('/view/css/colorbox.css');
|
|
|
|
head_add_css('/library/justifiedGallery/justifiedGallery.min.css');
|
2015-03-27 10:52:59 +00:00
|
|
|
|
2014-01-04 11:58:21 +00:00
|
|
|
head_add_js('jquery.js');
|
2017-02-20 00:50:41 +00:00
|
|
|
head_add_js('/library/justifiedGallery/jquery.justifiedGallery.min.js');
|
|
|
|
head_add_js('/library/sprintf.js/dist/sprintf.min.js');
|
2014-09-11 08:35:19 +00:00
|
|
|
|
2014-01-04 11:58:21 +00:00
|
|
|
head_add_js('spin.js');
|
|
|
|
head_add_js('jquery.spin.js');
|
|
|
|
head_add_js('jquery.textinputs.js');
|
2014-01-06 10:37:06 +00:00
|
|
|
head_add_js('autocomplete.js');
|
2017-02-20 00:50:41 +00:00
|
|
|
head_add_js('/library/jquery-textcomplete/jquery.textcomplete.js');
|
|
|
|
|
|
|
|
head_add_js('/library/jquery.timeago.js');
|
|
|
|
head_add_js('/library/readmore.js/readmore.js');
|
|
|
|
head_add_js('/library/sticky-kit/sticky-kit.js');
|
|
|
|
head_add_js('/library/jgrowl/jquery.jgrowl_minimized.js');
|
|
|
|
head_add_js('/library/cryptojs/components/core-min.js');
|
|
|
|
head_add_js('/library/cryptojs/rollups/aes.js');
|
|
|
|
head_add_js('/library/cryptojs/rollups/rabbit.js');
|
|
|
|
head_add_js('/library/cryptojs/rollups/tripledes.js');
|
|
|
|
|
2014-01-04 11:58:21 +00:00
|
|
|
head_add_js('acl.js');
|
|
|
|
head_add_js('webtoolkit.base64.js');
|
|
|
|
head_add_js('main.js');
|
|
|
|
head_add_js('crypto.js');
|
2017-02-20 00:50:41 +00:00
|
|
|
head_add_js('/library/jRange/jquery.range.js');
|
|
|
|
head_add_js('/library/colorbox/jquery.colorbox-min.js');
|
2015-03-27 10:52:59 +00:00
|
|
|
|
2017-02-20 00:50:41 +00:00
|
|
|
head_add_js('/library/jquery.AreYouSure/jquery.are-you-sure.js');
|
|
|
|
head_add_js('/library/tableofcontents/jquery.toc.js');
|
|
|
|
head_add_js('/library/imagesloaded/imagesloaded.pkgd.min.js');
|
2013-12-08 14:26:02 +00:00
|
|
|
/**
|
|
|
|
* 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
|
2015-05-14 08:39:56 +00:00
|
|
|
* such that permissions can be enforced. At the moment it's
|
|
|
|
* more of a proof of concept; but sufficient for our immediate needs.
|
2013-12-08 14:26:02 +00:00
|
|
|
*/
|
|
|
|
|
2016-03-31 23:06:03 +00:00
|
|
|
$channel = App::get_channel();
|
2013-12-08 14:26:02 +00:00
|
|
|
if($channel && file_exists($channel['channel_address'] . '.js'))
|
2013-11-22 07:11:50 +00:00
|
|
|
head_add_js('/' . $channel['channel_address'] . '.js');
|