cvs: smarty /docs/en/designers language-custom-functions.xml language-modifiers.xml language-variables.xml
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1080838686@cvsserver> |
messju Thu Apr 1 11:58:06 2004 EDT
Modified files:
/smarty/docs/en/designers language-custom-functions.xml
language-modifiers.xml
language-variables.xml
Log:
fixed some entities inside CDATA
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-custom-functions.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/designers/language-custom-functions.xml
diff -u smarty/docs/en/designers/language-custom-functions.xml:1.2 smarty/docs/en/designers/language-custom-functions.xml:1.3
--- smarty/docs/en/designers/language-custom-functions.xml:1.2 Wed Mar 31 03:44:56 2004
+++ smarty/docs/en/designers/language-custom-functions.xml Thu Apr 1 11:58:05 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<chapter id="language.custom.functions">
<title>Custom Functions</title>
<para>
@@ -1721,9 +1721,9 @@
require('Smarty.class.php');
$smarty = new Smarty;
-$smarty->assign('data',array(1,2,3,4,5,6,7,8,9));
-$smarty->assign('tr',array('bgcolor="#eeeeee"','bgcolor="#dddddd"'));
-$smarty->display('index.tpl');
+$smarty->assign('data',array(1,2,3,4,5,6,7,8,9));
+$smarty->assign('tr',array('bgcolor="#eeeeee"','bgcolor="#dddddd"'));
+$smarty->display('index.tpl');
index.tpl:
@@ -1733,21 +1733,21 @@
OUTPUT:
-<table border="1">
-<tr><td>1</td><td>2</td><td>3</td></tr>
-<tr><td>4</td><td>5</td><td>6</td></tr>
-<tr><td>7</td><td>8</td><td>9</td></tr>
-</table>
-<table border="0">
-<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
-<tr><td>5</td><td>6</td><td>7</td><td>8</td></tr>
-<tr><td>9</td><td> </td><td> </td><td> </td></tr>
-</table>
-<table border="1">
-<tr bgcolor="#eeeeee"><td>1</td><td>2</td><td>3</td><td>4</td></tr>
-<tr bgcolor="#dddddd"><td>5</td><td>6</td><td>7</td><td>8</td></tr>
-<tr bgcolor="#eeeeee"><td>9</td><td> </td><td> </td><td> </td></tr>
-</table>
+<table border="1">
+<tr><td>1</td><td>2</td><td>3</td></tr>
+<tr><td>4</td><td>5</td><td>6</td></tr>
+<tr><td>7</td><td>8</td><td>9</td></tr>
+</table>
+<table border="0">
+<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
+<tr><td>5</td><td>6</td><td>7</td><td>8</td></tr>
+<tr><td>9</td><td> </td><td> </td><td> </td></tr>
+</table>
+<table border="1">
+<tr bgcolor="#eeeeee"><td>1</td><td>2</td><td>3</td><td>4</td></tr>
+<tr bgcolor="#dddddd"><td>5</td><td>6</td><td>7</td><td>8</td></tr>
+<tr bgcolor="#eeeeee"><td>9</td><td> </td><td> </td><td> </td></tr>
+</table>
]]></programlisting>
</example>
</sect1>
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers.xml?r1=1.8&r2=1.9&ty=u
Index: smarty/docs/en/designers/language-modifiers.xml
diff -u smarty/docs/en/designers/language-modifiers.xml:1.8 smarty/docs/en/designers/language-modifiers.xml:1.9
--- smarty/docs/en/designers/language-modifiers.xml:1.8 Wed Mar 31 11:07:52 2004
+++ smarty/docs/en/designers/language-modifiers.xml Thu Apr 1 11:58:05 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<chapter id="language.modifiers">
<title>Variable Modifiers</title>
<para>
@@ -677,12 +677,11 @@
<![CDATA[
{$articleTitle}
{$articleTitle|escape}
-{$articleTitle|escape:"html"} {* escapes & " ' < > *}
+{$articleTitle|escape:"html"} {* escapes & " ' < > *}
{$articleTitle|escape:"htmlall"} {* escapes ALL html entities *}
{$articleTitle|escape:"url"}
{$articleTitle|escape:"quotes"}
-<a
-href="mailto:{$EmailAddress|escape:"hex"}">{$EmailAddress|escape:"hexentity"}</a>
+<a href="mailto:{$EmailAddress|escape:"hex"}">{$EmailAddress|escape:"hexentity"}</a>
]]>
</programlisting>
<para>
@@ -696,8 +695,7 @@
'Stiff Opposition Expected to Casketless Funeral Plan'
%27Stiff+Opposition+Expected+to+Casketless+Funeral+Plan%27
\'Stiff Opposition Expected to Casketless Funeral Plan\'
-<a
-href="mailto:%62%6f%62%40%6d%65%2e%6e%65%74">bob@me.net</a>
+<a href="mailto:%62%6f%62%40%6d%65%2e%6e%65%74">bob@me.net</a>
]]>
</screen>
</example>
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-variables.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/designers/language-variables.xml
diff -u smarty/docs/en/designers/language-variables.xml:1.2 smarty/docs/en/designers/language-variables.xml:1.3
--- smarty/docs/en/designers/language-variables.xml:1.2 Sun Mar 28 11:48:54 2004
+++ smarty/docs/en/designers/language-variables.xml Thu Apr 1 11:58:05 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<chapter id="language.variables">
<title>Variables</title>
<para>
@@ -158,8 +158,8 @@
<title>accessing object properties</title>
<programlisting>
<![CDATA[
-name: {$person->name}<br />
-email: {$person->email}<br />
+name: {$person->name}<br />
+email: {$person->email}<br />
]]>
</programlisting>
<para>
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php