diff options
author | xue <> | 2007-07-25 14:55:21 +0000 |
---|---|---|
committer | xue <> | 2007-07-25 14:55:21 +0000 |
commit | da9075fb882be335d425a4bc94bd59c1a9876056 (patch) | |
tree | 5184707368b74ecf15291bad8ffa516f52d72c4b /framework/Web/UI | |
parent | 2116c42f90f674f62ef2d56e961ba9b7137b573d (diff) |
Added TTabPanel.
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/TClientScriptManager.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php index 5f924397..cd8826dc 100644 --- a/framework/Web/UI/TClientScriptManager.php +++ b/framework/Web/UI/TClientScriptManager.php @@ -605,14 +605,15 @@ class TClientScriptManager extends TApplicationComponent $str=''; foreach($this->_hiddenFields as $name=>$value) { + $id=strtr($name,':','_'); if(is_array($value)) { foreach($value as $v) - $str.='<input type="hidden" name="'.$name.'[]" id="'.$name.'" value="'.THttpUtility::htmlEncode($value)."\" />\n"; + $str.='<input type="hidden" name="'.$name.'[]" id="'.$id.'" value="'.THttpUtility::htmlEncode($value)."\" />\n"; } else { - $str.='<input type="hidden" name="'.$name.'" id="'.$name.'" value="'.THttpUtility::htmlEncode($value)."\" />\n"; + $str.='<input type="hidden" name="'.$name.'" id="'.$id.'" value="'.THttpUtility::htmlEncode($value)."\" />\n"; } } if($str!=='') |