Dotclear

source: plugins/blowupConfig/_public.php @ 3731:3770620079d4

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

Simplify licence block at the beginning of each file

RevLine 
[0]1<?php
[3731]2/**
3 * @brief blowupConfig, a plugin for Dotclear 2
4 *
5 * @package Dotclear
6 * @subpackage Plugins
7 *
8 * @copyright Olivier Meunier & Association Dotclear
9 * @copyright GPL-2.0-only
10 */
11
[3730]12if (!defined('DC_RC_PATH')) {return;}
[0]13
14if ($core->blog->settings->system->theme != 'default') {
[3730]15    return;
[0]16}
17
[3730]18require dirname(__FILE__) . '/lib/class.blowup.config.php';
19$core->addBehavior('publicHeadContent', array('tplBlowupTheme', 'publicHeadContent'));
[0]20
21class tplBlowUpTheme
22{
[3730]23    public static function publicHeadContent($core)
24    {
25        $url = blowupConfig::publicCssUrlHelper();
26        if ($url) {
27            echo '<link rel="stylesheet" href="' . $url . '" type="text/css" />';
28        }
29    }
[0]30}
Note: See TracBrowser for help on using the repository browser.

Sites map