cvs: pear /HTML_QuickForm/QuickForm element.php

From: Date: Fri, 14 Jun 2002 13:14:07 +0000
Subject: cvs: pear /HTML_QuickForm/QuickForm element.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-4614@lists.php.net to get a copy of this message
mansion Fri Jun 14 09:14:07 2002 EDT Modified files: /pear/HTML_QuickForm/QuickForm element.php Log: N/A (not available) become &nbsp; because it is more neutral (for display and language) when element value is empty and frozen. Index: pear/HTML_QuickForm/QuickForm/element.php diff -u pear/HTML_QuickForm/QuickForm/element.php:1.3 pear/HTML_QuickForm/QuickForm/element.php:1.4 --- pear/HTML_QuickForm/QuickForm/element.php:1.3 Fri May 31 04:25:22 2002 +++ pear/HTML_QuickForm/QuickForm/element.php Fri Jun 14 09:14:07 2002 @@ -17,9 +17,9 @@ // | Bertrand Mansion <bmansion@mamasam.com> | // +----------------------------------------------------------------------+ // -// $Id: element.php,v 1.3 2002/05/31 08:25:22 mansion Exp $ +// $Id: element.php,v 1.4 2002/06/14 13:14:07 mansion Exp $ -require_once("HTML/Common.php"); +require_once('HTML/Common.php'); /** * Base class for form elements @@ -41,7 +41,7 @@ * @since 1.3 * @access private */ - var $_label = ""; + var $_label = ''; /** * Form element type @@ -231,7 +231,7 @@ if (!empty($value)) { $html = $value; } else { - $html = 'N/A'; + $html = '&nbsp;'; } if ($this->_persistantFreeze) { $html .= '<input type="hidden" name="' . @@ -328,7 +328,7 @@ function onQuickFormEvent($event, $arg, &$callerLocal) { global $caller; - // make it global so we can access it any of the other methods if needed + // make it global so we can access it in any of the other methods if needed $caller = $callerLocal; $className = get_class($this); switch ($event) {

« previous php.pear.cvs (#4614) next »