cvs: smarty /docs/en/designers/language-basic-syntax language-syntax-comments.xml
[email protected] ("Peter 'Mash' Morgan") Wed, 15 Mar 2006 00:41:59 -0000
| Newsgroups | php.smarty.cvs |
|---|---|
| Message-ID | <cvspete_morgan1142383319@cvsserver> |
pete_morgan Wed Mar 15 00:41:59 2006 UTC
Modified files:
/smarty/docs/en/designers/language-basic-syntax
language-syntax-comments.xml
Log:
more examples
http://cvs.php.net/viewcvs.cgi/smarty/docs/en/designers/language-basic-syntax/language-syntax-comments.xml?r1=1.7&r2=1.8&diff_format=u
Index: smarty/docs/en/designers/language-basic-syntax/language-syntax-comments.xml
diff -u smarty/docs/en/designers/language-basic-syntax/language-syntax-comments.xml:1.7 smarty/docs/en/designers/language-basic-syntax/language-syntax-comments.xml:1.8
--- smarty/docs/en/designers/language-basic-syntax/language-syntax-comments.xml:1.7 Tue Mar 7 18:36:04 2006
+++ smarty/docs/en/designers/language-basic-syntax/language-syntax-comments.xml Wed Mar 15 00:41:59 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<sect1 id="language.syntax.comments">
<title>Comments</title>
<para>
@@ -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: [email protected]
+ @ maintainer: [email protected]
+ @ 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: language-syntax-comments.xml,v 1.8 2006/03/15 00:41:59 pete_morgan Exp $ *}
+
</body>
]]>
</programlisting>