1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 05:02:02 +02:00

Fixes #3957 - UE 'text_value' did not displaying the 'text' label correctly

This commit is contained in:
Tijn Kuyper 2019-09-23 12:03:46 +02:00
parent f4c8fe1dfd
commit 98b0cc6763
No known key found for this signature in database
GPG Key ID: AAEA3CC2C5A308F2

View File

@ -90,7 +90,7 @@
{
// $_value = $tp->parseTemplate("{USER_EXTENDED={$parms[0]}.value}");
$_value = user_extended_shortcode($parms[0].".value");
//print_a($parms);
if($_value)
{
@ -99,10 +99,10 @@
// $_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 false;