|
cvs: pear /HTML_QuickForm/QuickForm advcheckbox.php: msg#00613php.cvs.pear
mansion Fri Sep 27 07:49:28 2002 EDT Modified files: /pear/HTML_QuickForm/QuickForm advcheckbox.php Log: Use $_POST and $_GET. Index: pear/HTML_QuickForm/QuickForm/advcheckbox.php diff -u pear/HTML_QuickForm/QuickForm/advcheckbox.php:1.2 pear/HTML_QuickForm/QuickForm/advcheckbox.php:1.3 --- pear/HTML_QuickForm/QuickForm/advcheckbox.php:1.2 Wed Aug 7 04:21:08 2002 +++ pear/HTML_QuickForm/QuickForm/advcheckbox.php Fri Sep 27 07:49:27 2002 @@ -17,7 +17,7 @@ // | Bertrand Mansion <bmansion@xxxxxxxxxxx> | // +----------------------------------------------------------------------+ // -// $Id: advcheckbox.php,v 1.2 2002/08/07 08:21:08 mansion Exp $ +// $Id: advcheckbox.php,v 1.3 2002/09/27 11:49:27 mansion Exp $ require_once('HTML/QuickForm/checkbox.php'); @@ -192,7 +192,7 @@ // by GET/POST, defaultValue, or constantValue // run it through the input constructor again with the new name HTML_QuickForm_input::HTML_QuickForm_input($newName, $this->getLabel(), $this->getAttributes()); - $vars = array_merge($GLOBALS['HTTP_GET_VARS'], $GLOBALS['HTTP_POST_VARS']); + $vars = array_merge($_GET, $_POST); if (isset($vars[$oldName]) && $vars[$oldName] == $this->_values[1]) { $this->setChecked(true); } -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cvs: pear /HTML_QuickForm/QuickForm element.php: 00613, Bertrand Mansion |
|---|---|
| Next by Date: | cvs: pear /HTML_QuickForm/QuickForm group.php: 00613, Bertrand Mansion |
| Previous by Thread: | cvs: pear /HTML_QuickForm/QuickForm element.phpi: 00613, Bertrand Mansion |
| Next by Thread: | cvs: pear /HTML_QuickForm/QuickForm radio.php: 00613, Bertrand Mansion |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |