mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
tweek
This commit is contained in:
@@ -21,18 +21,20 @@
|
|||||||
<title>function attribute syntax</title>
|
<title>function attribute syntax</title>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![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}
|
||||||
|
|
||||||
{include file=#includeFile# title="Smarty is cool"}
|
{include file=#includeFile# title='Smarty is cool'}
|
||||||
|
|
||||||
{html_select_date display_days=yes}
|
{html_select_date display_days=yes}
|
||||||
|
|
||||||
<select name="company">
|
{mailto address='smarty@example.com'}
|
||||||
{html_options options=$choices selected=$selected}
|
|
||||||
|
<select name='company_id'>
|
||||||
|
{html_options options=$companies selected=$company_id}
|
||||||
</select>
|
</select>
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
Reference in New Issue
Block a user