mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Added ability to set country name manually (#1652)
* Minor improvements
* Updated
* Revert "Updated"
This reverts commit 927e085cc0
.
* Update CHANGELOG.md
* Update usercp_register.tpl
* Updated
* Updated
* Updated
* Update usercp_register.tpl
* Update usercp_register.tpl
* Update usercp_register.tpl
* Updated
* Update CHANGELOG.md
* Update usercp_register.tpl
This commit is contained in:
parent
ca81d99a71
commit
408635cd52
6 changed files with 42 additions and 7 deletions
|
@ -465,8 +465,10 @@ foreach ($profile_fields as $field => $can_edit) {
|
|||
$pr_data['user_from'] = $from;
|
||||
$db_data['user_from'] = (string)$from;
|
||||
}
|
||||
$tp_data['USER_FROM'] = $pr_data['user_from'];
|
||||
$tp_data['COUNTRY_SELECTED'] = render_flag($pr_data['user_from']);
|
||||
$tp_data['COUNTRY_SELECT'] = build_select('user_from', array_flip($lang['COUNTRIES']), $pr_data['user_from']);
|
||||
$tp_data['CHECKED_MANUAL_COUNTRY'] = ($tp_data['COUNTRY_SELECTED'] === $pr_data['user_from']) ? 'checked' : '';
|
||||
break;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue