Dotclear

Changeset 2286:c14a5e07a2f7 for admin


Ignore:
Timestamp:
10/05/13 20:34:40 (12 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
default
Message:

Formalizes themes and plugins provided with the distribution

Location:
admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/blog_theme.php

    r2282 r2286  
    3232     $core->blog->settings->system->store_theme_url 
    3333); 
    34 adminThemesList::$distributed_modules = array( 
    35      'blueSilence', 
    36      'blowupConfig', 
    37      'customCSS', 
    38      'default', 
    39      'ductile' 
    40 ); 
     34adminThemesList::$distributed_modules = explode(',', DC_DISTRIB_THEMES); 
    4135 
    4236# -- Theme screenshot -- 
  • admin/plugins.php

    r2283 r2286  
    3535 
    3636adminModulesList::$allow_multi_install = $core->blog->settings->system->plugins_allow_multi_install; 
    37 adminModulesList::$distributed_modules = array( 
    38      'aboutConfig', 
    39      'akismet', 
    40      'antispam', 
    41      'attachments', 
    42      'blogroll', 
    43      'blowupConfig', 
    44      'dclegacy', 
    45      'fairTrackbacks', 
    46      'importExport', 
    47      'maintenance', 
    48      'pages', 
    49      'pings', 
    50      'simpleMenu', 
    51      'tags', 
    52      'themeEditor', 
    53      'userPref', 
    54      'widgets' 
    55 ); 
     37adminModulesList::$distributed_modules = explode(',', DC_DISTRIB_PLUGINS); 
    5638 
    5739# -- Display module configuration page -- 
Note: See TracChangeset for help on using the changeset viewer.

Sites map