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