diff options
author | xue <> | 2006-04-20 17:09:09 +0000 |
---|---|---|
committer | xue <> | 2006-04-20 17:09:09 +0000 |
commit | c54a230a5926086ff1b69a0dd7e6352dbc0b40ff (patch) | |
tree | 4006daa2f5f5d0cfb90ebc028b9820b077df4a69 /framework/Web/UI/WebControls/THtmlArea.php | |
parent | 3ff35ae583c52e54418a61cabf3282c00a8039d1 (diff) |
Merge from 3.0 branch till 947.
Diffstat (limited to 'framework/Web/UI/WebControls/THtmlArea.php')
-rw-r--r-- | framework/Web/UI/WebControls/THtmlArea.php | 9 |
1 files changed, 8 insertions, 1 deletions
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 @@ -11,6 +11,11 @@ */
/**
+ * Includes TTextBox class
+ */
+Prado::using('System.Web.UI.WebControls.TTextBox');
+
+/**
* THtmlArea class
*
* THtmlArea wraps the visual editting functionalities provided by the
@@ -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)
|