From 925f581f2864cbb35cdb8b344d0d29f2659707d4 Mon Sep 17 00:00:00 2001 From: patdenice Date: Mon, 3 Mar 2008 19:42:16 +0000 Subject: Install goes smarty. Get browser language directly. git-svn-id: http://piwigo.org/svn/trunk@2248 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/install.tpl | 117 ++++++++++++++++++++++++---------------------- 1 file changed, 60 insertions(+), 57 deletions(-) (limited to 'template') diff --git a/template/yoga/install.tpl b/template/yoga/install.tpl index 822c16374..691da9784 100644 --- a/template/yoga/install.tpl +++ b/template/yoga/install.tpl @@ -1,12 +1,13 @@ - +{* $Id$ *} - + -PhpWebGallery {RELEASE} +PhpWebGallery {$RELEASE} +{literal} +{/literal}
-
PhpWebGallery {RELEASE}
+
PhpWebGallery {$RELEASE}
- + {if isset($errors)} - - + {/if} + {if isset($infos)} - + {/if}
    - -
  • {errors.error.ERROR}
  • - + {foreach from=$errors item=error} +
  • {$error}
  • + {/foreach}
    - -
  • {infos.info.INFO}
  • - + {foreach from=$infos item=info} +
  • {$info}
  • + {/foreach}
- -{L_ERR_COPY} : +{if isset($error_copy)} +{'step1_err_copy'|@translate} :
-----------------------------------------------------
-
{error_copy.FILE_CONTENT}
+
{$error_copy}
-----------------------------------------------------
- - -
+{/if} + +{if isset($install)} + - + - + - + - - - + + + - - - + + + - + - + - - - + + + - - - + + + - + - - - + + + - + - + - + - + - - - + + + @@ -230,21 +235,19 @@ td.row {
{L_BASE_TITLE}{'Initial_config'|@translate}
{L_LANG_TITLE}{'Default_lang'|@translate} - {F_LANG_SELECT} +
 
{L_DB_TITLE}{'step1_title'|@translate}
{L_DB_HOST}{L_DB_HOST_INFO}{'step1_host'|@translate}{'step1_host_info'|@translate}
{L_DB_USER}{L_DB_USER_INFO}{'step1_user'|@translate}{'step1_user_info'|@translate}
{L_DB_PASS}{'step1_pass'|@translate} {L_DB_PASS_INFO}{'step1_pass_info'|@translate}
{L_DB_NAME}{L_DB_NAME_INFO}{'step1_database'|@translate}{'step1_database_info'|@translate}
{L_DB_PREFIX}{L_DB_PREFIX_INFO}{'step1_prefix'|@translate}{'step1_prefix_info'|@translate}
 
{L_ADMIN_TITLE}{'step2_title'|@translate}
{L_ADMIN}{L_ADMIN_INFO}{'install_webmaster'|@translate}{'install_webmaster_info'|@translate}
{L_ADMIN_PASSWORD}{'step2_pwd'|@translate} {L_ADMIN_PASSWORD_INFO}{'step2_pwd_info'|@translate}
{L_ADMIN_CONFIRM_PASSWORD}{'step2_pwd_conf'|@translate} {L_ADMIN_CONFIRM_PASSWORD_INFO}{'step2_pwd_conf_info'|@translate}
{L_ADMIN_EMAIL}{L_ADMIN_EMAIL_INFO}{'conf_mail_webmaster'|@translate}{'conf_mail_webmaster_info'|@translate}
 
- +
- - - +{else}
-{L_END_TITLE} +{'install_end_title'|@translate}
-{L_END_MESSAGE} +{'install_end_message'|@translate}
- +{/if}
-
{L_INSTALL_HELP}
+
{$L_INSTALL_HELP}
-- cgit v1.2.3