more examples

This commit is contained in:
pete_morgan
2006-03-15 00:41:59 +00:00
parent 4c25a1f879
commit 13a88cab71

View File

@@ -16,21 +16,29 @@
<programlisting>
<![CDATA[
<body>
{* I am a smarty comment, I dont exist in the compiled output *}
{* I am a Smarty comment, I don't exist in the compiled output *}
{* another single smarty line comment *}
<!-- A html comment that is sent to the browser -->
{* another single line smarty comment *}
<!-- HTML comment that is sent to the browser -->
{* this multiline smarty
comment is
not sent to browser
*}
{*********************************************************
Multi line comment block with credits block
@ author: bg@example.com
@ maintainer: support@example.com
@ para: var that sets block style
@ css: the style output
**********************************************************}
{* include the header file *}
{include file='header.tpl'}
{* Dev note: $includeFile is assigned in foo.php script *}
{* Dev note: the $includeFile is assigned in foo.php script *}
<!-- Displays main content block -->
{include file=$includeFile}
@@ -41,6 +49,9 @@
</select>
*}
{* for cvs/svn users - here's the tag for the template *}
{* $Id$ *}
</body>
]]>
</programlisting>