fix typos

This commit is contained in:
mohrt
2004-07-23 18:34:21 +00:00
parent 5ee7d5a400
commit a85f60b08b

View File

@@ -84,14 +84,14 @@ require('Smarty.class.php');
$smarty = new Smarty; $smarty = new Smarty;
$smarty->assign('cust_ids', array(1000,1001,1002,1003)); $smarty->assign('cust_ids', array(1000,1001,1002,1003));
$smarty->assign('cust_names', array('Joe Schmoe','Jack Smith','Jane $smarty->assign('cust_names', array('Joe Schmoe','Jack Smith','Jane
Johnson','Carlie Brown')); Johnson','Charlie Brown'));
$smarty->assign('customer_id', 1001); $smarty->assign('customer_id', 1001);
$smarty->display('index.tpl'); $smarty->display('index.tpl');
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: index.php:
@@ -139,4 +139,4 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->