fix активного пункта - страны пользователя (правильность отображения в профиле страны пользователя)
This commit is contained in:
parent
ff20198c46
commit
7cf8b42a29
@ -1,4 +1,3 @@
|
||||
|
||||
<h2 id="page-heading">{#LOGIN_CHANGE_DETAILS#}</h2>
|
||||
|
||||
<div class="block" id="forms">
|
||||
@ -43,10 +42,10 @@
|
||||
<select name="country">
|
||||
{assign var=uc value=$row->country|default:$smarty.session.user_language|lower}
|
||||
{foreach from=$available_countries item=land}
|
||||
<option value="{$land->country_code}"{if $land->country_code == $smarty.request.country|default:$row.country|default:$smarty.session.user_language|lower} selected{/if}>{$land->country_name}</option>
|
||||
<option value="{$land->country_code}"{if $land->country_code == $smarty.request.country|default:$row.country|default:$smarty.session.user_language} selected="selected" {/if}>{$land->country_name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
</p>>
|
||||
<p>
|
||||
<label>{#LOGIN_YOUR_TOWN#}</label>
|
||||
<input name="city" type="text" value="{$smarty.request.city|default:$row.city|escape|stripslashes}" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user