From 5d02ac2219c95459afb8f7dc7a0457b5c0e98fd0 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 20 Apr 2006 17:06:59 +0000 Subject: Fixed #138 and an error in HTML entity representation for double quotes. --- framework/Web/UI/WebControls/THtmlArea.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls/THtmlArea.php') diff --git a/framework/Web/UI/WebControls/THtmlArea.php b/framework/Web/UI/WebControls/THtmlArea.php index 7ad2d06f..038c7368 100644 --- a/framework/Web/UI/WebControls/THtmlArea.php +++ b/framework/Web/UI/WebControls/THtmlArea.php @@ -10,6 +10,11 @@ * @package System.Web.UI */ +/** + * Includes TTextBox class + */ +Prado::using('System.Web.UI.WebControls.TTextBox'); + /** * THtmlArea class * @@ -73,7 +78,8 @@ */ class THtmlArea extends TTextBox { - protected $langs = array( + // Qiang: need to clean up the following (too inefficient) + private $langs = array( 'da' => array('da'), 'fa' => array('fa'), 'hu' => array('hu'), @@ -310,6 +316,7 @@ class THtmlArea extends TTextBox if(count($variants) == 0) $variants[] = empty($culture) ? 'en' : strtolower($culture); + // TODO: triple loops??? foreach($this->langs as $js => $langs) { foreach($variants as $variant) -- cgit v1.2.3