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 --- .../validators/protected/pages/Button.php | 52 +++++++++++----------- .../validators/protected/pages/CheckBox.php | 52 +++++++++++----------- .../protected/pages/ConditionalValidation.php | 40 ++++++++--------- .../validators/protected/pages/CustomValidator.php | 28 ++++++------ .../validators/protected/pages/ImageButton.php | 52 +++++++++++----------- .../validators/protected/pages/Layout.php | 12 ++--- .../validators/protected/pages/LinkButton.php | 52 +++++++++++----------- 7 files changed, 144 insertions(+), 144 deletions(-) (limited to 'tests/FunctionalTests/validators/protected/pages') diff --git a/tests/FunctionalTests/validators/protected/pages/Button.php b/tests/FunctionalTests/validators/protected/pages/Button.php index 3dbbc7d6..94aaf6c8 100644 --- a/tests/FunctionalTests/validators/protected/pages/Button.php +++ b/tests/FunctionalTests/validators/protected/pages/Button.php @@ -1,27 +1,27 @@ -Result1->Text="Button1 is clicked"; - if($this->IsValid) - $this->Result1->Text.=' and valid'; - } - - public function button2Clicked($sender,$param) - { - $this->Result2->Text="Button2 is clicked"; - if($this->IsValid) - $this->Result2->Text.=' and valid'; - } - - public function button3Clicked($sender,$param) - { - $this->Result3->Text="Button3 is clicked"; - if($this->IsValid) - $this->Result3->Text.=' and valid'; - } -} - +Result1->Text="Button1 is clicked"; + if($this->IsValid) + $this->Result1->Text.=' and valid'; + } + + public function button2Clicked($sender,$param) + { + $this->Result2->Text="Button2 is clicked"; + if($this->IsValid) + $this->Result2->Text.=' and valid'; + } + + public function button3Clicked($sender,$param) + { + $this->Result3->Text="Button3 is clicked"; + if($this->IsValid) + $this->Result3->Text.=' and valid'; + } +} + ?> \ No newline at end of file diff --git a/tests/FunctionalTests/validators/protected/pages/CheckBox.php b/tests/FunctionalTests/validators/protected/pages/CheckBox.php index 700ac171..f29792e0 100644 --- a/tests/FunctionalTests/validators/protected/pages/CheckBox.php +++ b/tests/FunctionalTests/validators/protected/pages/CheckBox.php @@ -1,27 +1,27 @@ -Result1->Text="Button1 is clicked"; - if($this->IsValid) - $this->Result1->Text.=' and valid'; - } - - public function button2Clicked($sender,$param) - { - $this->Result2->Text="Button2 is clicked"; - if($this->IsValid) - $this->Result2->Text.=' and valid'; - } - - public function button3Clicked($sender,$param) - { - $this->Result3->Text="Button3 is clicked"; - if($this->IsValid) - $this->Result3->Text.=' and valid'; - } -} - +Result1->Text="Button1 is clicked"; + if($this->IsValid) + $this->Result1->Text.=' and valid'; + } + + public function button2Clicked($sender,$param) + { + $this->Result2->Text="Button2 is clicked"; + if($this->IsValid) + $this->Result2->Text.=' and valid'; + } + + public function button3Clicked($sender,$param) + { + $this->Result3->Text="Button3 is clicked"; + if($this->IsValid) + $this->Result3->Text.=' and valid'; + } +} + ?> \ No newline at end of file diff --git a/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php b/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php index 7756566c..83546617 100644 --- a/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php +++ b/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php @@ -1,20 +1,20 @@ -enabled = $this->check1->checked; - } - - function onPreRender($param) - { - //always re-enable the validator2 so as to display the client-side validator - $this->validator2->enabled=true; - } -} - -?> +enabled = $this->check1->checked; + } + + function onPreRender($param) + { + //always re-enable the validator2 so as to display the client-side validator + $this->validator2->enabled=true; + } +} + +?> diff --git a/tests/FunctionalTests/validators/protected/pages/CustomValidator.php b/tests/FunctionalTests/validators/protected/pages/CustomValidator.php index ed1f9433..b56a9d8b 100644 --- a/tests/FunctionalTests/validators/protected/pages/CustomValidator.php +++ b/tests/FunctionalTests/validators/protected/pages/CustomValidator.php @@ -1,14 +1,14 @@ -isValid = $this->text1->Text == "Prado"; - } -} - -?> +isValid = $this->text1->Text == "Prado"; + } +} + +?> diff --git a/tests/FunctionalTests/validators/protected/pages/ImageButton.php b/tests/FunctionalTests/validators/protected/pages/ImageButton.php index ecedd5bf..65392b75 100644 --- a/tests/FunctionalTests/validators/protected/pages/ImageButton.php +++ b/tests/FunctionalTests/validators/protected/pages/ImageButton.php @@ -1,27 +1,27 @@ -Result1->Text="Button1 is clicked"; - if($this->IsValid) - $this->Result1->Text.=' and valid'; - } - - public function button2Clicked($sender,$param) - { - $this->Result2->Text="Button2 is clicked"; - if($this->IsValid) - $this->Result2->Text.=' and valid'; - } - - public function button3Clicked($sender,$param) - { - $this->Result3->Text="Button3 is clicked"; - if($this->IsValid) - $this->Result3->Text.=' and valid'; - } -} - +Result1->Text="Button1 is clicked"; + if($this->IsValid) + $this->Result1->Text.=' and valid'; + } + + public function button2Clicked($sender,$param) + { + $this->Result2->Text="Button2 is clicked"; + if($this->IsValid) + $this->Result2->Text.=' and valid'; + } + + public function button3Clicked($sender,$param) + { + $this->Result3->Text="Button3 is clicked"; + if($this->IsValid) + $this->Result3->Text.=' and valid'; + } +} + ?> \ No newline at end of file diff --git a/tests/FunctionalTests/validators/protected/pages/Layout.php b/tests/FunctionalTests/validators/protected/pages/Layout.php index ba96038b..7f5e5802 100644 --- a/tests/FunctionalTests/validators/protected/pages/Layout.php +++ b/tests/FunctionalTests/validators/protected/pages/Layout.php @@ -1,7 +1,7 @@ - \ No newline at end of file diff --git a/tests/FunctionalTests/validators/protected/pages/LinkButton.php b/tests/FunctionalTests/validators/protected/pages/LinkButton.php index 5130dd01..2b5a3c23 100644 --- a/tests/FunctionalTests/validators/protected/pages/LinkButton.php +++ b/tests/FunctionalTests/validators/protected/pages/LinkButton.php @@ -1,27 +1,27 @@ -Result1->Text="Button1 is clicked"; - if($this->IsValid) - $this->Result1->Text.=' and valid'; - } - - public function button2Clicked($sender,$param) - { - $this->Result2->Text="Button2 is clicked"; - if($this->IsValid) - $this->Result2->Text.=' and valid'; - } - - public function button3Clicked($sender,$param) - { - $this->Result3->Text="Button3 is clicked"; - if($this->IsValid) - $this->Result3->Text.=' and valid'; - } -} - +Result1->Text="Button1 is clicked"; + if($this->IsValid) + $this->Result1->Text.=' and valid'; + } + + public function button2Clicked($sender,$param) + { + $this->Result2->Text="Button2 is clicked"; + if($this->IsValid) + $this->Result2->Text.=' and valid'; + } + + public function button3Clicked($sender,$param) + { + $this->Result3->Text="Button3 is clicked"; + if($this->IsValid) + $this->Result3->Text.=' and valid'; + } +} + ?> \ No newline at end of file -- cgit v1.2.3