update docs for optgroup output

This commit is contained in:
mohrt
2002-11-01 15:28:41 +00:00
parent e574890ea8
commit e7a3600650

View File

@@ -3154,14 +3154,12 @@ You must supply a <b>state</b>.
</tgroup> </tgroup>
</informaltable> </informaltable>
<para> <para>
html_options is a custom function that creates html option html_options is a custom function that creates html option lists
lists with provided data. It takes care of which item is with provided data. It takes care of which item is selected by
selected by default as well. Required attributes are values default as well. Required attributes are values and output, unless
and output, unless you use options instead. you use options instead. If a given value is an array, it will
</para> treat it as an html OPTGROUP, and display the groups. Recursion is
<para> supported with OPTGROUP. All output is xhtml compatible.
NOTE: As of Smarty 1.4.5, html_options now outputs xhtml compatible
code.
</para> </para>
<example> <example>
<title>html_options</title> <title>html_options</title>