Dotclear


Ignore:
Timestamp:
11/17/13 20:25:53 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.6
Children:
2567:6c11245cbf04, 2568:61c67a7d17fa
Message:

Add some people in CREDITS, remove trailing spaces and tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/maintenance/index.php

    r2491 r2566  
    6565     try { 
    6666          $core->blog->settings->maintenance->put( 
    67                'plugin_message',  
    68                !empty($_POST['settings_plugin_message']),  
    69                'boolean',  
    70                'Display alert message of late tasks on plugin page',  
    71                true,  
     67               'plugin_message', 
     68               !empty($_POST['settings_plugin_message']), 
     69               'boolean', 
     70               'Display alert message of late tasks on plugin page', 
     71               true, 
    7272               true 
    7373          ); 
     
    8585               } 
    8686               $core->blog->settings->maintenance->put( 
    87                     'ts_'.$t->id(),  
    88                     abs((integer) $ts),  
    89                     'integer',  
    90                     sprintf('Recall time for task %s', $t->id()),  
    91                     true,  
     87                    'ts_'.$t->id(), 
     88                    abs((integer) $ts), 
     89                    'integer', 
     90                    sprintf('Recall time for task %s', $t->id()), 
     91                    true, 
    9292                    $t->blog() 
    9393               ); 
     
    120120 
    121121if ($task && $task->ajax()) { 
    122      echo  
     122     echo 
    123123     '<script type="text/javascript">'."\n". 
    124124     "//<![CDATA[\n". 
     
    129129} 
    130130 
    131 echo  
     131echo 
    132132$maintenance->getHeaders().' 
    133133</head> 
     
    167167     // Intermediate task (task required several steps) 
    168168 
    169      echo  
     169     echo 
    170170     '<div class="step-box" id="'.$task->id().'">'. 
    171171     '<p class="step-back">'. 
     
    205205               foreach($tasks as $t) 
    206206               { 
    207                     if (!$t->id()  
    208                      || $t->group() != $group_obj->id()  
     207                    if (!$t->id() 
     208                     || $t->group() != $group_obj->id() 
    209209                     || $t->tab() != $tab_obj->id()) { 
    210210                         continue; 
    211211                    } 
    212212 
    213                     $res_task .=  
     213                    $res_task .= 
    214214                    '<p>'.form::radio(array('task', $t->id()), $t->id()).' '. 
    215215                    '<label class="classic" for="'.$t->id().'">'. 
     
    220220                    if ($core->blog->settings->maintenance->plugin_message && $ts !== false) { 
    221221                         if ($ts === null) { 
    222                               $res_task .=  
     222                              $res_task .= 
    223223                              '<br /> <span class="warn">'. 
    224224                              __('This task has never been executed.').' '. 
     
    226226                         } 
    227227                         else { 
    228                               $res_task .=  
     228                              $res_task .= 
    229229                              '<br /> <span class="warn">'.sprintf( 
    230230                                   __('Last execution of this task was on %s.'), 
     
    240240 
    241241               if (!empty($res_task)) { 
    242                     $res_group .=  
     242                    $res_group .= 
    243243                    '<div class="fieldset">'. 
    244244                    '<h4 id="'.$group_obj->id().'">'.$group_obj->name().'</h4>'. 
     
    249249 
    250250          if (!empty($res_group)) { 
    251                echo  
     251               echo 
    252252               '<div id="'.$tab_obj->id().'" class="multi-part" title="'.$tab_obj->name().'">'. 
    253253               '<h3>'.$tab_obj->name().'</h3>'. 
     
    272272          } 
    273273 
    274           echo  
     274          echo 
    275275          '<div id="'.$t->id().'" class="multi-part" title="'.$t->name().'">'. 
    276276          '<h3>'.$t->name().'</h3>'. 
     
    287287     // Settings 
    288288 
    289      echo  
     289     echo 
    290290     '<div id="settings" class="multi-part" title="'.__('Alert settings').'">'. 
    291291     '<h3>'.__('Alert settings').'</h3>'. 
     
    320320          if (!$t->id()) { 
    321321               continue; 
    322           }  
     322          } 
    323323          echo 
    324324          '<div class="two-boxes">'. 
     
    331331     } 
    332332 
    333      echo  
     333     echo 
    334334     '<p class="field wide"><input type="submit" value="'.__('Save').'" /> '. 
    335335     form::hidden(array('tab'), 'settings'). 
     
    342342dcPage::helpBlock('maintenance', 'maintenancetasks'); 
    343343 
    344 echo  
     344echo 
    345345'</body></html>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map