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> <programlisting>
<![CDATA[ <![CDATA[
<body> <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 *} {* another single line smarty comment *}
<!-- A html comment that is sent to the browser --> <!-- 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
*} *}
{*********************************************************
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 the header file *}
{include file='header.tpl'} {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 --> <!-- Displays main content block -->
{include file=$includeFile} {include file=$includeFile}
@@ -41,6 +49,9 @@
</select> </select>
*} *}
{* for cvs/svn users - here's the tag for the template *}
{* $Id$ *}
</body> </body>
]]> ]]>
</programlisting> </programlisting>