svn: /pear/peardoc/trunk/en/package/html/html-quickform2/elements/ base.xml

[email protected] (Alexey Borzov) Tue, 01 May 2012 09:56:06 +0000
Newsgroups php.pear.doc
Message-ID <[email protected]>
--e8b5001247badcda1f5337f0d2a652380262b5bb
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

avb                                      Tue, 01 May 2012 09:56:06 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=325488

Log:
Fix examples

Changed paths:
    U   pear/peardoc/trunk/en/package/html/html-quickform2/elements/base.xml

Modified: pear/peardoc/trunk/en/package/html/html-quickform2/elements/base.xml
===================================================================
--- pear/peardoc/trunk/en/package/html/html-quickform2/elements/base.xml	2012-05-01 09:41:04 UTC (rev 325487)
+++ pear/peardoc/trunk/en/package/html/html-quickform2/elements/base.xml	2012-05-01 09:56:06 UTC (rev 325488)
@@ -78,6 +78,9 @@
 echo HTML_QuickForm2_Factory::createElement('text', 'name')
      ->getAttribute('id') . "\n";

+echo HTML_QuickForm2_Factory::createElement('text', 'name')
+     ->getAttribute('id') . "\n";
+
 echo HTML_QuickForm2_Factory::createElement('text', 'name[key]')
      ->getAttribute('id') . "\n";

@@ -90,6 +93,7 @@
 <![CDATA[
 explicitId
 name-0
+name-1
 name-key-0
 qfauto-0
 ]]>
@@ -115,6 +119,9 @@
 echo HTML_QuickForm2_Factory::createElement('text', 'name')
      ->getAttribute('id') . "\n";

+echo HTML_QuickForm2_Factory::createElement('text', 'name')
+     ->getAttribute('id') . "\n";
+
 echo HTML_QuickForm2_Factory::createElement('text', 'name[key]')
      ->getAttribute('id') . "\n";

@@ -289,9 +296,9 @@
      <![CDATA[
 <input type="checkbox" value="boxValue" checked="checked" name="aBox" id="aBox-0" />

-<tt>[x]</tt><input type="hidden" name="aBox" value="boxValue" id="aBox-0" />
+<code>[x]</code><input type="hidden" name="aBox" value="boxValue" id="aBox-0" />

-<tt>[x]</tt>
+<code>[x]</code>
 ]]>
     </screen>
    </para>

--e8b5001247badcda1f5337f0d2a652380262b5bb--