From e7a3600650a234c3c56541b27fed4e894edcbeb9 Mon Sep 17 00:00:00 2001 From: mohrt Date: Fri, 1 Nov 2002 15:28:41 +0000 Subject: [PATCH] update docs for optgroup output --- docs/designers.sgml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/designers.sgml b/docs/designers.sgml index 30255e67..c9980a11 100644 --- a/docs/designers.sgml +++ b/docs/designers.sgml @@ -3154,14 +3154,12 @@ You must supply a <b>state</b>. - html_options is a custom function that creates html option - lists with provided data. It takes care of which item is - selected by default as well. Required attributes are values - and output, unless you use options instead. - - - NOTE: As of Smarty 1.4.5, html_options now outputs xhtml compatible - code. + html_options is a custom function that creates html option lists + with provided data. It takes care of which item is selected by + default as well. Required attributes are values and output, unless + you use options instead. If a given value is an array, it will + treat it as an html OPTGROUP, and display the groups. Recursion is + supported with OPTGROUP. All output is xhtml compatible. html_options