diff options
author | wei <> | 2006-09-14 00:47:58 +0000 |
---|---|---|
committer | wei <> | 2006-09-14 00:47:58 +0000 |
commit | 2606b91b9f25799fc652aa1eba9dd6bcc32cfcbd (patch) | |
tree | 8512822c5b378adb9bb98734faeede225288f6f8 /framework/Web/UI | |
parent | 44fd6e5bfed1f5a7233f13459022f7881e348eaf (diff) |
Make it easier to customise the look of the date picker using CssClass property.
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/WebControls/TDatePicker.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TDatePicker.php b/framework/Web/UI/WebControls/TDatePicker.php index 86d119ac..b435324d 100644 --- a/framework/Web/UI/WebControls/TDatePicker.php +++ b/framework/Web/UI/WebControls/TDatePicker.php @@ -451,6 +451,7 @@ class TDatePicker extends TTextBox $options['FirstDayOfWeek'] = $this->getFirstDayOfWeek();
if(($cssClass=$this->getCssClass())!=='')
$options['ClassName'] = $cssClass;
+ $options['CalendarStyle'] = $this->getCalendarStyle();
$options['FromYear'] = $this->getFromYear();
$options['UpToYear'] = $this->getUpToYear();
if($this->getMode()!==TDatePickerMode::Basic)
|