string smarty_function_html_select_modules(
array $params, object &$smarty)
|
|
Smarty function to display a list box with a list of active modules either user or admin capable or all modules
Available parameters:
- name: Name for the control (optional) if not present then only the option tags are output
- id: ID for the control
- selected: Selected value
- type: Type of modules to show (all = All modules, user = user capable modules, admin = admin capable modules)
- assign: If set, the results are assigned to the corresponding variable instead of printed out
Example
<!--[html_select_modules name=mod selected=$mymod]-->
<select name="mod"> <option value="">&bsp;</option> <!--[html_select_modules selected=$mythemechoice]--> </select>
Tags:
Parameters
| array |
$params |
All attributes passed to this function from the template |
| object |
&$smarty |
Reference to the Smarty object |