Dotclear

Changeset 2196:234c9e083cfb for plugins


Ignore:
Timestamp:
10/02/13 00:10:37 (12 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
dcRepo
Parents:
2195:70e4c0552ecc (diff), 2191:f3ecd85d5c32 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from default

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/maintenance/_admin.php

    r2177 r2196  
    2929$core->addBehavior('adminAfterDashboardOptionsUpdate', array('dcMaintenanceAdmin',   'adminAfterDashboardOptionsUpdate')); 
    3030$core->addBehavior('adminPageHelpBlock',     array('dcMaintenanceAdmin',   'adminPageHelpBlock')); 
     31$core->addBehavior('pluginsToolsHeaders',    array('dcMaintenanceAdmin',   'pluginsToolsHeaders')); 
    3132 
    3233/** 
     
    223224          $core->auth->user_prefs->maintenance->put('dashboard_item', !empty($_POST['maintenance_dashboard_item']), 'boolean'); 
    224225     } 
    225  
    226226 
    227227     /** 
     
    294294          } 
    295295     } 
     296 
     297     /** 
     298      * Add javascript for plugin configuration. 
     299      * 
     300      * @param $core     <b>dcCore</b>  dcCore instance 
     301      * @param $module   <b>mixed</b>   Module ID or false if none 
     302      * @return     <b>string</b>  Header code for js inclusion 
     303      */ 
     304     public static function pluginsToolsHeaders($core, $module) 
     305     { 
     306          if ($module == 'maintenance') { 
     307               return dcPage::jsLoad('index.php?pf=maintenance/js/settings.js'); 
     308          } 
     309     } 
    296310} 
  • plugins/maintenance/_admin.php

    r2163 r2196  
    129129 
    130130          $icon[0] .= '<br />'.sprintf(__('One task to execute', '%s tasks to execute', $count), $count); 
     131          $icon[2] = 'index.php?pf=maintenance/icon-big-update.png'; 
    131132     } 
    132133 
Note: See TracChangeset for help on using the changeset viewer.

Sites map