From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- .../protected/pages/CustomValidatorByPass.php | 72 +++++++++++----------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php') diff --git a/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php b/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php index 54c99c64..edc68ae4 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php +++ b/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.php @@ -1,37 +1,37 @@ -validator2->getActiveControl()->getClientSide(); - - $Client->setOnLoading('$(\'loginLoader\').show();'); - $Client->setOnComplete('$(\'loginLoader\').hide();'); - - //$Client->setOnValidationError('alert(\'Authentication Failed\');'); - //$Client->setOnValidationSuccess('new Effect.Fade(\'loginBox\')'); - - } - - public function validateUser($sender,$param) - { - $param->IsValid = $this->Password->Text=='test'; - } - - public function doLogin($sender,$param) - { - - /* This isnt even getting called */ - if($this->Page->IsValid) - { - // Re-Render the active panel - } - - } -} - +validator2->getActiveControl()->getClientSide(); + + $Client->setOnLoading('$(\'loginLoader\').show();'); + $Client->setOnComplete('$(\'loginLoader\').hide();'); + + //$Client->setOnValidationError('alert(\'Authentication Failed\');'); + //$Client->setOnValidationSuccess('new Effect.Fade(\'loginBox\')'); + + } + + public function validateUser($sender,$param) + { + $param->IsValid = $this->Password->Text=='test'; + } + + public function doLogin($sender,$param) + { + + /* This isnt even getting called */ + if($this->Page->IsValid) + { + // Re-Render the active panel + } + + } +} + ?> \ No newline at end of file -- cgit v1.2.3