Forráskód Böngészése

[MANUAL] English:

- manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21614 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 éve
szülő
commit
05718c9868

+ 9 - 9
documentation/manual/en/module_specs/Zend_Form-QuickStart.xml

@@ -40,15 +40,15 @@ $form->setAction('/resource/process')
 
 
         <para>
         <para>
             The above code sets the form action to the partial <acronym>URL</acronym>
             The above code sets the form action to the partial <acronym>URL</acronym>
-            "/resource/process" and the form method to <acronym>HTTP</acronym> POST. This will be
-            reflected during final rendering.
+            "<filename>/resource/process</filename>" and the form method to <acronym>HTTP</acronym>
+            <acronym>POST</acronym>. This will be reflected during final rendering.
         </para>
         </para>
 
 
         <para>
         <para>
             You can set additional HTML attributes for the
             You can set additional HTML attributes for the
-            <code>&lt;form&gt;</code> tag by using the setAttrib() or
-            setAttribs() methods. For instance, if you wish to set the id, set
-            the "id" attribute:
+            <emphasis>&lt;form&gt;</emphasis> tag by using the <methodname>setAttrib()</methodname>
+            or <methodname>setAttribs()</methodname> methods. For instance, if you wish to set the
+            id, set the "<property>id</property>" attribute:
         </para>
         </para>
 
 
         <programlisting language="php"><![CDATA[
         <programlisting language="php"><![CDATA[
@@ -240,7 +240,7 @@ echo $form;
         <para>
         <para>
             By default, <classname>Zend_Form</classname> and
             By default, <classname>Zend_Form</classname> and
             <classname>Zend_Form_Element</classname> will attempt to use the view object
             <classname>Zend_Form_Element</classname> will attempt to use the view object
-            initialized in the <code>ViewRenderer</code>, which means you won't
+            initialized in the <classname>ViewRenderer</classname>, which means you won't
             need to set the view manually when using the Zend Framework <acronym>MVC</acronym>.
             need to set the view manually when using the Zend Framework <acronym>MVC</acronym>.
             To render a form in a view, you simply have to do the following:
             To render a form in a view, you simply have to do the following:
         </para>
         </para>
@@ -300,9 +300,9 @@ $element->addDecorators(array(
 
 
         <para>
         <para>
             The form itself simply loops through the elements, and dresses them
             The form itself simply loops through the elements, and dresses them
-            in an HTML <code>&lt;form&gt;</code>. The action and method you
-            provided when setting up the form are provided to the
-            <code>&lt;form&gt;</code> tag, as are any attributes you set via
+            in an <acronym>HTML</acronym> <emphasis>&lt;form&gt;</emphasis>. The action and method
+            you provided when setting up the form are provided to the
+            <emphasis>&lt;form&gt;</emphasis> tag, as are any attributes you set via
             <methodname>setAttribs()</methodname> and family.
             <methodname>setAttribs()</methodname> and family.
         </para>
         </para>
 
 

+ 4 - 4
documentation/manual/en/module_specs/Zend_Form-StandardDecorators.xml

@@ -34,8 +34,8 @@ class Util
 ]]></programlisting>
 ]]></programlisting>
 
 
         <para>
         <para>
-            This callback would be specified as <code>array('Util',
-                'label')</code>, and would generate some (bad) HTML markup
+            This callback would be specified as <methodname>array('Util',
+                'label')</methodname>, and would generate some (bad) <acronym>HTML</acronym> markup
             for the label. The Callback decorator would then either replace,
             for the label. The Callback decorator would then either replace,
             append, or prepend the original content with the return value of
             append, or prepend the original content with the return value of
             this.
             this.
@@ -81,8 +81,8 @@ class Util
 
 
         <para>
         <para>
             By default, if no description is present, no output is generated. If
             By default, if no description is present, no output is generated. If
-            the description is present, then it is wrapped in an HTML
-            <code>p</code> tag by default, though you may specify a tag by
+            the description is present, then it is wrapped in an <acronym>HTML</acronym>
+            <emphasis>p</emphasis> tag by default, though you may specify a tag by
             passing a <code>tag</code> option when creating the decorator, or
             passing a <code>tag</code> option when creating the decorator, or
             calling <methodname>setTag()</methodname>. You may additionally specify a class
             calling <methodname>setTag()</methodname>. You may additionally specify a class
             for the tag using the <code>class</code> option or by calling
             for the tag using the <code>class</code> option or by calling