mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 20:04:27 +02:00
tweak
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
</example>
|
</example>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
See also <link linkend="language.function.math">{math}</link> function.
|
See also the <link linkend="language.function.math">{math}</link> function for complex equations.
|
||||||
</para>
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
<!-- Keep this comment at the end of the file
|
<!-- Keep this comment at the end of the file
|
||||||
|
@@ -16,6 +16,8 @@
|
|||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
<body>
|
<body>
|
||||||
|
{* a single line comment *}
|
||||||
|
|
||||||
{* this multiline
|
{* this multiline
|
||||||
comment is
|
comment is
|
||||||
not sent to browser
|
not sent to browser
|
||||||
@@ -25,16 +27,18 @@
|
|||||||
{include file="header.tpl"}
|
{include file="header.tpl"}
|
||||||
|
|
||||||
|
|
||||||
{* Dev note: $includeFile is assigned foo.php script *}
|
{* Dev note: $includeFile is assigned in foo.php script *}
|
||||||
<!-- this html comment is sent to browser -->
|
<!-- this html comment is sent to browser -->
|
||||||
{include file=$includeFile}
|
{include file=$includeFile}
|
||||||
|
|
||||||
{include file=#includeFile#}
|
{include file=#includeFile#}
|
||||||
|
|
||||||
{* display dropdown lists *}
|
{* this <select> block is redundant *}
|
||||||
|
{*
|
||||||
<select name="company">
|
<select name="company">
|
||||||
{html_options options=$vals selected=$selected_id}
|
{html_options options=$vals selected=$selected_id}
|
||||||
</select>
|
</select>
|
||||||
|
*}
|
||||||
</body>
|
</body>
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
Reference in New Issue
Block a user