cvs: smarty /docs/en/designers/language-custom-functions language-function-html-radios.xml
"Monte Ohrt" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmohrt1090607661@cvsserver> |
mohrt Fri Jul 23 14:34:21 2004 EDT
Modified files:
/smarty/docs/en/designers/language-custom-functions
language-function-html-radios.xml
Log:
fix typos
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml
diff -u smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml:1.1 smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml:1.2
--- smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml:1.1 Tue Apr 13 04:40:22 2004
+++ smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml Fri Jul 23 14:34:21 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="language.function.html.radios">
<title>html_radios</title>
<informaltable frame="all">
@@ -84,14 +84,14 @@
$smarty = new Smarty;
$smarty->assign('cust_ids', array(1000,1001,1002,1003));
$smarty->assign('cust_names', array('Joe Schmoe','Jack Smith','Jane
-Johnson','Carlie Brown'));
+Johnson','Charlie Brown'));
$smarty->assign('customer_id', 1001);
$smarty->display('index.tpl');
index.tpl:
-{html_radios values=$cust_ids selected=$customer_id output=$cust_names separator="<br />"}
+{html_radios name="id" values=$cust_ids selected=$customer_id output=$cust_names separator="<br />"}
index.php:
@@ -139,4 +139,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php