- Remove <para> around <example>.

- Replace all <para> within <example> to <simpara>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147242 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Moriyoshi Koizumi 2003-12-23 09:56:57 +00:00
parent dcaa2b059a
commit b4d08dab75
3 changed files with 34 additions and 49 deletions

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.iconv-mime-decode-headers">
<refnamediv>
<refname>iconv_mime_decode_headers</refname>
@ -79,19 +79,17 @@
will be used.
</para>
<para>
<example>
<title><function>iconv_mime_decode_function</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
$headers_string = <<<EOF
<example>
<title><function>iconv_mime_decode_function</function> example</title>
<programlisting role="php">
&lt;?php
$headers_string = &lt;&lt;&lt;EOF
Subject: =?UTF-8?B?UHLDvGZ1bmcgUHLDvGZ1bmc=?=
To: example@example.com
Date: Thu, 1 Jan 1970 00:00:00 +0000
Message-Id: <example@example.com>
Message-Id: &lt;example@example.com&gt;
Received: from localhost (localhost [127.0.0.1]) by localhost
with SMTP id example for <example@example.com>;
with SMTP id example for &lt;example@example.com&gt;
Thu, 1 Jan 1970 00:00:00 +0000 (UTC)
(envelope-from example-return-0000-example=example.com@example.com)
Received: (qmail 0 invoked by uid 65534); 1 Thu 2003 00:00:00 +0000
@ -100,31 +98,27 @@ EOF;
$headers = iconv_mime_decode_headers($headers_string, 0, "ISO-8859-1");
print_r($headers);
?>
]]>
?&gt;
</programlisting>
<para>
<simpara>
The output of this script should look like:
</para>
</simpara>
<screen>
<![CDATA[
Array
(
[Subject] => Pr&uuml;fung Pr&uuml;fung
[To] => example@example.com
[Date] => Thu, 1 Jan 1970 00:00:00 +0000
[Message-Id] => <example@example.com>
[Received] => Array
[Subject] =&gt; Pr&uuml;fung Pr&uuml;fung
[To] =&gt; example@example.com
[Date] =&gt; Thu, 1 Jan 1970 00:00:00 +0000
[Message-Id] =&gt; &lt;example@example.com&gt;
[Received] =&gt; Array
(
[0] => from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com>; Thu, 1 Jan 1970 00:00:00 +0000 (UTC) (envelope-from example-return-0000-example=example.com@example.com)
[1] => (qmail 0 invoked by uid 65534); 1 Thu 2003 00:00:00 +0000
[0] =&gt; from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for &lt;example@example.com&gt;; Thu, 1 Jan 1970 00:00:00 +0000 (UTC) (envelope-from example-return-0000-example=example.com@example.com)
[1] =&gt; (qmail 0 invoked by uid 65534); 1 Thu 2003 00:00:00 +0000
)
)
]]>
</screen>
</example>
</para>
</screen>
</example>
<para>
See also <function>iconv_mime_decode</function>,

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry id="function.iconv-mime-decode">
<refnamediv>
@ -69,21 +69,16 @@
will be used.
</para>
<para>
<example>
<title><function>iconv_mime_decode</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
<example>
<title><function>iconv_mime_decode</function> example</title>
<programlisting role="php">
&gt;?php
// This yields "Subject: Pr&uuml;fung Pr&uuml;fung"
echo iconv_mime_decode("Subject: =?UTF-8?B?UHLDvGZ1bmcgUHLDvGZ1bmc=?=",
0, "ISO-8859-1");
?>
]]>
</programlisting>
</example>
</para>
?&lt;
</programlisting>
</example>
<para>
See also <function>iconv_mime_decode_headers</function>,
<function>imap_base64_decode</function>,

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry id="function.iconv-mime-encode">
<refnamediv>
@ -121,12 +121,10 @@ Subject: =?ISO-8859-1?Q?Pr=FCfung_f=FCr?= Entwerfen von einer MIME kopfzeile
</table>
</para>
<para>
<example>
<example>
<title><function>iconv_mime_encode</function> example:</title>
<programlisting role="php">
<![CDATA[
<?php
&gt;?php
$preferences = array(
"input-charset" => "ISO-8859-1",
"output-charset" => "UTF-8",
@ -140,11 +138,9 @@ echo iconv_mime_encode("Subject", "Pr&uuml;fung Pr&uuml;fung", $preferences);
$preferences["scheme"] = "B";
// This yields "Subject: =?UTF-8?B?UHLDvGZ1bmcgUHLDvGZ1bmc=?="
echo iconv_mime_encode("Subject", "Pr&uuml;fung Pr&uuml;fung", $preferences);
?>
]]>
</programlisting>
</example>
</para>
?&lt;
</programlisting>
</example>
<para>
See also <function>imap_base64_encode</function>,