mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
update header docs
This commit is contained in:
13
docs.sgml
13
docs.sgml
@@ -2028,16 +2028,15 @@ OUTPUT:
|
|||||||
</tgroup>
|
</tgroup>
|
||||||
</informaltable>
|
</informaltable>
|
||||||
<para>
|
<para>
|
||||||
<emphasis>header</emphasis> is a function that passes a raw header
|
<emphasis>header</emphasis> is a function that sends a raw header
|
||||||
string to the output. If your template is used for WAP (Wireless
|
string. For example, if your template is sending content intended
|
||||||
Access Protocol) for example, you would need to send a special
|
for a WAP (Wireless Access Protocol) device, you would need to send
|
||||||
header to indicate the type of content you are sending.
|
a special header to indicate the type of content you are sending.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
TECHNICAL NOTE: Be sure you call {header ...}
|
TECHNICAL NOTE: Be sure you call {header ...}
|
||||||
<emphasis>before</emphasis> any output in your template, in
|
<emphasis>before</emphasis> any output in your template, including
|
||||||
including whitespace. Otherwise the header will not work as
|
whitespace. Otherwise the header will not work as intended.
|
||||||
intended.
|
|
||||||
</para>
|
</para>
|
||||||
<example>
|
<example>
|
||||||
<title>header</title>
|
<title>header</title>
|
||||||
|
Reference in New Issue
Block a user