cvs: smarty /docs/en/designers chapter-debugging-console.xml config-files.xml language-combining-modifiers.xml /docs/en/designers/language-builtin-functions language-function-capture.xml language-function-config-load.xml language-function-strip.xml /docs/en/programmers/api-variables variable-autoload-filters.xml variable-cache-dir.xml variable-cache-handler-func.xml variable-cache-lifetime.xml variable-cache-modified-check.xml /docs/en/programmers/plugins plugins-block-functions.xml plugins-compiler-functions.xml plugins-functions.xml plugins-howto.xml plugins-inserts.xml plugins-modifiers.xml plugins-naming-conventions.xml plugins-outputfilters.xml plugins-prefilters-postfilters.xml plugins-resources.xml plugins-writing.xml
"Nuno Lopes" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsnlopess1081958019@cvsserver> |
nlopess Wed Apr 14 11:53:39 2004 EDT
Modified files:
/smarty/docs/en/designers chapter-debugging-console.xml
config-files.xml
language-combining-modifiers.xml
/smarty/docs/en/designers/language-builtin-functions
language-function-capture.xml
language-function-config-load.xml
language-function-strip.xml
/smarty/docs/en/programmers/api-variables
variable-autoload-filters.xml
variable-cache-dir.xml
variable-cache-handler-func.xml
variable-cache-lifetime.xml
variable-cache-modified-check.xml
/smarty/docs/en/programmers/plugins plugins-block-functions.xml
plugins-compiler-functions.xml
plugins-functions.xml
plugins-howto.xml
plugins-inserts.xml
plugins-modifiers.xml
plugins-naming-conventions.xml
plugins-outputfilters.xml
plugins-prefilters-postfilters.xml
plugins-resources.xml
plugins-writing.xml
Log:
some WS and program roles
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nlopess-20040414115339.txt
(text/plain, 31.1 KB)
http://cvs.php.net/diff.php/smarty/docs/en/designers/chapter-debugging-console.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/designers/chapter-debugging-console.xml
diff -u smarty/docs/en/designers/chapter-debugging-console.xml:1.1 smarty/docs/en/designers/chapter-debugging-console.xml:1.2
--- smarty/docs/en/designers/chapter-debugging-console.xml:1.1 Sun Mar 28 10:15:37 2004
+++ smarty/docs/en/designers/chapter-debugging-console.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<chapter id="chapter.debugging.console">
<title>Debugging Console</title>
<para>
@@ -36,6 +36,7 @@
</para>
</note>
</chapter>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -55,4 +56,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/config-files.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/designers/config-files.xml
diff -u smarty/docs/en/designers/config-files.xml:1.1 smarty/docs/en/designers/config-files.xml:1.2
--- smarty/docs/en/designers/config-files.xml:1.1 Sun Mar 28 10:15:37 2004
+++ smarty/docs/en/designers/config-files.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<chapter id="config.files">
<title>Config Files</title>
<para>
@@ -34,7 +34,8 @@
host=my.domain.com
db=ADDRESSBOOK
user=php-user
-pass=foobar</programlisting>
+pass=foobar
+ </programlisting>
</example>
<para>
Values of config file variables can be in quotes, but not necessary.
@@ -67,7 +68,8 @@
editing, you can be certain that they cannot read sensitive data from
the config file by loading it into the template.
</para>
-</chapter>
+ </chapter>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -87,4 +89,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-combining-modifiers.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/designers/language-combining-modifiers.xml
diff -u smarty/docs/en/designers/language-combining-modifiers.xml:1.2 smarty/docs/en/designers/language-combining-modifiers.xml:1.3
--- smarty/docs/en/designers/language-combining-modifiers.xml:1.2 Tue Apr 13 04:39:10 2004
+++ smarty/docs/en/designers/language-combining-modifiers.xml Wed Apr 14 11:53:39 2004
@@ -1,20 +1,22 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
- <chapter id="language.combining.modifiers">
- <title>Combining Modifiers</title>
- <para>
- You can apply any number of modifiers to a variable. They will be
- applied in the order they are combined, from left to right. They must
- be separated with a <literal>|</literal> (pipe) character.
- </para>
- <example>
- <title>combining modifiers</title>
- <programlisting>
+<!-- $Revision: 1.3 $ -->
+ <chapter id="language.combining.modifiers">
+ <title>Combining Modifiers</title>
+ <para>
+ You can apply any number of modifiers to a variable. They will be
+ applied in the order they are combined, from left to right. They must
+ be separated with a <literal>|</literal> (pipe) character.
+ </para>
+ <example>
+ <title>combining modifiers</title>
+ <programlisting role="php">
+<![CDATA[
index.php:
-
+<?php
$smarty = new Smarty;
-$smarty->assign('articleTitle', 'Smokers are Productive, but Death Cuts Efficiency.');
-$smarty->display('index.tpl');
+$smarty->assign('articleTitle', 'Smokers are Productive, but Death Cuts Efficiency.');
+$smarty->display('index.tpl');
+?>
index.tpl:
@@ -23,17 +25,23 @@
{$articleTitle|lower|spacify|truncate}
{$articleTitle|lower|truncate:30|spacify}
{$articleTitle|lower|spacify|truncate:30:". . ."}
-
-
-OUTPUT:
-
+]]>
+ </programlisting>
+ <para>
+ The above example will output:
+ </para>
+ <screen>
+<![CDATA[
Smokers are Productive, but Death Cuts Efficiency.
S M O K E R S A R E P R O D U C T I V E , B U T D E A T H C U T S E F F I C I E N C Y .
s m o k e r s a r e p r o d u c t i v e , b u t d e a t h c u t s...
s m o k e r s a r e p r o d u c t i v e , b u t . . .
-s m o k e r s a r e p. . .</programlisting>
- </example>
-</chapter>
+s m o k e r s a r e p. . .
+]]>
+ </screen>
+ </example>
+ </chapter>
+
<!-- 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-capture.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml
diff -u smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml:1.1 smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml:1.2
--- smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml:1.1 Tue Apr 13 04:40:21 2004
+++ smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="language.function.capture">
<title>capture</title>
<informaltable frame="all">
@@ -66,17 +66,20 @@
<example>
<title>capturing template content</title>
<programlisting>
+<![CDATA[
{* we don't want to print a table row unless content is displayed *}
{capture name=banner}
{include file="get_banner.tpl"}
{/capture}
{if $smarty.capture.banner ne ""}
- <tr>
- <td>
+ <tr>
+ <td>
{$smarty.capture.banner}
- </td>
- </tr>
-{/if}</programlisting>
+ </td>
+ </tr>
+{/if}
+]]>
+</programlisting>
</example>
</para>
</sect1>
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-builtin-functions/language-function-config-load.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/designers/language-builtin-functions/language-function-config-load.xml
diff -u smarty/docs/en/designers/language-builtin-functions/language-function-config-load.xml:1.1 smarty/docs/en/designers/language-builtin-functions/language-function-config-load.xml:1.2
--- smarty/docs/en/designers/language-builtin-functions/language-function-config-load.xml:1.1 Tue Apr 13 04:40:21 2004
+++ smarty/docs/en/designers/language-builtin-functions/language-function-config-load.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="language.function.config.load">
<title>config_load</title>
<informaltable frame="all">
@@ -73,20 +73,23 @@
<title>function config_load</title>
<programlisting>
+<![CDATA[
{config_load file="colors.conf"}
-<html>
-<title>{#pageTitle#}</title>
-<body bgcolor="{#bodyBgColor#}">
-<table border="{#tableBorderSize#}" bgcolor="{#tableBgColor#}">
- <tr bgcolor="{#rowBgColor#}">
- <td>First</td>
- <td>Last</td>
- <td>Address</td>
- </tr>
-</table>
-</body>
-</html></programlisting>
+<html>
+<title>{#pageTitle#}</title>
+<body bgcolor="{#bodyBgColor#}">
+<table border="{#tableBorderSize#}" bgcolor="{#tableBgColor#}">
+ <tr bgcolor="{#rowBgColor#}">
+ <td>First</td>
+ <td>Last</td>
+ <td>Address</td>
+ </tr>
+</table>
+</body>
+</html>
+]]>
+</programlisting>
</example>
<para>
Config files may also contain sections. You can load variables from
@@ -102,22 +105,26 @@
<example>
<title>function config_load with section</title>
<programlisting>
+<![CDATA[
{config_load file="colors.conf" section="Customer"}
-<html>
-<title>{#pageTitle#}</title>
-<body bgcolor="{#bodyBgColor#}">
-<table border="{#tableBorderSize#}" bgcolor="{#tableBgColor#}">
- <tr bgcolor="{#rowBgColor#}">
- <td>First</td>
- <td>Last</td>
- <td>Address</td>
- </tr>
-</table>
-</body>
-</html></programlisting>
+<html>
+<title>{#pageTitle#}</title>
+<body bgcolor="{#bodyBgColor#}">
+<table border="{#tableBorderSize#}" bgcolor="{#tableBgColor#}">
+ <tr bgcolor="{#rowBgColor#}">
+ <td>First</td>
+ <td>Last</td>
+ <td>Address</td>
+ </tr>
+</table>
+</body>
+</html>
+]]>
+</programlisting>
</example>
</sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -137,4 +144,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-builtin-functions/language-function-strip.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/designers/language-builtin-functions/language-function-strip.xml
diff -u smarty/docs/en/designers/language-builtin-functions/language-function-strip.xml:1.1 smarty/docs/en/designers/language-builtin-functions/language-function-strip.xml:1.2
--- smarty/docs/en/designers/language-builtin-functions/language-function-strip.xml:1.1 Tue Apr 13 04:40:21 2004
+++ smarty/docs/en/designers/language-builtin-functions/language-function-strip.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="language.function.strip">
<title>strip</title>
<para>
@@ -27,23 +27,26 @@
<example>
<title>strip tags</title>
<programlisting>
+<![CDATA[
{* the following will be all run into one line upon output *}
{strip}
-<table border=0>
- <tr>
- <td>
- <A HREF="{$url}">
- <font color="red">This is a test</font>
- </A>
- </td>
- </tr>
-</table>
+<table border=0>
+ <tr>
+ <td>
+ <A HREF="{$url}">
+ <font color="red">This is a test</font>
+ </A>
+ </td>
+ </tr>
+</table>
{/strip}
OUTPUT:
-<table border=0><tr><td><A HREF="http://my.domain.com"><font color="red">This is a test</font></A></td></tr></table></programlisting>
+<table border=0><tr><td><A HREF="http://my.domain.com"><font color="red">This is a test</font></A></td></tr></table>
+]]>
+</programlisting>
</example>
<para>
Notice that in the above example, all the lines begin and end
@@ -52,6 +55,7 @@
they will be run together, and may not be desired results.
</para>
</sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -71,4 +75,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/api-variables/variable-autoload-filters.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/api-variables/variable-autoload-filters.xml
diff -u smarty/docs/en/programmers/api-variables/variable-autoload-filters.xml:1.1 smarty/docs/en/programmers/api-variables/variable-autoload-filters.xml:1.2
--- smarty/docs/en/programmers/api-variables/variable-autoload-filters.xml:1.1 Tue Apr 13 07:39:13 2004
+++ smarty/docs/en/programmers/api-variables/variable-autoload-filters.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="variable.autoload.filters">
<title>$autoload_filters</title>
<para>
@@ -19,7 +19,8 @@
</programlisting>
</informalexample>
</para>
-</sect1>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -39,4 +40,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/api-variables/variable-cache-dir.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/api-variables/variable-cache-dir.xml
diff -u smarty/docs/en/programmers/api-variables/variable-cache-dir.xml:1.1 smarty/docs/en/programmers/api-variables/variable-cache-dir.xml:1.2
--- smarty/docs/en/programmers/api-variables/variable-cache-dir.xml:1.1 Tue Apr 13 07:39:14 2004
+++ smarty/docs/en/programmers/api-variables/variable-cache-dir.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="variable.cache.dir">
<title>$cache_dir</title>
<para>
@@ -10,21 +10,22 @@
function to control cache files, which will ignore this
setting.
</para>
- <note>
- <title>Technical Note</title>
- <para>
- This setting must be either a relative or
- absolute path. include_path is not used for writing files.
- </para>
- </note>
- <note>
- <title>Technical Note</title>
- <para>
- It is not recommended to put this directory under
- the web server document root.
- </para>
- </note>
-</sect1>
+ <note>
+ <title>Technical Note</title>
+ <para>
+ This setting must be either a relative or
+ absolute path. include_path is not used for writing files.
+ </para>
+ </note>
+ <note>
+ <title>Technical Note</title>
+ <para>
+ It is not recommended to put this directory under
+ the web server document root.
+ </para>
+ </note>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -44,4 +45,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/api-variables/variable-cache-handler-func.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/api-variables/variable-cache-handler-func.xml
diff -u smarty/docs/en/programmers/api-variables/variable-cache-handler-func.xml:1.1 smarty/docs/en/programmers/api-variables/variable-cache-handler-func.xml:1.2
--- smarty/docs/en/programmers/api-variables/variable-cache-handler-func.xml:1.1 Tue Apr 13 07:39:14 2004
+++ smarty/docs/en/programmers/api-variables/variable-cache-handler-func.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="variable.cache.handler.func">
<title>$cache_handler_func</title>
<para>
@@ -8,7 +8,8 @@
custom <link linkend="section.template.cache.handler.func">cache
handler function section</link> for details.
</para>
-</sect1>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -28,4 +29,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/api-variables/variable-cache-lifetime.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/api-variables/variable-cache-lifetime.xml
diff -u smarty/docs/en/programmers/api-variables/variable-cache-lifetime.xml:1.1 smarty/docs/en/programmers/api-variables/variable-cache-lifetime.xml:1.2
--- smarty/docs/en/programmers/api-variables/variable-cache-lifetime.xml:1.1 Tue Apr 13 07:39:14 2004
+++ smarty/docs/en/programmers/api-variables/variable-cache-lifetime.xml Wed Apr 14 11:53:39 2004
@@ -1,34 +1,35 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.cache.lifetime">
- <title>$cache_lifetime</title>
- <para>
- This is the length of time in seconds that a template cache is valid.
- Once this time has expired, the cache will be regenerated. $caching must
- be set to "true" for $cache_lifetime to have any purpose. A value of -1
- will force the cache to never expire. A value of 0 will cause the cache
- to always regenerate (good for testing only, to disable caching a more
- efficient method is to set <link
- linkend="variable.caching">$caching</link> = false.)
- </para>
- <para>
- If <link linkend="variable.force.compile">$force_compile</link> is
- enabled, the cache files will be regenerated every time, effectively
- disabling caching. You can clear all the cache files with the <link
- linkend="api.clear.all.cache">clear_all_cache()</link> function, or
- individual cache files (or groups) with the <link
- linkend="api.clear.cache">clear_cache()</link> function.
- </para>
- <note>
- <title>Technical Note</title>
- <para>
- If you want to give certain templates their own cache lifetime, you could
- do this by setting <link linkend="variable.caching">$caching</link> = 2,
- then set $cache_lifetime to a unique value just before calling display()
- or fetch().
- </para>
- </note>
-</sect1>
+<!-- $Revision: 1.2 $ -->
+ <sect1 id="variable.cache.lifetime">
+ <title>$cache_lifetime</title>
+ <para>
+ This is the length of time in seconds that a template cache is valid.
+ Once this time has expired, the cache will be regenerated. $caching must
+ be set to "true" for $cache_lifetime to have any purpose. A value of -1
+ will force the cache to never expire. A value of 0 will cause the cache
+ to always regenerate (good for testing only, to disable caching a more
+ efficient method is to set <link
+ linkend="variable.caching">$caching</link> = false.)
+ </para>
+ <para>
+ If <link linkend="variable.force.compile">$force_compile</link> is
+ enabled, the cache files will be regenerated every time, effectively
+ disabling caching. You can clear all the cache files with the <link
+ linkend="api.clear.all.cache">clear_all_cache()</link> function, or
+ individual cache files (or groups) with the <link
+ linkend="api.clear.cache">clear_cache()</link> function.
+ </para>
+ <note>
+ <title>Technical Note</title>
+ <para>
+ If you want to give certain templates their own cache lifetime, you could
+ do this by setting <link linkend="variable.caching">$caching</link> = 2,
+ then set $cache_lifetime to a unique value just before calling display()
+ or fetch().
+ </para>
+ </note>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -48,4 +49,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/api-variables/variable-cache-modified-check.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/api-variables/variable-cache-modified-check.xml
diff -u smarty/docs/en/programmers/api-variables/variable-cache-modified-check.xml:1.1 smarty/docs/en/programmers/api-variables/variable-cache-modified-check.xml:1.2
--- smarty/docs/en/programmers/api-variables/variable-cache-modified-check.xml:1.1 Tue Apr 13 07:39:14 2004
+++ smarty/docs/en/programmers/api-variables/variable-cache-modified-check.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="variable.cache.modified.check">
<title>$cache_modified_check</title>
<para>
@@ -9,7 +9,8 @@
header will be sent instead of the content. This works only on
cached content without <command>insert</command> tags.
</para>
-</sect1>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -29,4 +30,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/plugins/plugins-block-functions.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/plugins/plugins-block-functions.xml
diff -u smarty/docs/en/programmers/plugins/plugins-block-functions.xml:1.1 smarty/docs/en/programmers/plugins/plugins-block-functions.xml:1.2
--- smarty/docs/en/programmers/plugins/plugins-block-functions.xml:1.1 Tue Apr 13 07:39:17 2004
+++ smarty/docs/en/programmers/plugins/plugins-block-functions.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="plugins.block.functions"><title>Block Functions</title>
<funcsynopsis>
<funcprototype>
@@ -90,9 +90,10 @@
}
?>
]]>
-</programlisting>
+ </programlisting>
</example>
-</sect1>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -112,4 +113,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/plugins/plugins-compiler-functions.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/plugins/plugins-compiler-functions.xml
diff -u smarty/docs/en/programmers/plugins/plugins-compiler-functions.xml:1.1 smarty/docs/en/programmers/plugins/plugins-compiler-functions.xml:1.2
--- smarty/docs/en/programmers/plugins/plugins-compiler-functions.xml:1.1 Tue Apr 13 07:39:17 2004
+++ smarty/docs/en/programmers/plugins/plugins-compiler-functions.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="plugins.compiler.functions"><title>Compiler Functions</title>
<para>
Compiler functions are called only during compilation of the template.
@@ -64,9 +64,10 @@
echo 'index.tpl compiled at 2002-02-20 20:02';
?>
]]>
-</programlisting>
+ </programlisting>
</example>
-</sect1>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -86,4 +87,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/plugins/plugins-functions.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/plugins/plugins-functions.xml
diff -u smarty/docs/en/programmers/plugins/plugins-functions.xml:1.1 smarty/docs/en/programmers/plugins/plugins-functions.xml:1.2
--- smarty/docs/en/programmers/plugins/plugins-functions.xml:1.1 Tue Apr 13 07:39:17 2004
+++ smarty/docs/en/programmers/plugins/plugins-functions.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="plugins.functions"><title>Template Functions</title>
<funcsynopsis>
<funcprototype>
@@ -99,10 +99,11 @@
}
?>
]]>
-</programlisting>
+ </programlisting>
</example>
</para>
-</sect1>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -122,4 +123,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/plugins/plugins-howto.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/plugins/plugins-howto.xml
diff -u smarty/docs/en/programmers/plugins/plugins-howto.xml:1.1 smarty/docs/en/programmers/plugins/plugins-howto.xml:1.2
--- smarty/docs/en/programmers/plugins/plugins-howto.xml:1.1 Tue Apr 13 07:39:17 2004
+++ smarty/docs/en/programmers/plugins/plugins-howto.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="plugins.howto">
<title>How Plugins Work</title>
<para>
@@ -22,6 +22,7 @@
directories and Smarty will use it automatically.
</para>
</sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -41,4 +42,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/plugins/plugins-inserts.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/plugins/plugins-inserts.xml
diff -u smarty/docs/en/programmers/plugins/plugins-inserts.xml:1.1 smarty/docs/en/programmers/plugins/plugins-inserts.xml:1.2
--- smarty/docs/en/programmers/plugins/plugins-inserts.xml:1.1 Tue Apr 13 07:39:17 2004
+++ smarty/docs/en/programmers/plugins/plugins-inserts.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="plugins.inserts"><title>Inserts</title>
<para>
Insert plugins are used to implement functions that are invoked by
@@ -48,9 +48,10 @@
}
?>
]]>
-</programlisting>
+ </programlisting>
</example>
-</sect1>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -70,4 +71,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/plugins/plugins-modifiers.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/plugins/plugins-modifiers.xml
diff -u smarty/docs/en/programmers/plugins/plugins-modifiers.xml:1.1 smarty/docs/en/programmers/plugins/plugins-modifiers.xml:1.2
--- smarty/docs/en/programmers/plugins/plugins-modifiers.xml:1.1 Tue Apr 13 07:39:17 2004
+++ smarty/docs/en/programmers/plugins/plugins-modifiers.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="plugins.modifiers"><title>Modifiers</title>
<para>
Modifiers are little functions that are applied to a variable in the
@@ -89,9 +89,10 @@
}
?>
]]>
-</programlisting>
+ </programlisting>
</example>
-</sect1>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -111,4 +112,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/plugins/plugins-naming-conventions.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/plugins/plugins-naming-conventions.xml
diff -u smarty/docs/en/programmers/plugins/plugins-naming-conventions.xml:1.1 smarty/docs/en/programmers/plugins/plugins-naming-conventions.xml:1.2
--- smarty/docs/en/programmers/plugins/plugins-naming-conventions.xml:1.1 Tue Apr 13 07:39:17 2004
+++ smarty/docs/en/programmers/plugins/plugins-naming-conventions.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="plugins.naming.conventions">
<title>Naming Conventions</title>
<para>
@@ -56,7 +56,8 @@
needs is not found, or if the file or the plugin function are named
improperly.
</para>
-</sect1>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -76,4 +77,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/plugins/plugins-outputfilters.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/plugins/plugins-outputfilters.xml
diff -u smarty/docs/en/programmers/plugins/plugins-outputfilters.xml:1.1 smarty/docs/en/programmers/plugins/plugins-outputfilters.xml:1.2
--- smarty/docs/en/programmers/plugins/plugins-outputfilters.xml:1.1 Tue Apr 13 07:39:17 2004
+++ smarty/docs/en/programmers/plugins/plugins-outputfilters.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="plugins.outputfilters"><title>Output Filters</title>
<para>
Output filter plugins operate on a template's output, after the
@@ -42,7 +42,8 @@
]]>
</programlisting>
</example>
-</sect1>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -62,4 +63,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/plugins/plugins-prefilters-postfilters.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/plugins/plugins-prefilters-postfilters.xml
diff -u smarty/docs/en/programmers/plugins/plugins-prefilters-postfilters.xml:1.1 smarty/docs/en/programmers/plugins/plugins-prefilters-postfilters.xml:1.2
--- smarty/docs/en/programmers/plugins/plugins-prefilters-postfilters.xml:1.1 Tue Apr 13 07:39:17 2004
+++ smarty/docs/en/programmers/plugins/plugins-prefilters-postfilters.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="plugins.prefilters.postfilters">
<title>Prefilters/Postfilters</title>
<para>
@@ -56,7 +56,7 @@
}
?>
]]>
-</programlisting>
+ </programlisting>
</example>
<para></para>
<example>
@@ -80,9 +80,10 @@
}
?>
]]>
-</programlisting>
+ </programlisting>
</example>
-</sect1>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -102,4 +103,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/plugins/plugins-resources.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/plugins/plugins-resources.xml
diff -u smarty/docs/en/programmers/plugins/plugins-resources.xml:1.1 smarty/docs/en/programmers/plugins/plugins-resources.xml:1.2
--- smarty/docs/en/programmers/plugins/plugins-resources.xml:1.1 Tue Apr 13 07:39:17 2004
+++ smarty/docs/en/programmers/plugins/plugins-resources.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="plugins.resources"><title>Resources</title>
<para>
Resource plugins are meant as a generic way of providing template
@@ -134,9 +134,10 @@
}
?>
]]>
-</programlisting>
+ </programlisting>
</example>
-</sect1>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -156,4 +157,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/programmers/plugins/plugins-writing.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/programmers/plugins/plugins-writing.xml
diff -u smarty/docs/en/programmers/plugins/plugins-writing.xml:1.1 smarty/docs/en/programmers/plugins/plugins-writing.xml:1.2
--- smarty/docs/en/programmers/plugins/plugins-writing.xml:1.1 Tue Apr 13 07:39:17 2004
+++ smarty/docs/en/programmers/plugins/plugins-writing.xml Wed Apr 14 11:53:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="plugins.writing">
<title>Writing Plugins</title>
<para>
@@ -31,7 +31,8 @@
<parameter>&$repeat</parameter> after the Smarty object to keep
backwards compatibility to older versions of Smarty).
</para>
-</sect1>
+ </sect1>
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -51,4 +52,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->