Browse Source

[MANUAL] English:

- manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21614 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 years ago
parent
commit
05718c9868

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

@@ -40,15 +40,15 @@ $form->setAction('/resource/process')
 
         <para>
             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>
             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>
 
         <programlisting language="php"><![CDATA[
@@ -240,7 +240,7 @@ echo $form;
         <para>
             By default, <classname>Zend_Form</classname> and
             <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>.
             To render a form in a view, you simply have to do the following:
         </para>
@@ -300,9 +300,9 @@ $element->addDecorators(array(
 
         <para>
             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.
         </para>
 

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

@@ -34,8 +34,8 @@ class Util
 ]]></programlisting>
 
         <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,
             append, or prepend the original content with the return value of
             this.
@@ -81,8 +81,8 @@ class Util
 
         <para>
             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
             calling <methodname>setTag()</methodname>. You may additionally specify a class
             for the tag using the <code>class</code> option or by calling