cvs: pear /HTML_QuickForm_Renderer_Tableless package2.xml /HTML_QuickForm_Renderer_Tableless/data stylesheet.css
/HTML_QuickForm_Renderer_Tableless/docs/examples contact.php
| From: | Mark Wiesemann | Date: | Mon, 23 Apr 2007 17:19:16 +0000 |
| Subject: | cvs: pear /HTML_QuickForm_Renderer_Tableless package2.xml /HTML_QuickForm_Renderer_Tableless/data stylesheet.css /HTML_QuickForm_Renderer_Tableless/docs/examples contact.php |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-46113@lists.php.net to get a copy of this message | ||
wiesemann Mon Apr 23 17:19:16 2007 UTC
Modified files:
/pear/HTML_QuickForm_Renderer_Tableless package2.xml
/pear/HTML_QuickForm_Renderer_Tableless/data stylesheet.css
/pear/HTML_QuickForm_Renderer_Tableless/docs/examples contact.php
Log:
- change width of fieldset / legend tags
- update dependencies
- update changelog
- prepare for release
http://cvs.php.net/viewvc.cgi/pear/HTML_QuickForm_Renderer_Tableless/package2.xml?r1=1.22&r2=1.23&diff_format=u
Index: pear/HTML_QuickForm_Renderer_Tableless/package2.xml
diff -u pear/HTML_QuickForm_Renderer_Tableless/package2.xml:1.22
pear/HTML_QuickForm_Renderer_Tableless/package2.xml:1.23
--- pear/HTML_QuickForm_Renderer_Tableless/package2.xml:1.22 Mon Dec 4 20:29:37 2006
+++ pear/HTML_QuickForm_Renderer_Tableless/package2.xml Mon Apr 23 17:19:16 2007
@@ -19,11 +19,11 @@
<email>wiesemann@php.net</email>
<active>yes</active>
</lead>
- <date>2006-12-04</date>
- <time>21:30:00</time>
+ <date>2007-04-23</date>
+ <time>19:20:00</time>
<version>
- <release>0.4.3</release>
- <api>0.4.0</api>
+ <release>0.5.0</release>
+ <api>0.5.0</api>
</version>
<stability>
<release>beta</release>
@@ -31,15 +31,21 @@
</stability>
<license>New BSD</license>
<notes>
-The "height: 1px;" style was removed from "form fieldset li" block in the
-stylesheet to achieve layout compatibility with Windows Internet Explorer 7.
+It is now possible to add attributes to the fieldset tags. A short example:
-WARNING: This breaks layout compatibility with Firefox 1.x browsers (Firefox 2.0
-still works as expected). The FAQ for this package in the PEAR manual contains
-solutions for getting Firefox 1.x compatibility.
+$form->addElement('header', 'header', 'A new fieldset');
+$header =& $form->getElement('header');
+$header->setAttribute('style', 'border: 2px dashed blue;');
-(thanks to Brett Bieber and Alvin Woon for investigation on the layout issues
-and the provided solutions)
+(Setting the attributes via addElement() is not possible for 'header' elements.)
+
+To add the attributes to the fieldset tags, the template variable {attributes}
+was added into the "openFieldsetTemplate".
+
+To avoid problems with nested fieldsets, the fieldset and the legend tag have
+now "100%" instead of "560px" width. If you want to use nested fieldsets, you
+should consider re-enabling the border in the "form fieldset" block of the
+stylesheet.
</notes>
<contents>
<dir name="/">
@@ -60,21 +66,20 @@
<dir name="data">
<file name="stylesheet.css" role="data" />
</dir> <!-- /data -->
- <file name="LICENSE" role="doc" />
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
- <min>4.2</min>
+ <min>4.3</min>
</php>
<pearinstaller>
- <min>1.4.9</min>
+ <min>1.5.0</min>
</pearinstaller>
<package>
<name>HTML_QuickForm</name>
<channel>pear.php.net</channel>
- <min>3.2.6</min>
+ <min>3.2.7</min>
</package>
</required>
</dependencies>
http://cvs.php.net/viewvc.cgi/pear/HTML_QuickForm_Renderer_Tableless/data/stylesheet.css?r1=1.10&r2=1.11&diff_format=u
Index: pear/HTML_QuickForm_Renderer_Tableless/data/stylesheet.css
diff -u pear/HTML_QuickForm_Renderer_Tableless/data/stylesheet.css:1.10
pear/HTML_QuickForm_Renderer_Tableless/data/stylesheet.css:1.11
--- pear/HTML_QuickForm_Renderer_Tableless/data/stylesheet.css:1.10 Mon Dec 4 20:29:37 2006
+++ pear/HTML_QuickForm_Renderer_Tableless/data/stylesheet.css Mon Apr 23 17:19:16 2007
@@ -10,7 +10,7 @@
float: left;
border: 0;
margin: 0;
- width: 560px;
+ width: 100%;
}
form fieldset.hidden {
border: 0;
@@ -19,7 +19,7 @@
white-space: nowrap;
background-color: #CCCCCC;
font-weight: bold;
- width: 560px;
+ width: 100%;
padding: 1px;
display: block;
}
http://cvs.php.net/viewvc.cgi/pear/HTML_QuickForm_Renderer_Tableless/docs/examples/contact.php?r1=1.12&r2=1.13&diff_format=u
Index: pear/HTML_QuickForm_Renderer_Tableless/docs/examples/contact.php
diff -u pear/HTML_QuickForm_Renderer_Tableless/docs/examples/contact.php:1.12
pear/HTML_QuickForm_Renderer_Tableless/docs/examples/contact.php:1.13
--- pear/HTML_QuickForm_Renderer_Tableless/docs/examples/contact.php:1.12 Mon Dec 4 20:29:37 2006
+++ pear/HTML_QuickForm_Renderer_Tableless/docs/examples/contact.php Mon Apr 23 17:19:16 2007
@@ -24,7 +24,7 @@
float: left;
border: 0;
margin: 0;
- width: 560px;
+ width: 100%;
}
form fieldset.hidden {
border: 0;
@@ -33,7 +33,7 @@
white-space: nowrap;
background-color: #CCCCCC;
font-weight: bold;
- width: 560px;
+ width: 100%;
padding: 1px;
display: block;
}