Dotclear

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

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

Simplify licence block at the beginning of each file

RevLine 
[175]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_CONTEXT_ADMIN')) {return;}
[175]13
[3730]14$version = $core->plugins->moduleInfo('blowupConfig', 'version');
15if (version_compare($core->getVersion('blowupConfig'), $version, '>=')) {
16    return;
[175]17}
18
[3730]19$settings = new dcSettings($core, null);
[175]20$settings->addNamespace('themes');
[3730]21$settings->themes->put('blowup_style', '', 'string', 'Blow Up  custom style', false);
[175]22
[3730]23$core->setVersion('blowupConfig', $version);
[175]24return true;
Note: See TracBrowser for help on using the repository browser.

Sites map