Skip to content

Commit

Permalink
Improve tag semantic usage (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Aug 30, 2023
1 parent ce34479 commit a7f21c3
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 18 deletions.
4 changes: 2 additions & 2 deletions features/file-upload.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- $Author$ -->
<!-- EN-Revision: 9cde24377571d4bea92811c05e6dd766545c1d96 Maintainer: Gregory Status: ready -->
<!-- EN-Revision: fc174e8d6162091550edde46159917ee7e5a2e73 Maintainer: Gregory Status: ready -->
<!-- CREDITS: dallas, Luffy -->
<chapter xml:id="features.file-upload" xmlns="http://docbook.org/ns/docbook">
<title>文件上传处理</title>
Expand Down Expand Up @@ -337,7 +337,7 @@ foreach ($_FILES["pictures"]["error"] as $key => $error) {
<simpara>
<link linkend="ini.max-input-time">max_input_time</link>
以秒为单位设定了脚本接收输入的最大时间,包括文件上传。对于较大或多个文件,或者用户的网速较慢时,可能会超过默认的
<literal>60</literal>。
<literal>60</literal>
</simpara>
</warning>

Expand Down
8 changes: 4 additions & 4 deletions features/xforms.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: dallas Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<!-- EN-Revision: fc174e8d6162091550edde46159917ee7e5a2e73 Maintainer: dallas Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<chapter xml:id="features.xforms" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>处理 XForms</title>
<para>
<link xlink:href="&url.xforms;">XForms</link> 定义了传统 web
表单的变种,可以用于更广泛的平台和浏览器,甚至非传统的媒体(例如 PDF 文档)。
</para>
<para>
XFroms 的第一个关键区别是表单怎样发送到客户端。<link
xlink:href="&url.xforms.htmlauthors;">XForms for HTML Authors</link>
XFroms 的第一个关键区别是表单怎样发送到客户端。
<link xlink:href="&url.xforms.htmlauthors;">XForms for HTML Authors</link>
包含如何创建 XForms 的详细说明。处于本教程的目的,将只看简单的示例。
</para>
<example>
Expand Down
4 changes: 2 additions & 2 deletions language/oop5/constants.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- $Author$ -->
<!-- EN-Revision: 5d1673b7a0e1a941111595d25cda663d8667a015 Maintainer: Haohappy Status: ready -->
<!-- EN-Revision: fc174e8d6162091550edde46159917ee7e5a2e73 Maintainer: Haohappy Status: ready -->
<!-- CREDITS: Luffy -->
<sect1 xml:id="language.oop5.constants" xmlns="http://docbook.org/ns/docbook">
<title>类常量</title>
<para>
Expand Down
6 changes: 3 additions & 3 deletions language/types/declarations.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: fe4cced771b28400ad2e4651a78d65628544bbbe Maintainer: avenger Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<!-- EN-Revision: fc174e8d6162091550edde46159917ee7e5a2e73 Maintainer: avenger Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<sect1 xml:id="language.types.declarations">
<title>类型声明</title>

Expand Down Expand Up @@ -169,7 +169,7 @@ Stack trace:
<note>
<para>
从 PHP 8.1.0 起弃用 <type>void</type> 函数通过引用返回,因为这样的函数自相矛盾。在此之前调用时总是会发出如下
<constant>E_NOTICE</constant>:<literal>Only variable references should be returned by reference</literal>。
<constant>E_NOTICE</constant>:<computeroutput>Only variable references should be returned by reference</computeroutput>。

<informalexample>
<programlisting role="php">
Expand Down
6 changes: 3 additions & 3 deletions reference/math/functions/pow.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 268d48a18426b031eb4e13aa87642642c718bce1 Maintainer: dallas Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<!-- EN-Revision: fc174e8d6162091550edde46159917ee7e5a2e73 Maintainer: dallas Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<refentry xml:id="function.pow" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>pow</refname>
Expand Down Expand Up @@ -80,7 +80,7 @@ echo pow(-1, 5.5); // NAN
&reftitle.notes;
<note>
<para>
本函数会转换所有输入为数字,甚至是非标量值,将会导致<literal>怪异的</literal>结果。
本函数会转换所有输入为数字,甚至是非标量值,将会导致<emphasis>怪异的</emphasis>结果。
</para>
</note>
</refsect1>
Expand Down
10 changes: 6 additions & 4 deletions reference/mysqli/mysqli/real-escape-string.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 035c126c0393fe154bac46e2c3c489ebadce48a5 Maintainer: yuanyuqiang Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<!-- EN-Revision: fc174e8d6162091550edde46159917ee7e5a2e73 Maintainer: yuanyuqiang Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<refentry xml:id="mysqli.real-escape-string" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysqli::real_escape_string</refname>
Expand Down Expand Up @@ -47,8 +47,10 @@
需要进行转义的字符串。
</para>
<para>
会被进行转义的字符包括:<literal>NUL(ASCII 0)、\n、\r、\、'、" 和
Control-Z</literal>。
会被进行转义的字符包括:<literal>NUL (ASCII 0)</literal>、
<literal>\n</literal>、<literal>\r</literal>、<literal>\</literal>、
<literal>'</literal>、<literal>"</literal> 和
<keycombo action='simul'><keycap>CTRL</keycap><keycap>Z</keycap></keycombo>。
</para>
</listitem>
</varlistentry>
Expand Down

0 comments on commit a7f21c3

Please sign in to comment.