Changeset 1969:d2ef655d3195 for plugins/maintenance/index.php
- Timestamp:
- 09/20/13 18:10:13 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/maintenance/index.php
r1959 r1969 59 59 60 60 // Get expired tasks 61 $ user_options = $core->auth->getOptions();62 if ( !empty($user_options['user_maintenance_expired'])) {61 $core->auth->user_prefs->addWorkspace('maintenance'); 62 if ($core->auth->user_prefs->maintenance->plugin_message) { 63 63 $expired = $maintenance->getExpired(); 64 64 } … … 158 158 if (array_key_exists($t->id(), $expired)) { 159 159 $res_task .= 160 ' <span class="clear form-notewarn">'.sprintf(161 __('Last execution of this task was on %s. You should execute it again.'),160 '<br /> <span class="warn">'.sprintf( 161 __('Last execution of this task was on %s.'), 162 162 dt::dt2str(__('%Y-%m-%d %H:%M'), $expired[$t->id()]) 163 ).'</span>'; 163 ).' '. 164 __('You should execute it now.').'</span>'; 165 } 166 elseif ($t->ts()) { 167 $res_task .= 168 '<br /> <span class="warn">'. 169 __('This task has never been executed.').' '. 170 __('You should execute it now.').'</span>'; 164 171 } 165 172
Note: See TracChangeset
for help on using the changeset viewer.