mirror of
https://github.com/e107inc/e107.git
synced 2025-02-24 16:52:43 +01:00
6 lines
273 B
Scala
6 lines
273 B
Scala
//USAGE: {EXTENDED_TEXT=<field_name>.<user_id>}
|
|
//EXAMPLE: {EXTENDED_TEXT=user_gender.5} will show the text of the extended field user_gender for user #5
|
|
$parms = explode(".", $parm);
|
|
global $tp;
|
|
return $tp->parseTemplate("{USER_EXTENDED={$parms[0]}.text.{$parms[1]}}");
|