1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

new module creation

This commit is contained in:
mcfly
2006-12-02 04:36:16 +00:00
commit e149b35fcc
2196 changed files with 182987 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
//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]}}");