summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TColorPicker.php
diff options
context:
space:
mode:
authorxue <>2006-03-06 05:03:44 +0000
committerxue <>2006-03-06 05:03:44 +0000
commit4a244c109126fcec5ef43b185225d094e166e29a (patch)
treec3c577270b2f6c66499f5e8296f8e46717d34200 /framework/Web/UI/WebControls/TColorPicker.php
parentb423ccc70198d2a73f991fc5a55f089d9e195082 (diff)
small fixes to prepare for beta release
Diffstat (limited to 'framework/Web/UI/WebControls/TColorPicker.php')
-rw-r--r--framework/Web/UI/WebControls/TColorPicker.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TColorPicker.php b/framework/Web/UI/WebControls/TColorPicker.php
index fda6bced..c417ea2d 100644
--- a/framework/Web/UI/WebControls/TColorPicker.php
+++ b/framework/Web/UI/WebControls/TColorPicker.php
@@ -1,4 +1,14 @@
<?php
+/**
+ * TColorPicker class file
+ *
+ * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
+ * @link http://www.pradosoft.com/
+ * @copyright Copyright &copy; 2005 PradoSoft
+ * @license http://www.pradosoft.com/license/
+ * @version $Revision: $ $Date: $
+ * @package System.Web.UI.WebControls
+ */
/**
* TColorPicker class.
@@ -210,7 +220,7 @@ class TColorPicker extends TTextBox
$writer->addAttribute('id', $this->getClientID().'_button');
$writer->addAttribute('src', $images['button.gif']);
- if($color != '')
+ if($color !== '')
$writer->addAttribute('style', "background-color:{$color};");
$writer->addAttribute('width', '20');
$writer->addAttribute('height', '20');