Changeset 766:12f5542d3362
- Timestamp:
- 11/17/11 00:01:59 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/update.php
r270 r766 120 120 { 121 121 $msg = $e->getMessage(); 122 123 $error_code = 'update_err'; 124 122 125 if ($e->getCode() == dcUpdate::ERR_FILES_CHANGED) 123 126 { 127 $error_code = "update_err_files_changed"; 124 128 $msg = 125 129 __('The following files of your Dotclear installation '. … … 129 133 elseif ($e->getCode() == dcUpdate::ERR_FILES_UNREADABLE) 130 134 { 135 $error_code = "update_err_files_unreadable"; 131 136 $msg = 132 137 sprintf(__('The following files of your Dotclear installation are not readable. '. … … 136 141 elseif ($e->getCode() == dcUpdate::ERR_FILES_UNWRITALBE) 137 142 { 143 $error_code = "update_err_files_unwritalbe"; 138 144 $msg = 139 145 __('The following files of your Dotclear installation cannot be written. '. … … 143 149 if (isset($e->bad_files)) { 144 150 $msg .= 145 '<ul ><li><strong>'.151 '<ul id="'.$error_code.'"><li><strong>'. 146 152 implode('</strong></li><li><strong>',$e->bad_files). 147 153 '</strong></li></ul>';
Note: See TracChangeset
for help on using the changeset viewer.