Current oav website
This commit is contained in:
27
dotclear._no/themes/customCSS/_public.php
Normal file
27
dotclear._no/themes/customCSS/_public.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user