{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}
{if $STEP < 2}

Piwigo AutoUpgrade

{else}

{'Upgrade to Piwigo %s'|@translate|@sprintf:$UPGRADE_TO}

{/if}
{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 upgrade failed for unknown reasons.'|@translate}

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

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

{'You can upgrade 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 upgrade, with only bug corrections.'|@translate}

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

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

{counter assign=i}
{'autoupdate_step_'|cat:$i|@translate}

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

{counter assign=i}
{'autoupdate_step_'|cat:$i|@translate} {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}