Changeset 1468:3132a0aca046 for admin/update.php
- Timestamp:
- 08/19/13 09:55:29 (12 years ago)
- Branch:
- default
- Parents:
- 1466:e67efe636ce1 (diff), 1467:917fc08f3a59 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/update.php
r1358 r1468 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 );29 $new_v = $updater->check(DC_VERSION, !empty($_GET['nocache'])); 30 30 $zip_file = $new_v ? DC_BACKUP_PATH.'/'.basename($updater->getFileURL()) : ''; 31 31 $version_info = $new_v ? $updater->getInfoURL() : ''; … … 168 168 -------------------------------------------------------- */ 169 169 dcPage::open(__('Dotclear update'), 170 (!$step ? dcPage::jsPageTabs($default_tab) : ''), 170 (!$step ? 171 dcPage::jsPageTabs($default_tab). 172 dcPage::jsLoad('js/_update.js') 173 : ''), 171 174 dcPage::breadcrumb( 172 175 array( … … 176 179 ); 177 180 181 if (!$core->error->flag()) { 182 echo '<h2>'.__('Dotclear update').'</h2>'; 183 184 if (!empty($_GET['nocache'])) { 185 dcPage::message(__('Manual checking of update done successfully.')); 186 } 187 } 188 178 189 if (!$step) 179 190 { … … 181 192 if (empty($new_v)) 182 193 { 183 echo '<p><strong>'.__('No newer Dotclear version available.').'</strong></p>'; 194 echo '<p><strong>'.__('No newer Dotclear version available.').'</strong></p>'. 195 '<form action="'.$p_url.'" method="get">'. 196 '<p><input type="hidden" name="nocache" value="1" />'. 197 '<input type="submit" value="'.__('Force checking update Dotclear').'" /></p>'. 198 '</form>'; 184 199 } 185 200 else -
admin/update.php
r1462 r1468 171 171 dcPage::jsPageTabs($default_tab). 172 172 dcPage::jsLoad('js/_update.js') 173 : '') 173 : ''), 174 dcPage::breadcrumb( 175 array( 176 __('System') => '', 177 '<span class="page-title">'.__('Dotclear update').'</span>' => '' 178 )) 174 179 ); 175 180
Note: See TracChangeset
for help on using the changeset viewer.