cvs: smarty /docs/en/programmers/api-functions api-register-block.xml /docs/en/programmers/caching caching-cacheable.xml

"Mehdi Achour" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsdidou1085865759@cvsserver>
didou		Sat May 29 17:22:39 2004 EDT

  Modified files:              
    /smarty/docs/en/programmers/api-functions	api-register-block.xml 
    /smarty/docs/en/programmers/caching	caching-cacheable.xml 
  Log:
  better examples
  
http://cvs.php.net/diff.php/smarty/docs/en/programmers/api-functions/api-register-block.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/programmers/api-functions/api-register-block.xml
diff -u smarty/docs/en/programmers/api-functions/api-register-block.xml:1.2 smarty/docs/en/programmers/api-functions/api-register-block.xml:1.3
--- smarty/docs/en/programmers/api-functions/api-register-block.xml:1.2	Sun Apr 18 15:22:55 2004
+++ smarty/docs/en/programmers/api-functions/api-register-block.xml	Sat May 29 17:22:39 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <refentry id="api.register.block">
  <refnamediv>
   <refname>register_block</refname>
@@ -53,7 +53,13 @@
   }
 }
 ?>
-
+]]>
+   </programlisting>
+   <para>
+    where the template is:
+   </para>
+   <programlisting>
+<![CDATA[
 {* template *}
 {translate lang="br"}
 Hello, world!
http://cvs.php.net/diff.php/smarty/docs/en/programmers/caching/caching-cacheable.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/programmers/caching/caching-cacheable.xml
diff -u smarty/docs/en/programmers/caching/caching-cacheable.xml:1.3 smarty/docs/en/programmers/caching/caching-cacheable.xml:1.4
--- smarty/docs/en/programmers/caching/caching-cacheable.xml:1.3	Tue Apr 13 08:14:17 2004
+++ smarty/docs/en/programmers/caching/caching-cacheable.xml	Sat May 29 17:22:39 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
  <sect1 id="caching.cacheable">
   <title>Controlling Cacheability of Plugins' Output</title>
   <para>
@@ -31,8 +31,6 @@
    <title>Preventing a plugin's output from being cached</title>
    <programlisting role="php">
 <![CDATA[
-index.php:
-
 <?php
 require('Smarty.class.php');
 $smarty = new Smarty;
@@ -55,10 +53,12 @@
 
 $smarty->display('index.tpl');
 ?>
-
-
-index.tpl:
-
+   </programlisting>
+   <para>
+    where index.tpl is:
+   </para>
+   <programlisting>
+<![CDATA[
 Time Remaining: {remain endtime=$obj->endtime}
 ]]>
    </programlisting>
@@ -89,10 +89,13 @@
 
 $smarty->display('index.tpl');
 ?>
-
-
-index.tpl:
-
+]]>
+   </programlisting>
+   <para>
+    where index.tpl is:
+   </para>
+   <programlisting>
+<![CDATA[
 Page created: {"0"|date_format:"%D %H:%M:%S"}
 
 {dynamic}

-- 
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.