<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                <table summary="Header navigation table" width="100%" border="0" cellpadding="0" cellspacing="0"><tr><th colspan="3" align="center">Smarty - the compiling PHP template engine</th></tr><tr><td width="25%" align="left" valign="bottom"><a href="language.basic.syntax.html" accesskey="P">Prev</a></td> <td width="50%" align="center" valign="bottom">Chapter 3. Basic Syntax[第3章.基本語法]</td> <td width="25%" align="right" valign="bottom"><a href="language.syntax.variables.html" accesskey="N">Next</a></td></tr></table> # Comments[注釋] Template comments are surrounded by asterisks, and that is surrounded by the delimiter tags like so:{* this is a comment *} Smarty comments are NOT displayed in the final output of the template, unlike <!-- HTML comments-->. These are useful for making internal notes in the templates which no one will see ;-) 模板注釋被*星號包圍,而兩邊的星號又被定界符包圍,例如 {* this is a comment *} 。 smarty注釋不會在模板文件的最后輸出中出現,這與<!-- HTML 注釋-->不同(譯注:html注釋在頁面源碼中可見,而smarty注釋則不能)。這點非常有用,試想,注釋只存在于模板里面,而在輸出的頁面中誰也看不見:)。 <table width="100%" border="0" cellpadding="0" cellspacing="0" class="EXAMPLE"><tr><td><div class="EXAMPLE"><a name="AEN162"/><strong>Example 3.1. Comments within a template</strong><br/><b>例 3-1.模板注釋</b><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td> <p> {* I am a Smarty comment, I don't exist in the compiled output *}<br/> &lt;html&gt;<br/> &lt;head&gt;<br/> &lt;title&gt;{$title}&lt;/title&gt;<br/> &lt;/head&gt;<br/> &lt;body&gt;<br/> {* another single line smarty comment *}<br/> &lt;!-- HTML comment that is sent to the browser --&gt;<br/> {* this multiline smarty<br/> comment is<br/> not sent to browser<br/> *}<br/> {*********************************************************<br/> Multi line comment block with credits block<br/> @ author: bg@example.com<br/> @ maintainer: support@example.com<br/> @ para: var that sets block style<br/> @ css: the style output<br/> **********************************************************}<br/> {* The header file with the main logo and stuff *}<br/> {include file='header.tpl'}</p> <p>{* Dev note: the $includeFile var is assigned in foo.php script *}<br/> &lt;!-- Displays main content block --&gt;<br/> {include file=$includeFile}<br/> {* this &lt;select&gt; block is redundant *}<br/> {*<br/> &lt;select name="company"&gt;<br/> {html_options options=$vals selected=$selected_id}<br/> &lt;/select&gt;<br/> *}<br/> &lt;!-- Show header from affiliate is disabled --&gt;<br/> {* $affiliate|upper *}<br/> {* you cannot nest comments *}<br/> {*<br/> &lt;select name="company"&gt;<br/> {* &lt;option value="0"&gt;-- none -- &lt;/option&gt; *}<br/> {html_options options=$vals selected=$selected_id}<br/> &lt;/select&gt;<br/> *}<br/> &lt;/body&gt;<br/> &lt;/html&gt;</p> </td></tr></table></div></td></tr></table> <table summary="Footer navigation table" width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="33%" align="left" valign="top"><a href="language.basic.syntax.html" accesskey="P">Prev</a></td><td width="34%" align="center" valign="top"><a href="index.html" accesskey="H">Home</a></td><td width="33%" align="right" valign="top"><a href="language.syntax.variables.html" accesskey="N">Next</a></td></tr><tr><td width="33%" align="left" valign="top">Smarty For Template Designers<br/> 模板設計者篇 </td> <td width="34%" align="center" valign="top"><a href="smarty.for.designers.html" accesskey="U">Up</a></td> <td width="33%" align="right" valign="top">Variables<br/> 變量</td> </tr></table>
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看