Procedural File: function.html_select_themes.php
Source Location: /pnRender/plugins/function.html_select_themes.phpClasses:
Page Details:
Zikula Application FrameworkTags:
smarty_function_html_select_themes [line 40]
|
Smarty function to display a drop down list of themes
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
- filter: Filter themes use (possible values: PNTHEME_FILTER_ALL (default) PNTHEME_FILTER_USER, PNTHEME_FILTER_SYSTEM, PNTHEME_FILTER_ADMIN
- state: Filter themes by state (possible values: PNTHEME_STATE_ALL (default), PNTHEME_STATE_ACTIVE, PNTHEME_STATE_INACTIVE
- type: Filter themes by type (possible values: PNTHEME_TYPE_ALL (default), PNTHEME_TYPE_LEGACY, PNTHEME_TYPE_XANTHIA2, PNTHEME_TYPE_XANTHIA3, PNTHEME_TYPE_AUTOTHEME
- assign: If set, the results are assigned to the corresponding variable instead of printed out
<!--[html_select_themes name=mytheme selected=mythemechoice]-->
<select name="mytheme"> <option value=""><!--[pnml name=_DEFAULT]--></option> <!--[html_select_themes selected=$mythemechoice]--> </select>
Tags:
Parameters
| array | $params | All attributes passed to this function from the template |
| object | &$smarty | Reference to the Smarty object |
[ Top ]
