cvs: smarty /docs/en/designers/language-basic-syntax language-syntax-functions.xml language-syntax-variables.xml
[email protected] ("Peter 'Mash' Morgan") Tue, 28 Mar 2006 00:12:33 -0000
| Newsgroups | php.smarty.cvs |
|---|---|
| Message-ID | <cvspete_morgan1143504753@cvsserver> |
pete_morgan Tue Mar 28 00:12:33 2006 UTC
Modified files:
/smarty/docs/en/designers/language-basic-syntax
language-syntax-functions.xml
language-syntax-variables.xml
Log:
tweek
http://cvs.php.net/viewcvs.cgi/smarty/docs/en/designers/language-basic-syntax/language-syntax-functions.xml?r1=1.8&r2=1.9&diff_format=u
Index: smarty/docs/en/designers/language-basic-syntax/language-syntax-functions.xml
diff -u smarty/docs/en/designers/language-basic-syntax/language-syntax-functions.xml:1.8 smarty/docs/en/designers/language-basic-syntax/language-syntax-functions.xml:1.9
--- smarty/docs/en/designers/language-basic-syntax/language-syntax-functions.xml:1.8 Mon Mar 27 23:57:45 2006
+++ smarty/docs/en/designers/language-basic-syntax/language-syntax-functions.xml Tue Mar 28 00:12:33 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<sect1 id="language.syntax.functions">
<title>Functions</title>
<para>
@@ -9,7 +9,7 @@
function and its
<link linkend="language.syntax.attributes">attributes</link>
within delimiters like so: {funcname
- attr1='val1' attrto='val2'}.
+ attr1='val1' attr2='val2'}.
</para>
<example>
<title>function syntax</title>
@@ -18,7 +18,7 @@
{config_load file='colors.conf'}
{include file='header.tpl'}
-{insert file='banner_ads.tpl'}
+{insert file='banner_ads.tpl' title='Smarty is cool'}
{if $logged_in}
Welcome, <font color="{#fontColor#}">{$name}!</font>
@@ -26,7 +26,7 @@
hi, {$name}
{/if}
-{include file='footer.tpl'}
+{include file='footer.tpl' ad=$random_id}
]]>
</programlisting>
</example>
http://cvs.php.net/viewcvs.cgi/smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml?r1=1.12&r2=1.13&diff_format=u
Index: smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml
diff -u smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml:1.12 smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml:1.13
--- smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml:1.12 Mon Mar 27 23:57:45 2006
+++ smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml Tue Mar 28 00:12:33 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<sect1 id="language.syntax.variables">
<title>Variables</title>
<para>
@@ -47,7 +47,7 @@
</programlisting>
</example>
- <para>Request variables such as $_GET, $_SESSION etc are available with the <emphasis role="bold">
+ <para>Request variables such as $_GET, $_SESSION etc are available via the <emphasis role="bold">
<link linkend="language.variables.smarty">$smarty</link></emphasis> reserved variable.
</para>