Only display the named greeting if we have their name

This commit is contained in:
james 2004-12-07 16:33:14 +00:00
parent 75e0cd7731
commit f1dadb4434

View File

@ -32,8 +32,12 @@ echo mysql_error();
$r=mysql_fetch_object($q);
send_header("Participant Registration - Summary");
//only display the named greeting if we have their name
if($r->firstname)
{
echo i18n("Hello <b>%1</b>",array($r->firstname));
echo "<br />";
}
echo "<br />";
echo i18n("Please use the checklist below to complete your registration. Click on an item in the table to edit that information. When you have entered all information, the <b>Status</b> field will change to <b>Complete</b>");
echo "<br />";