cvs: smarty /docs/en/designers/language-builtin-functions language-function-ldelim.xml language-function-literal.xml

"Nuno Lopes" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsnlopess1092227794@cvsserver>
nlopess		Wed Aug 11 08:36:34 2004 EDT

  Modified files:              
    /smarty/docs/en/designers/language-builtin-functions	
                                                        	language-function-ldelim.xml 
                                                        	language-function-literal.xml 
  Log:
  some WS and fix build
  #dont forget we have a 'make test' :)
  
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-builtin-functions/language-function-ldelim.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/designers/language-builtin-functions/language-function-ldelim.xml
diff -u smarty/docs/en/designers/language-builtin-functions/language-function-ldelim.xml:1.2 smarty/docs/en/designers/language-builtin-functions/language-function-ldelim.xml:1.3
--- smarty/docs/en/designers/language-builtin-functions/language-function-ldelim.xml:1.2	Tue Aug  3 11:45:14 2004
+++ smarty/docs/en/designers/language-builtin-functions/language-function-ldelim.xml	Wed Aug 11 08:36:34 2004
@@ -1,26 +1,33 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-		<sect1 id="language.function.ldelim">
-			<title>ldelim,rdelim</title>
-			<para>
-            ldelim and rdelim are used for escaping template delimiters, in our
-            case "{" or "}". You can also use
-            <linkend="language.function.literal">{literal}{/literal}</link> to
-            escape blocks of text.
-			</para>
-<example>
-<title>ldelim, rdelim</title>
-<programlisting>
+<!-- $Revision: 1.3 $ -->
+ <sect1 id="language.function.ldelim">
+  <title>ldelim,rdelim</title>
+  <para>
+   ldelim and rdelim are used for escaping template delimiters, in our case
+   "{" or "}". You can also use <link
+    linkend="language.function.literal">{literal}{/literal}</link> to escape
+   blocks of text.
+  </para>
+  <example>
+   <title>ldelim, rdelim</title>
+   <programlisting>
+<![CDATA[
 {* this will print literal delimiters out of the template *}
 
 {ldelim}funcname{rdelim} is how functions look in Smarty!
+]]>
+   </programlisting>
+   <para>
+    The above example will output:
+   </para>
+   <screen>
+<![CDATA[
+{funcname} is how functions look in Smarty!
+]]>
+   </screen>
+  </example>
+ </sect1>
 
-
-OUTPUT:
-
-{funcname} is how functions look in Smarty!</programlisting>
-</example>
-</sect1>
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-builtin-functions/language-function-literal.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/designers/language-builtin-functions/language-function-literal.xml
diff -u smarty/docs/en/designers/language-builtin-functions/language-function-literal.xml:1.2 smarty/docs/en/designers/language-builtin-functions/language-function-literal.xml:1.3
--- smarty/docs/en/designers/language-builtin-functions/language-function-literal.xml:1.2	Tue Aug  3 11:34:00 2004
+++ smarty/docs/en/designers/language-builtin-functions/language-function-literal.xml	Wed Aug 11 08:36:34 2004
@@ -1,24 +1,24 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-		<sect1 id="language.function.literal">
-			<title>literal</title>
-			<para>
-            Literal tags allow a block of data to be taken literally. This is
-            typically used around javascript or stylesheet blocks where curly
-            braces would interfere with the template delimiter syntax. Anything
-            within {literal}{/literal} tags is not interpreted, but displayed
-            as-is. If you need template tags embedded in your literal block,
-            consider using
-            <linkend="language.function.ldelim">{ldelim}{rdelim}</link> to
-            escape the individual delimiters instead.
-			</para>
-<example>
-<title>literal tags</title>
-<programlisting>
+<!-- $Revision: 1.3 $ -->
+ <sect1 id="language.function.literal">
+  <title>literal</title>
+  <para>
+   Literal tags allow a block of data to be taken literally. This is typically
+   used around javascript or stylesheet blocks where curly braces would
+   interfere with the template delimiter syntax. Anything within
+   {literal}{/literal} tags is not interpreted, but displayed as-is. If you
+   need template tags embedded in your literal block, consider using <link
+    linkend="language.function.ldelim">{ldelim}{rdelim}</link> to escape the
+   individual delimiters instead.
+  </para>
+  <example>
+   <title>literal tags</title>
+   <programlisting>
+<![CDATA[
 {literal}
-	&lt;script type="text/javascript"&gt;
+	<script type="text/javascript">
 
-        	&lt;!--
+        	<!--
                 	function isblank(field) {
                 	if (field.value == '')
                         	{ return false; }
@@ -28,12 +28,15 @@
                         	return true;
                         	}
                 	}
-        	// --&gt;
+        	// -->
+
+	</script>
+{/literal}
+]]>
+   </programlisting>
+  </example>
+ </sect1>
 
-	&lt;/script&gt;
-{/literal}</programlisting>
-</example>
-</sect1>
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.