string smarty_function_dudoptionalitemmodify(
array $params, object &$smarty, string $item, string $uid, string $tableless, string $class, string $proplabel, string $mode)
|
|
Smarty function to display an editable dynamic user data field
Example <!--[dudoptionalitemmodify proplabel="_YICQ"]-->
Example <!--[dudoptionalitemmodify proplabel="_YICQ" uid=$uid]-->
Example <!--[dudoptionalitemmodify item=$item]-->
Tags:
Parameters
| array |
$params |
All attributes passed to this function from the template |
| object |
&$smarty |
Reference to the Smarty object |
| string |
$item |
The Profile DUD item |
| string |
$uid |
User ID to display the field value for (-1 = do not load) |
| string |
$tableless |
Don't use tables to render the markup (optional - default true) |
| string |
$class |
CSS class to assign to the table row/form row div (optional) |
| string |
$proplabel |
Property label to display (optional overrides the preformated dud item $item) |
| string |
$mode |
Display mode: 'normal' = normal editing, 'simple' = simplified for search window |