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/update.php

    r3 r166  
    2929$new_v = $updater->check(DC_VERSION); 
    3030$zip_file = $new_v ? DC_BACKUP_PATH.'/'.basename($updater->getFileURL()) : ''; 
     31$version_info = $new_v ? $updater->getInfoURL() : ''; 
    3132 
    3233# Hide "update me" message 
     
    168169     { 
    169170          echo 
    170           '<p class="static-msg">'.sprintf(__('Dotclear %s is available.'),$new_v).'</p>'. 
     171               '<p class="static-msg">'.sprintf(__('Dotclear %s is available.'),$new_v). 
     172                    ($version_info ? ' <a href="'.$version_info.'">('.__('information about this version').')</a>' : ''). 
     173                    '</p>'. 
    171174           
    172175          '<p>'.__('To upgrade your Dotclear installation simply click on the following button. '. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map