blob: 2e18fd5416c589efed331cd4658e64bab4aade75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
class Ticket278 extends TPage
{
function validator2_onValidate($sender, $param)
{
$sender->Enabled = $this->check1->Checked;
}
function validate2_onPostValidate($sender, $param)
{
$sender->Enabled = true;
}
function onPreRender($param)
{
parent::onPreRender($param);
$this->panel1->Style =
$this->check1->Checked ? "display:block" : "display:none";
}
}
?>
|