diff --git a/docs/es/bookinfo.xml b/docs/es/bookinfo.xml index 068a3a78..daac10d4 100755 --- a/docs/es/bookinfo.xml +++ b/docs/es/bookinfo.xml @@ -1,5 +1,6 @@ + Smarty - El motor compilador de Plantillas para PHP @@ -9,6 +10,8 @@ AndreiZmievski <andrei@php.net> + + MarioRamírez <mario_ramirez@fjcorona.com.mx> @@ -16,7 +19,7 @@ &build-date; - 2001-2004 + 2001-2005 New Digital Group, Inc. diff --git a/docs/es/designers/language-basic-syntax/language-syntax-variables.xml b/docs/es/designers/language-basic-syntax/language-syntax-variables.xml new file mode 100755 index 00000000..3e2a3433 --- /dev/null +++ b/docs/es/designers/language-basic-syntax/language-syntax-variables.xml @@ -0,0 +1,61 @@ + + + + + Variables + + 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. + + + Variables + +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 +]]> + + + + diff --git a/docs/es/designers/language-custom-functions/language-function-html-image.xml b/docs/es/designers/language-custom-functions/language-function-html-image.xml index 626f2a63..3ca99dda 100644 --- a/docs/es/designers/language-custom-functions/language-function-html-image.xml +++ b/docs/es/designers/language-custom-functions/language-function-html-image.xml @@ -1,5 +1,6 @@ + html_image @@ -26,13 +27,6 @@ n/a nombre/ruta de la imagen - - border - string - No - 0 - Tamaño del borde del contorno de la imagen - height string @@ -131,9 +125,9 @@ $smarty->display('index.tpl'); - - + + + ]]>