mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-22 03:08:54 +00:00
[ticket/12334] Add PROFILE_FIELD_VALUEID template var
PHPBB3-12334
This commit is contained in:
parent
1edcfcb502
commit
08e2c07f0b
1 changed files with 9 additions and 7 deletions
|
@ -414,6 +414,7 @@ class manager
|
||||||
$tpl_fields['row'] += array(
|
$tpl_fields['row'] += array(
|
||||||
'PROFILE_' . strtoupper($ident) . '_IDENT' => $ident,
|
'PROFILE_' . strtoupper($ident) . '_IDENT' => $ident,
|
||||||
'PROFILE_' . strtoupper($ident) . '_VALUE' => $value,
|
'PROFILE_' . strtoupper($ident) . '_VALUE' => $value,
|
||||||
|
'PROFILE_' . strtoupper($ident) . '_VALUEID' => $ident_ary['value'],
|
||||||
'PROFILE_' . strtoupper($ident) . '_CONTACT' => $contact_url,
|
'PROFILE_' . strtoupper($ident) . '_CONTACT' => $contact_url,
|
||||||
'PROFILE_' . strtoupper($ident) . '_DESC' => $field_desc,
|
'PROFILE_' . strtoupper($ident) . '_DESC' => $field_desc,
|
||||||
'PROFILE_' . strtoupper($ident) . '_TYPE' => $ident_ary['data']['field_type'],
|
'PROFILE_' . strtoupper($ident) . '_TYPE' => $ident_ary['data']['field_type'],
|
||||||
|
@ -427,6 +428,7 @@ class manager
|
||||||
$tpl_fields['blockrow'][] = array(
|
$tpl_fields['blockrow'][] = array(
|
||||||
'PROFILE_FIELD_IDENT' => $ident,
|
'PROFILE_FIELD_IDENT' => $ident,
|
||||||
'PROFILE_FIELD_VALUE' => $value,
|
'PROFILE_FIELD_VALUE' => $value,
|
||||||
|
'PROFILE_FIELD_VALUEID' => $ident_ary['value'],
|
||||||
'PROFILE_FIELD_CONTACT' => $contact_url,
|
'PROFILE_FIELD_CONTACT' => $contact_url,
|
||||||
'PROFILE_FIELD_DESC' => $field_desc,
|
'PROFILE_FIELD_DESC' => $field_desc,
|
||||||
'PROFILE_FIELD_TYPE' => $ident_ary['data']['field_type'],
|
'PROFILE_FIELD_TYPE' => $ident_ary['data']['field_type'],
|
||||||
|
|
Loading…
Add table
Reference in a new issue