mirror of
https://github.com/e107inc/e107.git
synced 2025-06-18 14:58:05 +02:00
Fixes #3957 - UE 'text_value' did not displaying the 'text' label correctly
This commit is contained in:
@ -90,7 +90,7 @@
|
|||||||
{
|
{
|
||||||
// $_value = $tp->parseTemplate("{USER_EXTENDED={$parms[0]}.value}");
|
// $_value = $tp->parseTemplate("{USER_EXTENDED={$parms[0]}.value}");
|
||||||
$_value = user_extended_shortcode($parms[0].".value");
|
$_value = user_extended_shortcode($parms[0].".value");
|
||||||
|
//print_a($parms);
|
||||||
|
|
||||||
if($_value)
|
if($_value)
|
||||||
{
|
{
|
||||||
@ -99,10 +99,10 @@
|
|||||||
|
|
||||||
// $_text = $tp->parseTemplate("{USER_EXTENDED={$parms[0]}.text}");
|
// $_text = $tp->parseTemplate("{USER_EXTENDED={$parms[0]}.text}");
|
||||||
|
|
||||||
$_text = user_extended_shortcode($parms[0], ".text");
|
$_text = user_extended_shortcode($parms[0].".text");
|
||||||
|
|
||||||
|
|
||||||
$_mid = (isset($sc_style['USER_EXTENDED'][$key]['mid']) ? $sc_style['USER_EXTENDED'][$key]['mid'] : '');
|
$_mid = (isset($sc_style['USER_EXTENDED'][$key]['mid']) ? $sc_style['USER_EXTENDED'][$key]['mid'] : ': ');
|
||||||
return $__pre.$_text.$_mid.$_value.$__post;
|
return $__pre.$_text.$_mid.$_value.$__post;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user