cvs: pear /HTML_QuickForm_Livesearch livesearch_select.php
| From: | Giuseppe Dess� | Date: | Sun, 09 Apr 2006 13:46:52 +0000 |
| Subject: | cvs: pear /HTML_QuickForm_Livesearch livesearch_select.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-39505@lists.php.net to get a copy of this message | ||
thesee Sun Apr 9 13:46:52 2006 UTC
Modified files:
/pear/HTML_QuickForm_Livesearch livesearch_select.php
Log:
single quote issueon liveform variable
http://cvs.php.net/viewcvs.cgi/pear/HTML_QuickForm_Livesearch/livesearch_select.php?r1=1.6&r2=1.7&diff_format=u
Index: pear/HTML_QuickForm_Livesearch/livesearch_select.php
diff -u pear/HTML_QuickForm_Livesearch/livesearch_select.php:1.6
pear/HTML_QuickForm_Livesearch/livesearch_select.php:1.7
--- pear/HTML_QuickForm_Livesearch/livesearch_select.php:1.6 Thu Apr 6 08:53:44 2006
+++ pear/HTML_QuickForm_Livesearch/livesearch_select.php Sun Apr 9 13:46:52 2006
@@ -13,7 +13,7 @@
// +----------------------------------------------------------------------+
// | Author: Giuseppe Dessì <thesee@fastwebnet.it> |
// +----------------------------------------------------------------------+
-// $Id: livesearch_select.php,v 1.6 2006/04/06 08:53:44 thesee Exp $
+// $Id: livesearch_select.php,v 1.7 2006/04/09 13:46:52 thesee Exp $
/**
* Class to dynamically create an HTML input text element that
@@ -168,12 +168,12 @@
if ($this->_flagFrozen) {
$liveform = '';
} else {
- $liveform .= "
-<div{$divstyle}id=\"".$this->getName()."Result\">
-
<ul{$ulstyle}id=\"target_".$this->_options['elementId']."\">
- <li".$listyle."> </li>
+ $liveform .= '
+<div'.$divstyle.'id="'.$this->getName().'Result">
+
<ul'.$ulstyle.'id="target_'.$this->_options['elementId'].'">
+ <li'.$listyle.'> </li>
</ul>
-</div>";
+</div>';
if (!defined('HTML_QUICKFORM_LIVESEARCH_EXISTS')) {
$scriptLoad = <<<EOS
<style type="text/css">