cvs: smarty /docs/en/designers/language-basic-syntax language-escaping.xml language-syntax-attributes.xml language-syntax-comments.xml language-syntax-quotes.xml

[email protected] ("Peter 'Mash' Morgan") Sat, 18 Feb 2006 13:43:35 -0000
Newsgroups php.smarty.cvs
Message-ID <cvspete_morgan1140270215@cvsserver>
pete_morgan		Sat Feb 18 13:43:35 2006 UTC

  Modified files:              
    /smarty/docs/en/designers/language-basic-syntax	
                                                   	language-escaping.xml 
                                                   	language-syntax-attributes.xml 
                                                   	language-syntax-comments.xml 
                                                   	language-syntax-quotes.xml 
  Log:
  more tweaks
  
http://cvs.php.net/viewcvs.cgi/smarty/docs/en/designers/language-basic-syntax/language-escaping.xml?r1=1.6&r2=1.7&diff_format=u
Index: smarty/docs/en/designers/language-basic-syntax/language-escaping.xml
diff -u smarty/docs/en/designers/language-basic-syntax/language-escaping.xml:1.6 smarty/docs/en/designers/language-basic-syntax/language-escaping.xml:1.7
--- smarty/docs/en/designers/language-basic-syntax/language-escaping.xml:1.6	Thu Jun 16 17:14:40 2005
+++ smarty/docs/en/designers/language-basic-syntax/language-escaping.xml	Sat Feb 18 13:43:35 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <sect1 id="language.escaping">
  <title>Escaping Smarty Parsing</title>
  <para>
@@ -40,6 +40,7 @@
 $smarty->left_delimiter = '<!--{';
 $smarty->right_delimiter = '}-->';
 $smarty->assign('foo', 'bar');
+$smarty->assign('name', 'Albert');
 $smarty->display('example.tpl');
 
 ?>
@@ -50,6 +51,7 @@
   </para>
   <programlisting>
 <![CDATA[
+Welcome <!--{$name}--> to Smarty
 <script language="javascript">
   var foo = <!--{$foo}-->;
   function dosomething() {
http://cvs.php.net/viewcvs.cgi/smarty/docs/en/designers/language-basic-syntax/language-syntax-attributes.xml?r1=1.4&r2=1.5&diff_format=u
Index: smarty/docs/en/designers/language-basic-syntax/language-syntax-attributes.xml
diff -u smarty/docs/en/designers/language-basic-syntax/language-syntax-attributes.xml:1.4 smarty/docs/en/designers/language-basic-syntax/language-syntax-attributes.xml:1.5
--- smarty/docs/en/designers/language-basic-syntax/language-syntax-attributes.xml:1.4	Mon Oct 24 18:37:46 2005
+++ smarty/docs/en/designers/language-basic-syntax/language-syntax-attributes.xml	Sat Feb 18 13:43:35 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <sect1 id="language.syntax.attributes">
  <title>Attributes</title>
  <para>
@@ -11,8 +11,9 @@
   should not be in quotes.
  </para>
  <para>
-  Some attributes require boolean values (true or false). These can be
-  specified as either unquoted <literal>true</literal>,
+  Some attributes require boolean values (true or false). These 
+  <link linkend="variable.config.booleanize">can be specified</link>
+  as either unquoted <literal>true</literal>,
   <literal>on</literal>, and <literal>yes</literal>, or
   <literal>false</literal>, <literal>off</literal>, and
   <literal>no</literal>.
http://cvs.php.net/viewcvs.cgi/smarty/docs/en/designers/language-basic-syntax/language-syntax-comments.xml?r1=1.4&r2=1.5&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.4 smarty/docs/en/designers/language-basic-syntax/language-syntax-comments.xml:1.5
--- smarty/docs/en/designers/language-basic-syntax/language-syntax-comments.xml:1.4	Tue Sep 13 19:29:37 2005
+++ smarty/docs/en/designers/language-basic-syntax/language-syntax-comments.xml	Sat Feb 18 13:43:35 2006
@@ -1,15 +1,15 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <sect1 id="language.syntax.comments">
  <title>Comments</title>
  <para>
   Template comments are surrounded by asterisks, and that is surrounded
   by the
   <link linkend="variable.left.delimiter"> delimiter</link>
-  tags like so: {* this is a comment *}
+  tags like so: <emphasis>{* this is a comment *}</emphasis>
   Smarty comments are NOT displayed in the final output of the template,
   unlike &lt;!-- HTML comments --&gt;
-  They are useful for making internal notes in the templates.
+  and are useful for making internal notes in the templates.
  </para>
  <example>
   <title>Comments</title>
@@ -24,7 +24,7 @@
 *}
 
 {* include the header file here *}
-{include file="header.tpl"}
+{include file='header.tpl'}
 
 
 {* Dev note:  $includeFile is assigned in foo.php script  *}
@@ -39,6 +39,7 @@
   {html_options options=$vals selected=$selected_id}
 </select>
 *}
+
 </body>
 ]]>
   </programlisting>
http://cvs.php.net/viewcvs.cgi/smarty/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml?r1=1.7&r2=1.8&diff_format=u
Index: smarty/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml
diff -u smarty/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml:1.7 smarty/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml:1.8
--- smarty/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml:1.7	Mon Jan 23 16:58:52 2006
+++ smarty/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml	Sat Feb 18 13:43:35 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <sect1 id="language.syntax.quotes">
  <title>Embedding Vars in Double Quotes</title>
  <para>
@@ -8,7 +8,8 @@
   <link   linkend="language.syntax.variables">variables</link>
   embedded in double quotes so long as the variable name contains only numbers,
   letters, underscores and brackets []. With any other characters (period,
-  object reference, etc.) the variable must be surrounded by backticks. You
+  object reference, etc.) the variable must be surrounded by 
+  <link linkend="language.syntax.quotes">backticks</link>. You
   cannot embed
   <link linkend="language.modifiers">modifiers</link>,
   they must always be applied outside of quotes.