mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
typos
This commit is contained in:
@@ -144,7 +144,8 @@ $smarty->assign('customer_id', 1001);
|
|||||||
</para>
|
</para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
{html_checkboxes name='id' options=$cust_checkboxes selected=$customer_id separator='<br />'}
|
{html_checkboxes name='id' options=$cust_checkboxes
|
||||||
|
selected=$customer_id separator='<br />'}
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
<para>
|
<para>
|
||||||
@@ -172,7 +173,7 @@ $sql = 'select type_id, types from contact_types order by type';
|
|||||||
$smarty->assign('contact_types',$db->getAssoc($sql));
|
$smarty->assign('contact_types',$db->getAssoc($sql));
|
||||||
|
|
||||||
$sql = 'select contact_id, contact_type_id, contact '
|
$sql = 'select contact_id, contact_type_id, contact '
|
||||||
,'from contacts where contact_id=12';
|
.'from contacts where contact_id=12';
|
||||||
$smarty->assign('contact',$db->getRow($sql));
|
$smarty->assign('contact',$db->getRow($sql));
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@@ -151,11 +151,11 @@ $smarty->assign('customer_id', 1001);
|
|||||||
<![CDATA[
|
<![CDATA[
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$sql = 'select type_id, types from types order by type';
|
$sql = 'select type_id, types from contact_types order by type';
|
||||||
$smarty->assign('types',$db->getAssoc($sql));
|
$smarty->assign('types',$db->getAssoc($sql));
|
||||||
|
|
||||||
$sql = 'select contact_id, name, email, contact_type_id
|
$sql = 'select contact_id, name, email, contact_type_id '
|
||||||
from contacts where contact_id='.$contact_id;
|
.'from contacts where contact_id='.$contact_id;
|
||||||
$smarty->assign('contact',$db->getRow($sql));
|
$smarty->assign('contact',$db->getRow($sql));
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -166,7 +166,7 @@ $smarty->assign('contact',$db->getRow($sql));
|
|||||||
</para>
|
</para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
{html_radios name='contact_type_type' options=$types
|
{html_radios name='contact_type_id' options=$contact_types
|
||||||
selected=$contact.contact_type_id separator='<br />'}
|
selected=$contact.contact_type_id separator='<br />'}
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
Reference in New Issue
Block a user