cosmetic
This commit is contained in:
parent
86475e42f8
commit
fbc7a75e12
@ -45,8 +45,7 @@ dcCore::app()->url->register(
|
||||
'epccss',
|
||||
'epc.css',
|
||||
'^epc\.css',
|
||||
function($args)
|
||||
{
|
||||
function ($args) {
|
||||
$css = [];
|
||||
$filters = libEPC::getFilters();
|
||||
|
||||
|
@ -23,11 +23,11 @@ if (!dcCore::app()->blog->settings->enhancePostContent->enhancePostContent_activ
|
||||
}
|
||||
|
||||
// Add filters CSS to page header
|
||||
dcCore::app()->addBehavior('publicHeadContent', function() {
|
||||
dcCore::app()->addBehavior('publicHeadContent', function () {
|
||||
echo dcUtils::cssLoad(dcCore::app()->blog->url . dcCore::app()->url->getURLFor('epccss'));
|
||||
});
|
||||
// Filter template blocks content
|
||||
dcCore::app()->addBehavior('publicBeforeContentFilterV2', function($tag, $args) {
|
||||
dcCore::app()->addBehavior('publicBeforeContentFilterV2', function ($tag, $args) {
|
||||
$filters = libEPC::getFilters();
|
||||
|
||||
foreach ($filters as $id => $filter) {
|
||||
|
Loading…
Reference in New Issue
Block a user