Dotclear


Ignore:
Timestamp:
09/23/13 21:25:10 (12 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
default
Message:

Minor fixes plugins maintenance and importExport

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/maintenance/index.php

    r2044 r2045  
    4343 
    4444          foreach($tasks as $t) { 
    45                if (!empty($_POST['settings_recall_all'])) { 
     45               if (!empty($_POST['settings_recall_type']) && $_POST['settings_recall_type'] == 'all') { 
    4646                    $ts = $_POST['settings_recall_time']; 
    4747               } 
     
    5959          } 
    6060           
    61           http::redirect($p_url.'&done=1&tab='.$tab); 
     61          http::redirect($p_url.'&done=1&tab='.$tab.'#'.$tab); 
    6262     } 
    6363     catch(Exception $e) { 
     
    8888          if (true === $code) { 
    8989               $maintenance->setLog($task->id()); 
    90                http::redirect($p_url.'&task='.$task->id().'&done=1&tab='.$tab); 
     90               http::redirect($p_url.'&task='.$task->id().'&done=1&tab='.$tab.'#'.$tab); 
    9191          } 
    9292     } 
     
    182182     '</form>'. 
    183183     '<p class="step-back">'. 
    184           '<a class="back" href="'.$p_url.'&tab='.$task->tab().'">'.__('Back').'</a>'. 
     184          '<a class="back" href="'.$p_url.'&tab='.$task->tab().'#'.$task->tab().'">'.__('Back').'</a>'. 
    185185     '</p>'. 
    186186     '</div>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map