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