Dotclear

source: themes/customCSS/_public.php @ 3731:3770620079d4

Revision 3731:3770620079d4, 629 bytes checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

Simplify licence block at the beginning of each file

Line 
1<?php
2/**
3 * @brief Custom, a theme for Dotclear 2
4 *
5 * @package Dotclear
6 * @subpackage Themes
7 *
8 * @copyright Olivier Meunier & Association Dotclear
9 * @copyright GPL-2.0-only
10 */
11
12namespace themes\customcss;
13
14if (!defined('DC_RC_PATH')) {return;}
15
16$core->addBehavior('publicHeadContent', array(__NAMESPACE__ . '\tplCustomTheme', 'publicHeadContent'));
17
18class tplCustomTheme
19{
20    public static function publicHeadContent($core)
21    {
22        echo
23        '<style type="text/css">' . "\n" .
24        '@import url(' . $core->blog->settings->system->public_url . '/custom_style.css);' . "\n" .
25            "</style>\n";
26    }
27}
Note: See TracBrowser for help on using the repository browser.

Sites map