From 5a25bbb439ac236dc5f5bec66c38cb28a5ff32b2 Mon Sep 17 00:00:00 2001 From: messju Date: Thu, 7 Oct 2004 19:42:08 +0000 Subject: [PATCH] fixed build --- .../language-syntax-comments.xml | 2 +- docs/es/getting-started.xml | 2 +- docs/es/language-defs.ent | 6 +++++ docs/es/language-snippets.ent | 24 +++++++++++++++++++ .../plugins/plugins-block-functions.xml | 2 +- 5 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 docs/es/language-defs.ent create mode 100644 docs/es/language-snippets.ent diff --git a/docs/es/designers/language-basic-syntax/language-syntax-comments.xml b/docs/es/designers/language-basic-syntax/language-syntax-comments.xml index 5d646167..ddd810be 100644 --- a/docs/es/designers/language-basic-syntax/language-syntax-comments.xml +++ b/docs/es/designers/language-basic-syntax/language-syntax-comments.xml @@ -4,7 +4,7 @@ Comentarios Los comentarios en los templates son cercados por asteriscos, y por - los delimitadores, así:
{* este es un comentario *}. + los delimitadores, así: {* este es un comentario *}. Los comentarios en Smarty no son mostrados en la salida final del template. Estos son usados para hacer notas internas dentro del template. diff --git a/docs/es/getting-started.xml b/docs/es/getting-started.xml index 0f995cc4..e743d8f1 100644 --- a/docs/es/getting-started.xml +++ b/docs/es/getting-started.xml @@ -165,7 +165,7 @@ debug.tpl Smarty utiliza una constante de PHP llamada SMARTY_DIR que es la ruta para + linkend="constant.smarty.dir">SMARTY_DIR que es la ruta para el directorio de la biblioteca de Smarty. Basicamente, si su aplicación puede encontrar el archivo Smarty.class.php , usted no necesita definir SMARTY_DIR, Smarty lo diff --git a/docs/es/language-defs.ent b/docs/es/language-defs.ent new file mode 100644 index 00000000..4ce1da18 --- /dev/null +++ b/docs/es/language-defs.ent @@ -0,0 +1,6 @@ + + + + + + diff --git a/docs/es/language-snippets.ent b/docs/es/language-snippets.ent new file mode 100644 index 00000000..92c0b3ca --- /dev/null +++ b/docs/es/language-snippets.ent @@ -0,0 +1,24 @@ + + + + Technical Note + + The merge parameter respects array keys, so if + you merge two numerically indexed arrays, they may overwrite each other + or result in non-sequential keys. This is unlike the array_merge() function + of PHP which wipes out numerical keys and renumbers them. + +'> + + + As an optional third parameter, you can pass a compile_id. + This is in the event that you want to compile different versions of + the same template, such as having separate templates compiled + for different languages. Another use for compile_id is when you + use more than one $template_dir but only one $compile_dir. Set + a separate compile_id for each $template_dir, otherwise + templates of the same name will overwrite each other. You can + also set the $compile_id variable once + instead of passing this to each call to this function. +'> diff --git a/docs/es/programmers/plugins/plugins-block-functions.xml b/docs/es/programmers/plugins/plugins-block-functions.xml index 3ac66d6a..aaae18cb 100644 --- a/docs/es/programmers/plugins/plugins-block-functions.xml +++ b/docs/es/programmers/plugins/plugins-block-functions.xml @@ -46,7 +46,7 @@ El parámetro &$repeat es pasado por - referencia para la función de implementación y proporciona + referencia para la función de implementación y proporciona la posibilidad de controlar cuantas veces será mostrado el bloque. Por default $repeat es true en la primera llamada de la block-function (etiqueta de apertura del