From a4a54cc034a60fcc708008a334f20e2651383441 Mon Sep 17 00:00:00 2001 From: mohrt Date: Tue, 4 Jan 2005 17:19:32 +0000 Subject: [PATCH] make examples easier to identify --- .../language-function-html-options.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/en/designers/language-custom-functions/language-function-html-options.xml b/docs/en/designers/language-custom-functions/language-function-html-options.xml index 56a66714..2aca248b 100644 --- a/docs/en/designers/language-custom-functions/language-function-html-options.xml +++ b/docs/en/designers/language-custom-functions/language-function-html-options.xml @@ -81,6 +81,9 @@ html_options +EXAMPLE 1 +--------- + index.php: require('Smarty.class.php'); @@ -97,6 +100,8 @@ index.tpl: {html_options values=$cust_ids selected=$customer_id output=$cust_names} </select> +EXAMPLE 2 +--------- index.php: @@ -118,6 +123,7 @@ index.tpl: OUTPUT: (both examples) +----------------------- <select name=customer_id> <option value="1000">Joe Schmoe</option>