cvs: peardoc /en/package/html/html-template-flexy/attribute flexyignore.xml
| From: | Alan Knowles | Date: | Mon, 07 Apr 2003 15:50:29 +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-612@lists.php.net to get a copy of this message | ||
alan_k Mon Apr 7 11:50:29 2003 EDT
Modified files:
/peardoc/en/package/html/html-template-flexy/attribute
flexyignore.xml
Log:
fix flexy:ignore documentation
Index: peardoc/en/package/html/html-template-flexy/attribute/flexyignore.xml
diff -u peardoc/en/package/html/html-template-flexy/attribute/flexyignore.xml:1.2
peardoc/en/package/html/html-template-flexy/attribute/flexyignore.xml:1.3
--- peardoc/en/package/html/html-template-flexy/attribute/flexyignore.xml:1.2 Mon Mar 10 17:27:43
2003
+++ peardoc/en/package/html/html-template-flexy/attribute/flexyignore.xml Mon Apr 7 11:50:29 2003
@@ -1,7 +1,7 @@
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="package.html.html-template-flexy.attribute.flexyignore">
<refnamediv>
- <refname>FLEXYIGNORE</refname>
+ <refname>flexy:ignore</refname>
<refpurpose>Prevent Automatic form value replacement</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -10,7 +10,7 @@
<funcprototype>
<funcdef>
<function>Usage</function></funcdef>
- <paramdef><parameter>FLEXYIGNORE</parameter></paramdef>
+ <paramdef><parameter>flexy:ignore</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
@@ -31,7 +31,7 @@
<example>
- <title>Template with flexyignore</title>
+ <title>Template with flexy:ignore</title>
<programlisting role="html">
<![CDATA[
@@ -40,13 +40,13 @@
<input name="theinput2" value="dummy">
</form>
-<form name="theform2" flexyignore>
+<form name="theform2" flexy:ignore>
<input name="theinput" value="dummy">
<input name="theinput2" value="dummy">
</form>
<form name="theform2">
- <input name="theinput" value="dummy" flexyignore>
+ <input name="theinput" value="dummy" flexy:ignore>
<input name="theinput2" value="dummy">
</form>
@@ -58,24 +58,23 @@
<title>Compiled template</title>
<programlisting role="html">
<![CDATA[
-
-<FORM NAME="theform">
- <INPUT NAME="theinput" VALUE="<?php echo
htmlspecialchars($t->theform->theinput); ?>"><?php
- if (isset($this->errors['theform.theinput'])) { echo
htmlspecialchars($this->errors['theform.theinput']); } ?>
- <INPUT NAME="theinput2" VALUE="<?php echo
htmlspecialchars($t->theform->theinput2); ?>"><?php
- if (isset($this->errors['theform.theinput2'])) { echo
htmlspecialchars($this->errors['theform.theinput2']); } ?>
-</FORM>
+
+<?php $this->setActiveQuickForm(0);echo $this->quickform->formHeadToHtml(); ?>
+ <?php echo $this->quickform->elementToHtml("theinput"); ?>
+ <?php echo $this->quickform->elementToHtml("theinput2"); ?>
+</form>
<FORM NAME="theform2">
<INPUT NAME="theinput" VALUE="dummy">
<INPUT NAME="theinput2" VALUE="dummy">
</FORM>
-<FORM NAME="theform2">
+<?php $this->setActiveQuickForm(1);echo $this->quickform->formHeadToHtml(); ?>
<INPUT NAME="theinput" VALUE="dummy">
- <INPUT NAME="theinput2" VALUE="<?php echo
htmlspecialchars($t->theform2->theinput2); ?>"><?php
- if (isset($this->errors['theform2.theinput2'])) { echo
htmlspecialchars($this->errors['theform2.theinput2']); } ?>
-</FORM>
+ <?php echo $this->quickform->elementToHtml("theinput2"); ?>
+</form>
+
+
]]>
</programlisting>