Dotclear


Ignore:
Timestamp:
03/08/18 17:58:39 (8 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Code formatting (PSR-2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/blowupConfig/_install.php

    r2566 r3730  
    1010# 
    1111# -- END LICENSE BLOCK ----------------------------------------- 
    12 if (!defined('DC_CONTEXT_ADMIN')) { return; } 
     12if (!defined('DC_CONTEXT_ADMIN')) {return;} 
    1313 
    14 $version = $core->plugins->moduleInfo('blowupConfig','version'); 
    15 if (version_compare($core->getVersion('blowupConfig'),$version,'>=')) { 
    16      return; 
     14$version = $core->plugins->moduleInfo('blowupConfig', 'version'); 
     15if (version_compare($core->getVersion('blowupConfig'), $version, '>=')) { 
     16    return; 
    1717} 
    1818 
    19 $settings = new dcSettings($core,null); 
     19$settings = new dcSettings($core, null); 
    2020$settings->addNamespace('themes'); 
    21 $settings->themes->put('blowup_style','','string','Blow Up  custom style',false); 
     21$settings->themes->put('blowup_style', '', 'string', 'Blow Up  custom style', false); 
    2222 
    23 $core->setVersion('blowupConfig',$version); 
     23$core->setVersion('blowupConfig', $version); 
    2424return true; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map