Dotclear

Changeset 2045:df4cee0ce669


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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • locales/en/plugins.po

    r2044 r2045  
    883883msgstr "" 
    884884 
     885msgid "Export functions are in the page %s." 
     886msgstr "" 
     887 
    885888#, php-format 
    886889msgid "This will import your WordPress content as new content in the current blog: %s." 
  • locales/fr/plugins.po

    r2044 r2045  
    11111111 
    11121112#, php-format 
     1113msgid "Export functions are in the page %s." 
     1114msgstr "Les fonctions d'export sont dans la page de %s." 
     1115 
     1116#, php-format 
    11131117msgid "This will import your WordPress content as new content in the current blog: %s." 
    11141118msgstr "Cela importera le contenu WordPress comme un nouveau contenu dans le blog courant : %s." 
  • plugins/importExport/index.php

    r1358 r2045  
    9595          )); 
    9696 
    97      echo 
    98      '<h3>'.__('Import').'</h3>'.listImportExportModules($core,$modules['import']). 
    99      '<h3>'.__('Export').'</h3>'.listImportExportModules($core,$modules['export']); 
     97     echo '<h3>'.__('Import').'</h3>'.listImportExportModules($core,$modules['import']); 
     98     //echo '<h3>'.__('Export').'</h3>'.listImportExportModules($core,$modules['export']); 
    10099} 
     100 
     101echo 
     102'<p class="info">'.sprintf( 
     103     __('Export functions are in the page %s.'), 
     104     '<a href="plugin.php?p=maintenance&tab=backup#backup">'.__('Maintenance').'</a>' 
     105).'</p>'; 
    101106 
    102107echo ' 
  • 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