Dotclear


Ignore:
Timestamp:
11/17/11 00:40:27 (14 years ago)
Author:
alex
Branch:
default
Message:

Reverted [12f5542d3362]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/update.php

    r766 r768  
    121121          $msg = $e->getMessage(); 
    122122           
    123           $error_code = 'update_err'; 
    124            
    125123          if ($e->getCode() == dcUpdate::ERR_FILES_CHANGED) 
    126124          { 
    127                $error_code = "update_err_files_changed"; 
    128125               $msg = 
    129126               __('The following files of your Dotclear installation '. 
     
    133130          elseif ($e->getCode() == dcUpdate::ERR_FILES_UNREADABLE) 
    134131          { 
    135                $error_code = "update_err_files_unreadable"; 
    136132               $msg = 
    137133               sprintf(__('The following files of your Dotclear installation are not readable. '. 
     
    141137          elseif ($e->getCode() == dcUpdate::ERR_FILES_UNWRITALBE) 
    142138          { 
    143                $error_code = "update_err_files_unwritalbe"; 
    144139               $msg = 
    145140               __('The following files of your Dotclear installation cannot be written. '. 
     
    149144          if (isset($e->bad_files)) { 
    150145               $msg .= 
    151                '<ul id="'.$error_code.'"><li><strong>'. 
     146               '<ul><li><strong>'. 
    152147               implode('</strong></li><li><strong>',$e->bad_files). 
    153148               '</strong></li></ul>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map