![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Pear Pear programming, this is a very complex subject as with using pear with php can be a difficult task for some, so lets talk pear. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| wiesemann Sun May 27 19:34:29 2007 UTC Modified files: /pear/HTML_QuickForm_Renderer_Tableless/HTML/QuickForm/Renderer Tableless.php Log: - fix for bug #11164: static elements generate invalid XHTML code http://cvs.php.net/viewvc.cgi/pear/H...&diff_format=u Index: pear/HTML_QuickForm_Renderer_Tableless/HTML/QuickForm/Renderer/Tableless.php diff -u pear/HTML_QuickForm_Renderer_Tableless/HTML/QuickForm/Renderer/Tableless.php:1.23 pear/HTML_QuickForm_Renderer_Tableless/HTML/QuickForm/Renderer/Tableless.php:1.24 --- pear/HTML_QuickForm_Renderer_Tableless/HTML/QuickForm/Renderer/Tableless.php:1.23 Fri May 4 14:24:39 2007 +++ pear/HTML_QuickForm_Renderer_Tableless/HTML/QuickForm/Renderer/Tableless.php Sun May 27 19:34:29 2007 @@ -41,7 +41,7 @@ * @author Bertrand Mansion <bmansion@mamasam.com> * @author Mark Wiesemann <wiesemann@php.net> * @license http://www.opensource.org/licenses/bsd-license.php New BSD License - * @version CVS: $Id: Tableless.php,v 1.23 2007/05/04 14:24:39 wiesemann Exp $ + * @version CVS: $Id: Tableless.php,v 1.24 2007/05/27 19:34:29 wiesemann Exp $ * @link http://pear.php.net/package/HTML_Qui...erer_Tableless */ @@ -206,7 +206,7 @@ } else { $id = $element->getName(); } - if (!empty($id)) { + if ($element->getType() != 'static' && !empty($id)) { $html = str_replace('<label', '<label for="' . $id . '"', $html); $element_html = preg_replace('#name="' . $id . '#', 'id="' . $id . '" name="' . $id, | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: cvs, pear, tablelessphp |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cvs: pearweb /include pear-format-html.php | Greg Beaver | Pear | 0 | 05-27-2007 6:46 PM |
| cvs: pearweb /include pear-format-html.php | David Coallier | Pear | 0 | 05-27-2007 6:46 PM |
| cvs: pearweb /include pear-format-html.php | Greg Beaver | Pear | 0 | 05-27-2007 6:46 PM |
| cvs: pear /HTML_Menu Menu.php MenuBrowser.php package.xml package2.xml /HTML_Menu/Menu ArrayRenderer.php DirectRenderer.php DirectTreeRenderer.php Renderer.php SigmaRenderer.php SigmaTreeRenderer.php /HTML_Menu/examples directtree.php sigma.php sig | Alexey Borzov | Pear | 0 | 05-20-2007 6:42 PM |
| cvs: pearweb /include pear-format-html.php | Mark Wiesemann | Pear | 0 | 05-20-2007 6:42 PM |
| Featured Websites | ||||
|