Changeset 2196:234c9e083cfb for plugins
- Timestamp:
- 10/02/13 00:10:37 (12 years ago)
- 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. - Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/maintenance/_admin.php
r2177 r2196 29 29 $core->addBehavior('adminAfterDashboardOptionsUpdate', array('dcMaintenanceAdmin', 'adminAfterDashboardOptionsUpdate')); 30 30 $core->addBehavior('adminPageHelpBlock', array('dcMaintenanceAdmin', 'adminPageHelpBlock')); 31 $core->addBehavior('pluginsToolsHeaders', array('dcMaintenanceAdmin', 'pluginsToolsHeaders')); 31 32 32 33 /** … … 223 224 $core->auth->user_prefs->maintenance->put('dashboard_item', !empty($_POST['maintenance_dashboard_item']), 'boolean'); 224 225 } 225 226 226 227 227 /** … … 294 294 } 295 295 } 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 } 296 310 } -
plugins/maintenance/_admin.php
r2163 r2196 129 129 130 130 $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'; 131 132 } 132 133
Note: See TracChangeset
for help on using the changeset viewer.