Changeset 2566:9bf417837888 for plugins/maintenance/_admin.php
- Timestamp:
- 11/17/13 20:25:53 (12 years ago)
- Branch:
- 2.6
- Children:
- 2567:6c11245cbf04, 2568:61c67a7d17fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/maintenance/_admin.php
r2394 r2566 105 105 * Favorites hack. 106 106 * 107 * This updates maintenance fav icon text 107 * This updates maintenance fav icon text 108 108 * if there are tasks required maintenance. 109 109 * … … 160 160 } 161 161 162 $lines[] = 162 $lines[] = 163 163 '<li title="'.($ts === null ? 164 164 __('This task has never been executed.') … … 188 188 * User preferences form. 189 189 * 190 * This add options for superadmin user 190 * This add options for superadmin user 191 191 * to show or not expired taks. 192 192 * … … 233 233 * Build a well sorted help for tasks. 234 234 * 235 * This method is not so good if used with lot of tranlsations 236 * as it grows memory usage and translations files size, 237 * it is better to use help ressource files 235 * This method is not so good if used with lot of tranlsations 236 * as it grows memory usage and translations files size, 237 * it is better to use help ressource files 238 238 * but keep it for exemple of how to use behavior adminPageHelpBlock. 239 239 * Cheers, JC … … 265 265 foreach($maintenance->getTasks() as $t) 266 266 { 267 if ($t->group() != $group_obj->id() 267 if ($t->group() != $group_obj->id() 268 268 || $t->tab() != $tab_obj->id()) { 269 269 continue; 270 270 } 271 271 if (($desc = $t->description()) != '') { 272 $res_task .= 272 $res_task .= 273 273 '<dt>'.$t->task().'</dt>'. 274 274 '<dd>'.$desc.'</dd>'; … … 278 278 $desc = $group_obj->description ? $group_obj->description : $group_obj->summary; 279 279 280 $res_group .= 280 $res_group .= 281 281 '<h5>'.$group_obj->name().'</h5>'. 282 282 ($desc ? '<p>'.$desc.'</p>' : ''). … … 287 287 $desc = $tab_obj->description ? $tab_obj->description : $tab_obj->summary; 288 288 289 $res_tab .= 289 $res_tab .= 290 290 '<h4>'.$tab_obj->name().'</h4>'. 291 291 ($desc ? '<p>'.$desc.'</p>' : '').
Note: See TracChangeset
for help on using the changeset viewer.