summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/WebControls/TColorPicker.php4
-rw-r--r--framework/Web/UI/WebControls/TDatePicker.php3
2 files changed, 5 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TColorPicker.php b/framework/Web/UI/WebControls/TColorPicker.php
index c417ea2d..3488c912 100644
--- a/framework/Web/UI/WebControls/TColorPicker.php
+++ b/framework/Web/UI/WebControls/TColorPicker.php
@@ -225,8 +225,8 @@ class TColorPicker extends TTextBox
$writer->addAttribute('width', '20');
$writer->addAttribute('height', '20');
$writer->renderBeginTag('img');
- $writer->renderEndTag('img');
- $writer->renderEndTag('span');
+ $writer->renderEndTag();
+ $writer->renderEndTag();
}
}
diff --git a/framework/Web/UI/WebControls/TDatePicker.php b/framework/Web/UI/WebControls/TDatePicker.php
index 70f116a8..8d6d45e4 100644
--- a/framework/Web/UI/WebControls/TDatePicker.php
+++ b/framework/Web/UI/WebControls/TDatePicker.php
@@ -447,6 +447,7 @@ class TDatePicker extends TTextBox
$writer->renderBeginTag('input');
$writer->renderEndTag();
+ $writer->renderEndTag();
}
protected function hasDayPattern()
@@ -600,6 +601,7 @@ class TDatePicker extends TTextBox
$writer->addAttribute('class', $this->getCssClass().' TDatePickerButton');
$writer->addAttribute('value',$this->getButtonText());
$writer->renderBeginTag("input");
+ $writer->renderEndTag();
}
/**
@@ -614,6 +616,7 @@ class TDatePicker extends TTextBox
$writer->addAttribute('src', $url);
$writer->addAttribute('class', $this->getCssClass().' TDatePickerImageButton');
$writer->renderBeginTag('img');
+ $writer->renderEndTag();
}
/**