cvs: pear /HTML_QuickForm QuickForm.php
| From: | Bertrand Mansion | Date: | Sat, 01 Feb 2003 19:14:39 +0000 |
| Subject: | cvs: pear /HTML_QuickForm QuickForm.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8648@lists.php.net to get a copy of this message | ||
mansion Sat Feb 1 14:14:39 2003 EDT
Modified files:
/pear/HTML_QuickForm QuickForm.php
Log:
Removed extra tabs created when wrapping the form so that preformatted frozen elements display
right.
Index: pear/HTML_QuickForm/QuickForm.php
diff -u pear/HTML_QuickForm/QuickForm.php:1.54 pear/HTML_QuickForm/QuickForm.php:1.55
--- pear/HTML_QuickForm/QuickForm.php:1.54 Sat Feb 1 13:32:37 2003
+++ pear/HTML_QuickForm/QuickForm.php Sat Feb 1 14:14:39 2003
@@ -17,7 +17,7 @@
// | Bertrand Mansion <bmansion@mamasam.com> |
// +----------------------------------------------------------------------+
//
-// $Id: QuickForm.php,v 1.54 2003/02/01 18:32:37 mansion Exp $
+// $Id: QuickForm.php,v 1.55 2003/02/01 19:14:39 mansion Exp $
require_once('PEAR.php');
require_once('HTML/Common.php');
@@ -1038,9 +1038,7 @@
$html = '';
$html = str_replace('{attributes}',
$this->_getAttrString($this->_attributes), $this->_formTemplate);
- $tabs = $this->_getTabs();
$html = str_replace('{content}', $content, $html);
- $html = str_replace("\n", "\n$tabs\t", $html);
return $html;
} // end func _wrapForm