{footer_script} jQuery(document).ready(function() {ldelim} jQuery('input[name="submit"]').click(function() {ldelim} if(!confirm('{'autoupdate_alert'|@translate}')) return false; jQuery(this).hide(); jQuery('.autoupdate_bar').show(); }); jQuery('[name="understand"]').click(function() {ldelim} jQuery('[name="submit"]').attr('disabled', !this.checked); }); }); {/footer_script} {html_head} {literal} {/literal} {/html_head}

{'Updates'|@translate}

{if $STEP == 0} {if $CHECK_VERSION}

{'You are running the latest version of Piwigo.'|@translate}

{elseif $DEV_VERSION}

{'You are running on development sources, no check possible.'|@translate}

{else}

{'Check for update failed for unknown reasons.'|@translate}

{/if} {/if} {if $STEP == 1}

{'Two updates are available'|@translate}:

{'You can update to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'|@translate|@sprintf:$MAJOR_VERSION:$MINOR_VERSION}

{/if} {if $STEP == 2}

{'A new version of Piwigo is available.'|@translate}
{'This is a minor update, with only bug corrections.'|@translate}

{/if} {if $STEP == 3}

{'A new version of Piwigo is available.'|@translate}
{'This is a major update, with new exciting features.'|@translate|@sprintf:$RELEASE_URL} {'Some themes and plugins may be not available yet.'|@translate}

{counter assign=i}
{'Dump Database'|@translate}

  {'Include history data (Warning: server memory limit may be exceeded)'|@translate}

{counter assign=i}
{'Update to Piwigo %s'|@translate|@sprintf:$UPGRADE_TO} {if !empty($missing.plugins)}

{'Following plugins may not be compatible with the new version of Piwigo:'|@translate}


{/if} {if !empty($missing.themes)}

{'Following themes may not be compatible with the new version of Piwigo:'|@translate}


{/if}

{if !empty($missing.plugins) or !empty($missing.themes)}

{/if}

{/if}