Files
oav/dotclear._no/themes/customCSS/_public.php
2023-03-20 12:18:38 +01:00

28 lines
624 B
PHP

<?php
/**
* @brief Custom, a theme for Dotclear 2
*
* @package Dotclear
* @subpackage Themes
*
* @copyright Olivier Meunier & Association Dotclear
* @copyright GPL-2.0-only
*/
namespace themes\customcss;
if (!defined('DC_RC_PATH')) {return;}
$core->addBehavior('publicHeadContent', [__NAMESPACE__ . '\tplCustomTheme', 'publicHeadContent']);
class tplCustomTheme
{
public static function publicHeadContent($core)
{
echo
'<style type="text/css">' . "\n" .
'@import url(' . $core->blog->settings->system->public_url . '/custom_style.css);' . "\n" .
"</style>\n";
}
}