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