shortArchives/_public.php

24 lines
571 B
PHP
Raw Normal View History

2015-04-25 18:38:55 +00:00
<?php
2022-12-16 22:14:52 +00:00
/**
* @brief shortArchives, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author annso, Pierre Van Glabeke and Contributors
*
* @copyright Jean-Crhistian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
if (!defined('DC_RC_PATH')) {
return null;
2015-04-25 18:38:55 +00:00
}
2022-12-16 22:14:52 +00:00
require __DIR__ . '/_widgets.php';
2015-04-25 18:38:55 +00:00
2022-12-16 22:14:52 +00:00
dcCore::app()->addBehavior('publicHeadContent', function () {
echo
dcUtils::jsModuleLoad(basename(__DIR__) . '/js/accordion.js') .
dcUtils::cssModuleLoad(basename(__DIR__) . '/css/shortArchives.css');
});