Files
smarty/docs/es/designers/language-basic-syntax/language-syntax-comments.xml

53 lines
1.2 KiB
XML
Raw Normal View History

2004-10-07 18:50:52 +00:00
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<sect1 id="language.syntax.comments">
<title>Comentarios</title>
<para>
Los comentarios en los templates son cercados por asteriscos, y por
2004-10-07 19:42:08 +00:00
los delimitadores, as<61>: {* este es un comentario *}.
2004-10-07 18:50:52 +00:00
Los comentarios en Smarty no son mostrados en la salida final del
template.
Estos son usados para hacer notas internas dentro del template.
</para>
<example>
<title>Comentarios</title>
<programlisting>
<![CDATA[
{* Smarty *}
{* include the header file here *}
{include file="header.tpl"}
{include file=$includeFile}
{include file=#includeFile#}
{* display dropdown lists *}
<select name="company">
{html_options values=$vals selected=$selected output=$output}
</select>
]]>
</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
-->