Changeset 1280:d9627cb1cb02 for admin/update.php
- Timestamp:
- 08/06/13 10:03:57 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/update.php
r1231 r1280 27 27 28 28 $updater = new dcUpdate(DC_UPDATE_URL,'dotclear',DC_UPDATE_VERSION,DC_TPL_CACHE.'/versions'); 29 $new_v = $updater->check(DC_VERSION , !empty($_GET['nocache']));29 $new_v = $updater->check(DC_VERSION); 30 30 $zip_file = $new_v ? DC_BACKUP_PATH.'/'.basename($updater->getFileURL()) : ''; 31 31 $version_info = $new_v ? $updater->getInfoURL() : ''; … … 173 173 if (!$core->error->flag()) { 174 174 echo '<h2>'.__('Dotclear update').'</h2>'; 175 176 if (!empty($_GET['nocache'])) {177 dcPage::message(__('Manual checking of update done successfully.'));178 }179 175 } 180 176 … … 184 180 if (empty($new_v)) 185 181 { 186 echo '<p><strong>'.__('No newer Dotclear version available.').'</strong></p>'. 187 '<form action="'.$p_url.'" method="get">'. 188 '<p><input type="hidden" name="nocache" value="1" />'. 189 '<input type="submit" value="'.__('Force checking update Dotclear').'" /></p>'. 190 '</form>'; 182 echo '<p><strong>'.__('No newer Dotclear version available.').'</strong></p>'; 191 183 } 192 184 else
Note: See TracChangeset
for help on using the changeset viewer.