Rev | Line | |
---|
[175] | 1 | <?php |
---|
| 2 | # -- BEGIN LICENSE BLOCK --------------------------------------- |
---|
| 3 | # |
---|
| 4 | # This file is part of blowupConfig, a plugin for Dotclear 2. |
---|
| 5 | # |
---|
[1179] | 6 | # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear |
---|
[175] | 7 | # Licensed under the GPL version 2.0 license. |
---|
| 8 | # See LICENSE file or |
---|
| 9 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
---|
| 10 | # |
---|
| 11 | # -- END LICENSE BLOCK ----------------------------------------- |
---|
| 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; |
---|
[0] | 25 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.