Changeset 3390:8cc44296f7b0 for admin/update.php
- Timestamp:
- 11/04/16 11:47:26 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/update.php
r2818 r3390 203 203 echo 204 204 '<p class="static-msg">'.sprintf(__('Dotclear %s is available.'),$new_v). 205 ($version_info ? ' <a href="'.$version_info.'" class="outgoing" title="'.__('Information about this version').'">('. 206 __('Information about this version').') <img src="images/outgoing.png" alt=""/></a>' : ''). 207 '</p>'. 208 209 '<p>'.__('To upgrade your Dotclear installation simply click on the following button. '. 210 'A backup file of your current installation will be created in your root directory.').'</p>'. 211 '<form action="'.$p_url.'" method="get">'. 212 '<p><input type="hidden" name="step" value="check" />'. 213 '<input type="submit" value="'.__('Update Dotclear').'" /></p>'. 214 '</form>'; 205 ($version_info ? ' <a href="'.$version_info.'" class="outgoing" title="'.__('Information about this version').'">('. 206 __('Information about this version').') <img src="images/outgoing.png" alt=""/></a>' : ''). 207 '</p>'; 208 if (version_compare(phpversion(),$updater->getPHPVersion()) < 0) { 209 echo 210 '<p class="warning-msg">'.sprintf(__('PHP version is %s (%s or earlier needed).'),phpversion(),$updater->getPHPVersion()).'</p>'; 211 } else { 212 echo 213 '<p>'.__('To upgrade your Dotclear installation simply click on the following button. '. 214 'A backup file of your current installation will be created in your root directory.').'</p>'. 215 '<form action="'.$p_url.'" method="get">'. 216 '<p><input type="hidden" name="step" value="check" />'. 217 '<input type="submit" value="'.__('Update Dotclear').'" /></p>'. 218 '</form>'; 219 } 215 220 } 216 221 echo '</div>';
Note: See TracChangeset
for help on using the changeset viewer.