2004-04-13 08:46:28 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
|
|
|
|
<!-- $Revision$ -->
|
2004-10-02 12:49:29 +00:00
|
|
|
|
<!-- EN-Revision: 1.2 Maintainer: thomasgm Status: ready -->
|
2004-04-13 08:46:28 +00:00
|
|
|
|
<sect1 id="language.syntax.comments">
|
|
|
|
|
|
<title>Coment<EFBFBD>rios</title>
|
|
|
|
|
|
<para>
|
2004-09-21 15:05:45 +00:00
|
|
|
|
Os coment<6E>rios do template ficam entre asteriscos dentro de delimitadores,
|
|
|
|
|
|
exemplo: {* este <20> um coment<6E>rio *}. Coment<6E>rios do Smarty n<>o s<>o
|
|
|
|
|
|
exibidos no resultado final do template. Eles s<>o usados para fazer
|
|
|
|
|
|
anota<74><61>es internas nos templates.
|
2004-04-13 08:46:28 +00:00
|
|
|
|
</para>
|
|
|
|
|
|
<example>
|
|
|
|
|
|
<title>Coment<EFBFBD>rios</title>
|
|
|
|
|
|
<programlisting>
|
2004-09-21 15:05:45 +00:00
|
|
|
|
<![CDATA[
|
2004-04-13 08:46:28 +00:00
|
|
|
|
{* Smarty *}
|
|
|
|
|
|
|
2004-09-21 15:05:45 +00:00
|
|
|
|
{* inclua o arquivo de cabe<62>alho aqui *}
|
|
|
|
|
|
{include file="cabecalho.tpl"}
|
2004-04-13 08:46:28 +00:00
|
|
|
|
|
2004-09-21 15:05:45 +00:00
|
|
|
|
{include file=$arquivoInclude}
|
2004-04-13 08:46:28 +00:00
|
|
|
|
|
2004-09-21 15:05:45 +00:00
|
|
|
|
{include file=#arquivoInclude#}
|
2004-04-13 08:46:28 +00:00
|
|
|
|
|
2004-09-21 15:05:45 +00:00
|
|
|
|
{* mostra lista dropdown *}
|
|
|
|
|
|
<select name="empresa">
|
2004-04-13 08:46:28 +00:00
|
|
|
|
{html_options values=$vals selected=$selected output=$output}
|
2004-09-21 15:05:45 +00:00
|
|
|
|
</select>
|
|
|
|
|
|
]]>
|
|
|
|
|
|
</programlisting>
|
2004-04-13 08:46:28 +00:00
|
|
|
|
</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
|
|
|
|
|
|
-->
|