Dotclear


Ignore:
Timestamp:
05/05/11 14:08:02 (13 years ago)
Author:
xave <xave@…>
Branch:
default
Message:

Activated handling of version info in auto-update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r157 r166  
    234234     $updater = new dcUpdate(DC_UPDATE_URL,'dotclear',DC_UPDATE_VERSION,DC_TPL_CACHE.'/versions'); 
    235235     $new_v = $updater->check(DC_VERSION); 
     236     $version_info = $new_v ? $updater->getInfoURL() : ''; 
    236237      
    237238     if ($updater->getNotify() && $new_v) { 
     
    240241          '<ul><li><strong><a href="update.php">'.sprintf(__('Upgrade now'),$new_v).'</a></strong>'. 
    241242          '</li><li><a href="update.php?hide_msg=1">'.__('Remind me later').'</a>'. 
     243          ($version_info ? ' </li><li><a href="'.$version_info.'">'.__('information about this version').'</a>' : ''). 
    242244          '</li></ul></div>'; 
    243245     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map