Dotclear


Ignore:
Timestamp:
08/19/13 09:55:29 (12 years ago)
Author:
franck <carnet.franck.paul@…>
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.
Message:

Merge 2.5 commits into default branch (should be verified)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/update.php

    r1358 r1468  
    2727 
    2828$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'])); 
    3030$zip_file = $new_v ? DC_BACKUP_PATH.'/'.basename($updater->getFileURL()) : ''; 
    3131$version_info = $new_v ? $updater->getInfoURL() : ''; 
     
    168168-------------------------------------------------------- */ 
    169169dcPage::open(__('Dotclear update'), 
    170      (!$step ? dcPage::jsPageTabs($default_tab) : ''), 
     170     (!$step ?  
     171          dcPage::jsPageTabs($default_tab). 
     172          dcPage::jsLoad('js/_update.js') 
     173          : ''), 
    171174     dcPage::breadcrumb( 
    172175          array( 
     
    176179); 
    177180 
     181if (!$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 
    178189if (!$step) 
    179190{ 
     
    181192     if (empty($new_v)) 
    182193     { 
    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>'; 
    184199     } 
    185200     else 
  • admin/update.php

    r1462 r1468  
    171171          dcPage::jsPageTabs($default_tab). 
    172172          dcPage::jsLoad('js/_update.js') 
    173      : '') 
     173          : ''), 
     174     dcPage::breadcrumb( 
     175          array( 
     176               __('System') => '', 
     177               '<span class="page-title">'.__('Dotclear update').'</span>' => '' 
     178          )) 
    174179); 
    175180 
Note: See TracChangeset for help on using the changeset viewer.

Sites map