{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}{if (count($errors) > 1) && !$implode_err@last}
{/if}{/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} {** upgraderResultDiagnoseX looks like '. $s .' **} {** if known, class name color will be added for the inline style into php file **} {/if} {if $isdir_uploadpath} {/if}
{$CONST.INTEGRITY}
{foreach $upgraderResultDiagnose1 AS $urd1} {$urd1} {/foreach}
{$CONST.PERMISSIONS}
{$basedir} {foreach $upgraderResultDiagnose2 AS $urd2} {$urd2} {/foreach}
{$basedir}{$CONST.PATH_SMARTY_COMPILE} {foreach $upgraderResultDiagnose3 AS $urd3} {$urd3} {/foreach}
{$basedir}{$uploadHTTPPath} {foreach $upgraderResultDiagnose4 AS $urd4} {$urd4} {/foreach}
{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)} {foreach $sqlfiles as $sqlfile}
{$sqlfile}
{/foreach} {/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} {* errorCount end *} {/if}{* showAbort else end *}