From e0317e195b6232090129f39939a86923ccc304ed Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 2 Apr 2010 13:05:53 +0000 Subject: Improve the install confirmation page: dedicated button to download the database.inc.php file. git-svn-id: http://piwigo.org/svn/trunk@5571 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/install.tpl | 30 ++++++++++++++++++++++++++++++ install.php | 27 ++++++++++++--------------- 2 files changed, 42 insertions(+), 15 deletions(-) diff --git a/admin/themes/default/template/install.tpl b/admin/themes/default/template/install.tpl index 31e89ec42..99937a670 100644 --- a/admin/themes/default/template/install.tpl +++ b/admin/themes/default/template/install.tpl @@ -91,6 +91,16 @@ TD { .sql_content, .infos a { color: #ff3363; } + +.config_creation_failed { + text-align:left; + border:3px solid #F20D00; + color:#999; + margin:20px; + padding:0px 20px 5px 20px; + background-image:url(admin/themes/default/icon/errors.png); + background-repeat:no-repeat; +} {/literal} Piwigo {$RELEASE} - {'Installation'|@translate} @@ -104,6 +114,26 @@ TD {

Piwigo {$RELEASE} - {'Installation'|@translate}

+{if isset($config_creation_failed)} +
+

+ {'Creation of config file local/config/database.inc.php failed.'|@translate} +

+ +
+{/if} + {if isset($errors)}