cvs: smarty /docs/es bookinfo.xml /docs/es/designers/language-basic-syntax language-syntax-variables.xml /docs/es/designers/language-custom-functions language-function-html-image.xml
"Nuno Lopes" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsnlopess1107970483@cvsserver> |
nlopess Wed Feb 9 12:34:43 2005 EDT
Added files:
/smarty/docs/es/designers/language-basic-syntax
language-syntax-variables.xml
Modified files:
/smarty/docs/es bookinfo.xml
/smarty/docs/es/designers/language-custom-functions
language-function-html-image.xml
Log:
sync with en
http://cvs.php.net/diff.php/smarty/docs/es/bookinfo.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/es/bookinfo.xml
diff -u smarty/docs/es/bookinfo.xml:1.3 smarty/docs/es/bookinfo.xml:1.4
--- smarty/docs/es/bookinfo.xml:1.3 Fri Jan 21 12:46:13 2005
+++ smarty/docs/es/bookinfo.xml Wed Feb 9 12:34:42 2005
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.9 Maintainer: ramirez Status: ready -->
<bookinfo id="bookinfo">
<title>Smarty - El motor compilador de Plantillas para PHP</title>
<authorgroup id="authors">
@@ -9,6 +10,8 @@
<author>
<firstname>Andrei</firstname><surname>Zmievski <[email protected]></surname>
</author>
+ </authorgroup>
+ <authorgroup id="translators">
<author>
<firstname>Mario</firstname><surname>Ramírez
<[email protected]></surname>
@@ -16,7 +19,7 @@
</authorgroup>
<pubdate>&build-date;</pubdate>
<copyright>
- <year>2001-2004</year>
+ <year>2001-2005</year>
<holder>New Digital Group, Inc.</holder>
</copyright>
</bookinfo>
http://cvs.php.net/diff.php/smarty/docs/es/designers/language-custom-functions/language-function-html-image.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/es/designers/language-custom-functions/language-function-html-image.xml
diff -u smarty/docs/es/designers/language-custom-functions/language-function-html-image.xml:1.1 smarty/docs/es/designers/language-custom-functions/language-function-html-image.xml:1.2
--- smarty/docs/es/designers/language-custom-functions/language-function-html-image.xml:1.1 Thu Oct 7 14:50:49 2004
+++ smarty/docs/es/designers/language-custom-functions/language-function-html-image.xml Wed Feb 9 12:34:43 2005
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.3 Maintainer: ramirez Status: ready -->
<sect1 id="language.function.html.image">
<title>html_image</title>
<informaltable frame="all">
@@ -27,13 +28,6 @@
<entry>nombre/ruta de la imagen</entry>
</row>
<row>
- <entry>border</entry>
- <entry>string</entry>
- <entry>No</entry>
- <entry><emphasis>0</emphasis></entry>
- <entry>Tamaño del borde del contorno de la imagen</entry>
- </row>
- <row>
<entry>height</entry>
<entry>string</entry>
<entry>No</entry>
@@ -131,9 +125,9 @@
</para>
<screen>
<![CDATA[
-<img src="pumpkin.jpg" alt="" border="0" width="44" height="68" />
-<img src="/path/from/docroot/pumpkin.jpg" alt="" border="0" width="44" height="68" />
-<img src="../path/relative/to/currdir/pumpkin.jpg" alt="" border="0" width="44" height="68" />
+<img src="pumpkin.jpg" alt="" width="44" height="68" />
+<img src="/path/from/docroot/pumpkin.jpg" alt="" width="44" height="68" />
+<img src="../path/relative/to/currdir/pumpkin.jpg" alt="" width="44" height="68" />
]]>
</screen>
</example>
http://cvs.php.net/co.php/smarty/docs/es/designers/language-basic-syntax/language-syntax-variables.xml?r=1.1&p=1
Index: smarty/docs/es/designers/language-basic-syntax/language-syntax-variables.xml
+++ smarty/docs/es/designers/language-basic-syntax/language-syntax-variables.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: ramirez Status: ready -->
<sect1 id="language.syntax.variables">
<title>Variables</title>
<para>
Las variable de Template que comiencen con signo de pesos. Pueden contener números,
letras y guiones bajos, muy parecido a las variables de PHP. Usted también puede
hacer referencia a arreglos que puden ser numericos o no-numericos. También
puede hacer referencia a métodos y propiedades de objetos. Config file
variables es una excepción de la sintaxis del signo de pesos.
También puede ser referenciado entre signos de numeros, o con la
variable especial $smarty.config.
</para>
<example>
<title>Variables</title>
<programlisting>
<![CDATA[
{$foo} <-- displaying a simple variable (non array/object)
{$foo[4]} <-- display the 5th element of a zero-indexed array
{$foo.bar} <-- display the "bar" key value of an array, similar to PHP $foo['bar']
{$foo.$bar} <-- display variable key value of an array, similar to PHP $foo[$bar]
{$foo->bar} <-- display the object property "bar"
{$foo->bar()} <-- display the return value of object method "bar"
{#foo#} <-- display the config file variable "foo"
{$smarty.config.foo} <-- synonym for {#foo#}
{$foo[bar]} <-- syntax only valid in a section loop, see {section}
Many other combinations are allowed
{$foo.bar.baz}
{$foo.$bar.$baz}
{$foo[4].baz}
{$foo[4].$baz}
{$foo.bar.baz[4]}
{$foo->bar($baz,2,$bar)} <-- passing parameters
{"foo"} <-- static values are allowed
]]>
</programlisting>
</example>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php