From ca98ca22233ae7bfc42f28f1a2e844a91e2ed045 Mon Sep 17 00:00:00 2001 From: iBNu Maksum Date: Wed, 16 Oct 2024 16:01:34 +0700 Subject: [PATCH] profile logic Username --- ui/ui/customer/profile.tpl | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/ui/ui/customer/profile.tpl b/ui/ui/customer/profile.tpl index 711e0152..106389a4 100644 --- a/ui/ui/customer/profile.tpl +++ b/ui/ui/customer/profile.tpl @@ -13,10 +13,19 @@
- + {if $_c['registration_username'] == 'phone'} + + {elseif $_c['registration_username'] == 'email'} + + {else} + + {/if} + placeholder="{if $_c['country_code_phone']!= '' || $_c['registration_username'] == 'phone'}{$_c['country_code_phone']} {Lang::T('Phone Number')}{elseif $_c['registration_username'] == 'email'}{Lang::T('Email')}{else}{Lang::T('Username')}{/if}">