[ANNOUNCEMENT] HTML_QuickForm_Renderer_Tableless-0.3.1 (alpha) Released.
| From: | PEAR Announce | Date: | Tue, 18 Jul 2006 14:27:12 +0000 |
| Subject: | [ANNOUNCEMENT] HTML_QuickForm_Renderer_Tableless-0.3.1 (alpha) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-24684@lists.php.net to get a copy of this message | ||
The new PEAR package HTML_QuickForm_Renderer_Tableless-0.3.1 (alpha) has been released at http://pear.php.net/.
Release notes
-------------
- Bug #8222: several fixes to get valid XHTML code:
* a fieldset tag is now only closed if a fieldset tag is open
* the (internal) open fieldset status variable is now resetted for a second
(third, ...) form on the same page
* QuickForm's internal hidden fields are not put into an invisible div
(=> the form template has changed)
* every other element is now put into a fieldset; elements that were outside
a fieldset in the last releases are now in a "hidden" fieldset (using a new
template that can be changed via setOpenHiddenFieldsetTemplate(), and using
a new CSS style 'form fieldset.hidden' in data/stylesheet.css)
(thanks to Daniel Maglione, danielmaglione at gmail dot com)
- Request #8236: the template for the opening fieldset tag now includes a variable
for an id which is filled with the name of the header element (if given)
(thanks to v8kf6x11fb5v06l at jetable dot org)
Package Info
-------------
A replacement for the default renderer of HTML_QuickForm that uses only XHTML and CSS but no table
tags.
Usage: Just copy (and modify if you want) the stylesheet and do something like this:
require_once 'HTML/QuickForm.php';
require_once 'HTML/QuickForm/Renderer/Tableless.php';
$form =& new HTML_QuickForm();
$renderer =& new HTML_QuickForm_Renderer_Tableless();
// usual code, e.g. new form fields, rules, ...
$form->accept($renderer);
echo $renderer->toHtml();
Related Links
-------------
Package home: http://pear.php.net/package/HTML_QuickForm_Renderer_Tableless
Changelog: http://pear.php.net/package/HTML_QuickForm_Renderer_Tableless/download/0.3.1
Download: http://pear.php.net/get/HTML_QuickForm_Renderer_Tableless-0.3.1.tgz
Authors
-------------
Mark Wiesemann <wiesemann@php.net> (lead)