Archived
1
0

fixed show installation errors

This commit is contained in:
Ian
2012-04-04 11:20:34 +02:00
parent f9d2eaade9
commit a8c5418b2f
2 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -78,8 +78,8 @@ if ( sizeof($_POST) > 1 && (int)$serendipity['GET']['step'] == 3 ) {
}
if ( is_array($errors = serendipity_checkInstallation()) ) {
$data['is_errors'] = true;
$data['errors'] = $errors;
$from = $_POST;
/* Back to configuration, user did something wrong */
$serendipity['GET']['step'] = $serendipity['POST']['step'];
+4 -6
View File
@@ -1,11 +1,9 @@
{* From configuration to install *}
{if ( sizeof($smarty.post) > 1 && $s9yGETstep == 3 )}
{if $is_errors && is_array($errors)}
{if is_array($errors)}
{foreach $errors AS $error}
{foreach $errors AS $error}
<div class="serendipityAdminMsgError"><img style="width: 22px; height: 22px; border: 0px; padding-right: 4px; vertical-align: middle" src="{serendipity_getFile file='admin/img/admin_msg_error.png'}" alt="" />{$error}</div>
{/foreach}
{/if}
{/foreach}
{/if}
@@ -253,7 +251,7 @@
<strong>{$CONST.DONE}</strong><br />
{/if}
{$CONST.CREATING_PRIMARY_AUTHOR|sprintf:"{$smarty.post.user|escape}"}$hellip;
{$CONST.CREATING_PRIMARY_AUTHOR|sprintf:"{$smarty.post.user|escape}"}&hellip;
{if $add_authors}
<strong>{$CONST.DONE}</strong><br />
{/if}