cvs: smarty /docs/en/designers/language-builtin-functions language-function-capture.xml language-function-php.xml language-function-section.xml
[email protected] ("Peter 'Mash' Morgan") Mon, 09 Oct 2006 22:35:54 -0000
| Newsgroups | php.smarty.cvs |
|---|---|
| Message-ID | <cvspete_morgan1160433354@cvsserver> |
pete_morgan Mon Oct 9 22:35:54 2006 UTC
Modified files:
/smarty/docs/en/designers/language-builtin-functions
language-function-capture.xml
language-function-php.xml
language-function-section.xml
Log:
minor formatting and changes
http://cvs.php.net/viewvc.cgi/smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml?r1=1.14&r2=1.15&diff_format=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.14 smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml:1.15
--- smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml:1.14 Mon Sep 25 21:47:31 2006
+++ smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml Mon Oct 9 22:35:54 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
<sect1 id="language.function.capture">
<title>{capture}</title>
@@ -56,7 +56,8 @@
</informaltable>
- <caution>
+ <note>
+ <title>Caution</title>
<para>
Be careful when capturing <link
linkend="language.function.insert"><varname>{insert}</varname></link>
@@ -67,10 +68,11 @@
commands that you expect to run
within cached content, do not capture this content.
</para>
- </caution>
+ </note>
+
<para>
<example>
- <title>{capture} with a the name attribute</title>
+ <title>{capture} with the name attribute</title>
<programlisting>
<![CDATA[
{* we don't want to print a div tag unless content is displayed *}
http://cvs.php.net/viewvc.cgi/smarty/docs/en/designers/language-builtin-functions/language-function-php.xml?r1=1.12&r2=1.13&diff_format=u
Index: smarty/docs/en/designers/language-builtin-functions/language-function-php.xml
diff -u smarty/docs/en/designers/language-builtin-functions/language-function-php.xml:1.12 smarty/docs/en/designers/language-builtin-functions/language-function-php.xml:1.13
--- smarty/docs/en/designers/language-builtin-functions/language-function-php.xml:1.12 Mon Sep 25 21:47:31 2006
+++ smarty/docs/en/designers/language-builtin-functions/language-function-php.xml Mon Oct 9 22:35:54 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<sect1 id="language.function.php">
<title>{php}</title>
<para>
@@ -12,13 +12,13 @@
<title>Technical Note</title>
<para>
To access PHP variables in <varname>{php}</varname> blocks you will need to use the PHP
- <ulink url="&url.php-manual;global">global</ulink>
+ <ulink url="&url.php-manual;global"><literal>global</literal></ulink>
keyword.
</para>
</note>
<example>
- <title>Example php in {php} tags</title>
+ <title>php code within {php} tags</title>
<programlisting>
<![CDATA[
{php}
@@ -78,4 +78,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/viewvc.cgi/smarty/docs/en/designers/language-builtin-functions/language-function-section.xml?r1=1.18&r2=1.19&diff_format=u
Index: smarty/docs/en/designers/language-builtin-functions/language-function-section.xml
diff -u smarty/docs/en/designers/language-builtin-functions/language-function-section.xml:1.18 smarty/docs/en/designers/language-builtin-functions/language-function-section.xml:1.19
--- smarty/docs/en/designers/language-builtin-functions/language-function-section.xml:1.18 Wed Sep 27 09:15:04 2006
+++ smarty/docs/en/designers/language-builtin-functions/language-function-section.xml Mon Oct 9 22:35:54 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.18 $ -->
+<!-- $Revision: 1.19 $ -->
<sect1 id="language.function.section">
<title>{section},{sectionelse}</title>
<para>
@@ -97,7 +97,7 @@
</para></listitem>
<listitem><para>
- Sections can be nested, and the nested
+ {section}'s can be nested, and the nested
<varname>{section}</varname> names must be unique from each other.
</para></listitem>
@@ -352,9 +352,9 @@
<example>
<title>Nested {section}'s</title>
<para>
- Sections can be nested as deep as you like. With nested sections,
+ {section}'s can be nested as deep as you like. With nested {section}'s,
you can access complex data structures, such as multi-dimensional
- arrays. This is a php script thats assign's the arrays.
+ arrays. This is an example <filename>.php</filename> script thats assign's the arrays.
</para>
<programlisting role="php">
<![CDATA[