cvs: peardoc /en/package/html/html-template-flexy/attribute flexyignore.xml
| From: | Christian Weiske | Date: | Tue, 10 Apr 2007 12:59:54 +0000 |
| Subject: | cvs: peardoc /en/package/html/html-template-flexy/attribute flexyignore.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9619@lists.php.net to get a copy of this message | ||
cweiske Tue Apr 10 12:59:54 2007 UTC
Modified files:
/peardoc/en/package/html/html-template-flexy/attribute
flexyignore.xml
Log:
Fixing bug #9642: Textares do not work within flexy:include
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-template-flexy/attribute/flexyignore.xml?r1=1.4&r2=1.5&diff_format=u
Index: peardoc/en/package/html/html-template-flexy/attribute/flexyignore.xml
diff -u peardoc/en/package/html/html-template-flexy/attribute/flexyignore.xml:1.4
peardoc/en/package/html/html-template-flexy/attribute/flexyignore.xml:1.5
--- peardoc/en/package/html/html-template-flexy/attribute/flexyignore.xml:1.4 Thu Jan 29 16:32:26
2004
+++ peardoc/en/package/html/html-template-flexy/attribute/flexyignore.xml Tue Apr 10 12:59:53 2007
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry id="package.html.html-template-flexy.attribute.flexyignore">
<refnamediv>
<refname>flexy:ignore="yes"</refname>
@@ -6,7 +6,7 @@
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
-
+
<funcprototype>
<funcdef>
<function>Usage</function></funcdef>
@@ -20,21 +20,32 @@
Tells the generator not to replace form elements with PHP code. Can be used with a Form
Tag, or individual elements.
</para>
-
-
- </refsect1>
-
-
-
+
+ <note>
+ <para>
+ <literal><input></literal>s and
<literal><textarea></literal>s
+ with <literal>flexy:include</literal> or
<literal>flexy:ignore</literal>:
+ If you are turning off flexy element creation with
+ <literal>flexy:ignore="yes"</literal>, then this is not inherited by
+ included templates, and you need to add that tag to the included
+ template as well.
+ </para>
+ </note>
+
+
+ </refsect1>
+
+
+
<refsect1 id="package.html.html-template-flexy.attribute.flexyignore.example">
&title.example;
-
-
+
+
<example>
<title>Template with flexy:ignore</title>
<programlisting role="html">
- <![CDATA[
-
+ <![CDATA[
+
<form name="theform1">
<input name="theinput1">
<input name="theinput2" value="dummy">
@@ -56,14 +67,14 @@
</form>
-]]>
+]]>
</programlisting>
</example>
<example>
<title>Compiled template</title>
<programlisting role="html">
- <![CDATA[
+ <![CDATA[
<?php echo $this->elements['theform1']->toHtmlnoClose();?>
<?php echo $this->elements['theinput1']->toHtml();?>
@@ -84,16 +95,16 @@
<?php echo $this->elements['theinput7']->toHtml();?>
<?php echo $this->elements['theinput8']->toHtml();?>
</form>
-
-]]>
+
+]]>
</programlisting>
</example>
- </refsect1>
-
-
-
-
+ </refsect1>
+
+
+
+
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
@@ -113,4 +124,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
+-->