mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
fix descriptions ( thanks Ginger, a Smarty newbie )
This commit is contained in:
@@ -16,22 +16,22 @@
|
|||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
<body>
|
<body>
|
||||||
{* I am a smarty comment ... I dont exist in your html output ;-) *}
|
{* I am a smarty comment, I dont exist in the compiled output *}
|
||||||
|
|
||||||
{* another single smarty line comment, me not even in the compiled template *}
|
{* another single smarty line comment *}
|
||||||
<!-- Yep me the another html comment and me sent to le browser -->
|
<!-- A html comment that is sent to the browser -->
|
||||||
|
|
||||||
{* this multiline smarty
|
{* this multiline smarty
|
||||||
comment is
|
comment is
|
||||||
not sent to browser
|
not sent to browser
|
||||||
*}
|
*}
|
||||||
|
|
||||||
{* include the header file here which is not *}
|
{* include the header file *}
|
||||||
{include file='header.tpl'}
|
{include file='header.tpl'}
|
||||||
|
|
||||||
|
|
||||||
{* Dev note: $includeFile is assigned in foo.php script *}
|
{* Dev note: $includeFile is assigned in foo.php script *}
|
||||||
<!-- this html comment is sent to browser -->
|
<!-- Displays main content block -->
|
||||||
{include file=$includeFile}
|
{include file=$includeFile}
|
||||||
|
|
||||||
{* this <select> block is redundant *}
|
{* this <select> block is redundant *}
|
||||||
|
Reference in New Issue
Block a user