Dotclear

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

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

Simplify licence block at the beginning of each file

RevLine 
[0]1<?php
[3731]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
[3531]12namespace themes\customcss;
13
[3730]14if (!defined('DC_RC_PATH')) {return;}
[0]15
[3730]16$core->addBehavior('publicHeadContent', array(__NAMESPACE__ . '\tplCustomTheme', 'publicHeadContent'));
[0]17
18class tplCustomTheme
19{
[3730]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    }
[0]27}
Note: See TracBrowser for help on using the repository browser.

Sites map