Просмотр исходного кода

[1.11] Fixed bad XML markup in UserAgent docs

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23064 44c647ce-9c0f-0410-b52a-842ac1e357ba
matthew 15 лет назад
Родитель
Сommit
6984fe1fbf

+ 1 - 1
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Useragent.xml

@@ -8,7 +8,7 @@
 
         <para>
             This resource provides the ability to configure and instantiate <link
-                linkened="zend.http.user-agent">Zend_Http_UserAgent</link> for use within your
+                linkend="zend.http.user-agent">Zend_Http_UserAgent</link> for use within your
             application. 
         </para>
     </sect3>

+ 17 - 17
documentation/manual/en/module_specs/Zend_Http_UserAgent-Device.xml

@@ -66,7 +66,7 @@ interface Zend_Http_UserAgent_Device extends Serializable
 
         <para>
             In practice, you will likely extend
-            <clasname>Zend_Http_UserAgent_AbstractDevice</clasname>, which provides functionality
+            <classname>Zend_Http_UserAgent_AbstractDevice</classname>, which provides functionality
             around discovering capabilities from the User-Agent string itself, as well as
             discovering and querying a <link linkend="zend.http.user-agent-features">Features
                 adapter</link>. 
@@ -620,24 +620,24 @@ if ((null !== $maxHeight) && ($maxHeight < 400)) {
 }
 echo '/>';
 ]]></programlisting>
+        </example>
 
-            <note>
-                <title>Markup- based scaling is not ideal</title>
+        <note>
+            <title>Markup- based scaling is not ideal</title>
 
-                <para>
-                    Markup-based scaling such as in the example above is not the best approach, as
-                    it means that the full-sized image is still delivered to the device. A better
-                    approach is to pre-scale your images to a variety of sizes representing the
-                    devices you wish to support, and then using the device capabilities to determine
-                    which image to use.
-                </para>
+            <para>
+                Markup-based scaling such as in the example above is not the best approach, as
+                it means that the full-sized image is still delivered to the device. A better
+                approach is to pre-scale your images to a variety of sizes representing the
+                devices you wish to support, and then using the device capabilities to determine
+                which image to use.
+            </para>
 
-                <para>
-                    Another approach is to use third-party services. Zend Framework provides one
-                    such capability via the <link
-                        linkend="zend.view.helpers.initial.tiny-src">TinySrc view helper</link>.
-                </para>
-            </note>
-        </example>
+            <para>
+                Another approach is to use third-party services. Zend Framework provides one
+                such capability via the <link
+                    linkend="zend.view.helpers.initial.tiny-src">TinySrc view helper</link>.
+            </para>
+        </note>
     </sect2>
 </sect1>

+ 3 - 6
documentation/manual/en/module_specs/Zend_Http_UserAgent-Features.xml

@@ -45,12 +45,9 @@ interface Zend_Http_UserAgent_Features_Adapter
     <sect2 id="zend.http.user-agent-features.options">
         <title>Configuration Options</title>
 
-        <variablelist>
-            <title>Features Adapter Options</title>
-
-            <para>
-                Options are defined on a per-adapter basis.
-            </para>
+        <para>
+            Options are defined on a per-adapter basis.
+        </para>
     </sect2>
 
     <sect2 id="zend.http.user-agent-features.methods">

+ 1 - 2
documentation/manual/en/module_specs/Zend_Http_UserAgent-Features_Wurfl.xml

@@ -7,7 +7,7 @@
         <title>Overview</title>
 
         <para>
-            <ulink url="http://wurfl.sourceforge.net/">WURFL</url> (Wireless Universal Resource
+            <ulink url="http://wurfl.sourceforge.net/">WURFL</ulink> (Wireless Universal Resource
             File) is a database of mobile device capabilities. This class provides a <link
                 linkend="zend.http.user-agent-features">features adapter</link> that utilizes the
             <acronym>WURFL</acronym> PHP API in order to discover mobile device capabilities to
@@ -121,7 +121,6 @@
                 </listitem>
             </varlistentry>
         </variablelist>
-        </variablelist>
     </sect2>
 
     <sect2 id="zend.http.user-agent-features-wurfl.methods">

+ 25 - 25
documentation/manual/en/module_specs/Zend_Http_UserAgent.xml

@@ -76,7 +76,7 @@
         <para>
             At the time of this writing, The <classname>UserAgent</classname> component provides
             only a single features adapter, one that consumes the <ulink
-                url="http://wurfl.sourceforge.net/">WURFL</url> (Wireless Universal Resource File)
+                url="http://wurfl.sourceforge.net/">WURFL</ulink> (Wireless Universal Resource File)
             PHP API. This database is considered one of the most comprehensive mobile device
             databases, and coupled with the <classname>UserAgent</classname> component can provide
             you with all the tools you need to write applications targetting mobile devices with
@@ -340,18 +340,18 @@ $config = array(
                     </para>
 
                     <itemizedlist>
-                        <listitem>Bot</listitem>
-                        <listitem>Checker</listitem>
-                        <listitem>Console</listitem>
-                        <listitem>Desktop</listitem>
-                        <listitem>Email</listitem>
-                        <listitem>Feed</listitem>
-                        <listitem>Mobile</listitem>
-                        <listitem>Offline</listitem>
-                        <listitem>Probe</listitem>
-                        <listitem>Spam</listitem>
-                        <listitem>Text</listitem>
-                        <listitem>Validator</listitem>
+                        <listitem><para>Bot</para></listitem>
+                        <listitem><para>Checker</para></listitem>
+                        <listitem><para>Console</para></listitem>
+                        <listitem><para>Desktop</para></listitem>
+                        <listitem><para>Email</para></listitem>
+                        <listitem><para>Feed</para></listitem>
+                        <listitem><para>Mobile</para></listitem>
+                        <listitem><para>Offline</para></listitem>
+                        <listitem><para>Probe</para></listitem>
+                        <listitem><para>Spam</para></listitem>
+                        <listitem><para>Text</para></listitem>
+                        <listitem><para>Validator</para></listitem>
                     </itemizedlist>
 
                     <para>
@@ -846,18 +846,18 @@ resources.useragent.bot.device.prefix = "Mobile_Device"
                 </para>
 
                 <itemizedlist>
-                    <listitem>Bot</listitem>
-                    <listitem>Checker</listitem>
-                    <listitem>Console</listitem>
-                    <listitem>Desktop</listitem>
-                    <listitem>Email</listitem>
-                    <listitem>Feed</listitem>
-                    <listitem>Mobile</listitem>
-                    <listitem>Offline</listitem>
-                    <listitem>Probe</listitem>
-                    <listitem>Spam</listitem>
-                    <listitem>Text</listitem>
-                    <listitem>Validator</listitem>
+                    <listitem><para>Bot</para></listitem>
+                    <listitem><para>Checker</para></listitem>
+                    <listitem><para>Console</para></listitem>
+                    <listitem><para>Desktop</para></listitem>
+                    <listitem><para>Email</para></listitem>
+                    <listitem><para>Feed</para></listitem>
+                    <listitem><para>Mobile</para></listitem>
+                    <listitem><para>Offline</para></listitem>
+                    <listitem><para>Probe</para></listitem>
+                    <listitem><para>Spam</para></listitem>
+                    <listitem><para>Text</para></listitem>
+                    <listitem><para>Validator</para></listitem>
                 </itemizedlist>
 
                 <para>

+ 2 - 2
documentation/manual/en/module_specs/Zend_View-Helpers-TinySrc.xml

@@ -7,7 +7,7 @@
         <title>Overview</title>
 
         <para>
-            <url ulink="http://tinysrc.net/">tinysrc.net</url> provides an API for automatic scaling
+            <ulink url="http://tinysrc.net/">tinysrc.net</ulink> provides an API for automatic scaling
             and image format conversion for use with mobile devices. The API is quite simple: you
             simply create a standard HTML image tag, but append your image URL to a URL on the
             tinysrc.net domain:
@@ -436,4 +436,4 @@ echo $this->tinySrc('image.jpg', array('create_tag' => false));
 ]]></programlisting>
         </example>
     </sect4>
-</sect1>
+</sect3>