From 2e68196b2a1ff6db3cd848dd2e3a2c7610d7075d Mon Sep 17 00:00:00 2001 From: Quitta Date: Tue, 17 Sep 2013 05:26:09 +0200 Subject: [PATCH] tried to fix error messages being shown --- .../ryzom_ams/ams_lib/ingame_templates/register.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/register.tpl b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/register.tpl index 90913b807..9fa8fef32 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/register.tpl +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/register.tpl @@ -23,7 +23,7 @@ "javascript:showTooltip('{$username_tooltip}', this);" /> - {if isset($Username)}{$Username}{/if} + {if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}{$USERNAME}{/if} @@ -39,7 +39,7 @@ onfocus="javascript:showTooltip('{$password_message}', this);" /> - {if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}{$Password}{/if} + {if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}{$PASSWORD}{/if} @@ -52,11 +52,11 @@ onfocus="javascript:showTooltip('{$cpassword_message}', this);" /> - {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}{$ConfirmPass}{/if} + {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}{$CPASSWORD}{/if} - {$email_tag} + {$email_tag} - {if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}{$Email}{/if} + {if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}{$EMAIL}{/if}