Dotclear

source: plugins/blowupConfig/_install.php @ 2566:9bf417837888

Revision 2566:9bf417837888, 804 bytes checked in by franck <carnet.franck.paul@…>, 12 years ago (diff)

Add some people in CREDITS, remove trailing spaces and tabs.

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ---------------------------------------
3#
4# This file is part of blowupConfig, a plugin for Dotclear 2.
5#
6# Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear
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 -----------------------------------------
12if (!defined('DC_CONTEXT_ADMIN')) { return; }
13
14$version = $core->plugins->moduleInfo('blowupConfig','version');
15if (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);
24return true;
Note: See TracBrowser for help on using the repository browser.

Sites map