mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 03:14:27 +02:00
tweak
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
</example>
|
||||
|
||||
<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>
|
||||
</sect1>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
@@ -16,6 +16,8 @@
|
||||
<programlisting>
|
||||
<![CDATA[
|
||||
<body>
|
||||
{* a single line comment *}
|
||||
|
||||
{* this multiline
|
||||
comment is
|
||||
not sent to browser
|
||||
@@ -25,16 +27,18 @@
|
||||
{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 -->
|
||||
{include file=$includeFile}
|
||||
|
||||
{include file=#includeFile#}
|
||||
|
||||
{* display dropdown lists *}
|
||||
{* this <select> block is redundant *}
|
||||
{*
|
||||
<select name="company">
|
||||
{html_options options=$vals selected=$selected_id}
|
||||
</select>
|
||||
*}
|
||||
</body>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
Reference in New Issue
Block a user