This commit is contained in:
pete_morgan
2005-10-24 18:37:46 +00:00
parent 3aa3fc2b59
commit e980e4f117

View File

@@ -21,18 +21,20 @@
<title>function attribute syntax</title>
<programlisting>
<![CDATA[
{include file="header.tpl"}
{include file='header.tpl'}
{include file="header.tpl" attrib_name="attrib value"}
{include file='header.tpl' attrib_name='attrib value'}
{include file=$includeFile}
{include file=#includeFile# title="Smarty is cool"}
{include file=#includeFile# title='Smarty is cool'}
{html_select_date display_days=yes}
<select name="company">
{html_options options=$choices selected=$selected}
{mailto address='smarty@example.com'}
<select name='company_id'>
{html_options options=$companies selected=$company_id}
</select>
]]>
</programlisting>