2015-04-23 16:45:00 +00:00
|
|
|
<?php
|
2022-12-15 21:26:10 +00:00
|
|
|
/**
|
|
|
|
* @brief lunarPhase, a plugin for Dotclear 2
|
|
|
|
*
|
|
|
|
* @package Dotclear
|
|
|
|
* @subpackage Plugin
|
|
|
|
*
|
|
|
|
* @author Tomtom, 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-23 16:45:00 +00:00
|
|
|
}
|
|
|
|
|
2022-12-15 21:26:10 +00:00
|
|
|
require __DIR__ . '/_widgets.php';
|
2015-04-23 16:45:00 +00:00
|
|
|
|
2022-12-15 21:26:10 +00:00
|
|
|
// Add public header for lunarphase css
|
|
|
|
dcCore::app()->addBehavior('publicHeadContent', function () {
|
|
|
|
echo dcUtils::cssLoad(dcCore::app()->blog->url . dcCore::app()->url->getURLFor('lunarphase'));
|
|
|
|
});
|