limb2:en:template_system:tags:form_tags:selector_tag
Содержание
Select Tag
Tag select_tag
<select name=’name’ id=’name’ [options_ini_file=’file_name’ use_ini| options_ini_file=’file_name’ [locale_type=’type’]| options_datasource =’datasource_name’] [multiple]> ...options list (optional) </select>
Purpose
Enhanced html select tag. See http://wact.sourceforge.net/index.php/SelectTag for more info. The descendant of the control tag.
Scope
Immediate child of <form> tag.
Attributes
- options_ini_file – ini-file with options list.
- use_ini – if set ini-file will be searched in /core/ini/ directory otherwise /core/strings.
- options_datasource_file – options list can be picked up from a datasource. It must support get_options_array() and get_default_option() methods.
- multiple – permits to select multiple items.
See <control_tag> tag for more info.
Contents
Options list (optional).
Example
<select id='fulltext_search_limit_options' name='limit' class='input' options_ini_file='limit_options'></select> <select id='rank' name='rank' class='input' options_datasource='phpbb_ranks_options_datasource'></select> <select name='stats_start_hour' class='input' options_ini_file='hour_options' use_ini='true' default_value='0'> </select> : <select name='stats_start_minute' class='input' options_ini_file='minute_options' use_ini='true' default_value='0'> </select>
limb2/en/template_system/tags/form_tags/selector_tag.txt · Последнее изменение: 2010/11/10 10:02 — 127.0.0.1

Обсуждение