{if $admin_vars.admin_installed}{serendipity_hookPlugin hook="backend_header" hookAll="true"}{/if} {if NOT $admin_vars.no_banner}
{if $admin_vars.admin_installed}

{$CONST.SERENDIPITY_ADMIN_SUITE}: {$blogTitle}

{else}

{$CONST.SERENDIPITY_INSTALLATION}

{/if}
{if $admin_vars.is_logged_in} {/if}
{/if}
{* include of previous plain upgrader here *} {if ($get.action == 'ignore')} {* TODO: don't know what to put here? *} {elseif ($get.action == 'upgrade')} {foreach $call_tasks AS $ctask} {if $is_callable_task} {$ctasks} {/if} {/foreach} {if $errors}

{$CONST.DIAGNOSTIC_ERROR}

{foreach $errors AS $implode_err}

{$implode_err}

{/foreach}
{/if} {/if} {if (($showAbort && $get.action == 'ignore') || $get.action == 'upgrade')} {if $get.action == 'ignore'} {$CONST.SERENDIPITY_UPGRADER_YOU_HAVE_IGNORED} {elseif $get.action == 'upgrade'} {$CONST.SERENDIPITY_UPGRADER_NOW_UPGRADED|sprintf:$s9y_version} {/if} {if $return_here} {$print_UPGRADER_RETURN_HERE} {* could also be used as: {$CONST.SERENDIPITY_UPGRADER_RETURN_HERE|sprintf:"":''} *} {/if} {else}

{$CONST.SERENDIPITY_UPGRADER_WELCOME}

{$CONST.SERENDIPITY_UPGRADER_PURPOSE|sprintf:$s9y_version_installed}

{$CONST.SERENDIPITY_UPGRADER_WHY|sprintf:$s9y_version}

{$CONST.FIRST_WE_TAKE_A_LOOK}

{$result_diagnose} {if $checksums}

{$CONST.INTEGRITY}

    {foreach $upgraderResultDiagnose1 AS $urd1}
  • {$urd1}
  • {/foreach}
{/if}

{$CONST.PERMISSIONS}

{$basedir}
{foreach $upgraderResultDiagnose2 AS $urd2}
{$urd2}
{/foreach}
{$basedir}{$CONST.PATH_SMARTY_COMPILE}
{foreach $upgraderResultDiagnose3 AS $urd3}
{$urd3}
{/foreach} {if $isdir_uploadpath}
{$basedir}{$uploadHTTPPath}
{foreach $upgraderResultDiagnose4 AS $urd4}
{$urd4}
{/foreach} {/if}
{if $showWritableNote} {$CONST.PROBLEM_PERMISSIONS_HOWTO|sprintf:'chmod 1777'} {/if} {if ($errorCount > 0)} {$CONST.PROBLEM_DIAGNOSTIC} {$CONST.RECHECK_INSTALLATION} {/if}
{if ($errorCount < 1)} {if (sizeof($sqlfiles) > 0)}

{$database_update_types}:

{$CONST.SERENDIPITY_UPGRADER_FOUND_SQL_FILES}:

{if is_array($sqlfiles) && !empty($sqlfiles)} {/if} {/if}

{$CONST.SERENDIPITY_UPGRADER_VERSION_SPECIFIC}:

{if is_array($tasks) && !empty($tasks)}
{foreach $tasks as $task}
{$task.version} - {$task.title}
{$task.desc|nl2br}
{/foreach}
{/if} {if ($taskCount == 0)}

{$CONST.SERENDIPITY_UPGRADER_NO_VERSION_SPECIFIC}

{/if} {if (($taskCount > 0) || (sizeof($sqlfiles) > 0))}

{$CONST.SERENDIPITY_UPGRADER_PROCEED_QUESTION}

{$CONST.SERENDIPITY_UPGRADER_PROCEED_DOIT}{if $showAbort} {$CONST.SERENDIPITY_UPGRADER_PROCEED_ABORT}{/if} {else}

{$CONST.SERENDIPITY_UPGRADER_NO_UPGRADES}

{$CONST.SERENDIPITY_UPGRADER_CONSIDER_DONE} {/if} {/if} {/if} {* end include upgrader *}
{if NOT $admin_vars.no_footer} {if $admin_vars.version_info} {/if} {/if}