shortArchives/_public.php

24 lines
571 B
PHP

<?php
/**
* @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;
}
require __DIR__ . '/_widgets.php';
dcCore::app()->addBehavior('publicHeadContent', function () {
echo
dcUtils::jsModuleLoad(basename(__DIR__) . '/js/accordion.js') .
dcUtils::cssModuleLoad(basename(__DIR__) . '/css/shortArchives.css');
});