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 --- .../pages/ActiveControls/ActiveControl.php | 86 +++++++++++----------- 1 file changed, 43 insertions(+), 43 deletions(-) (limited to 'tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php') diff --git a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php index b2dd2233..322f4db7 100644 --- a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php +++ b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php @@ -1,43 +1,43 @@ -label1->setText("The time is ".time()." from ".$sender->ID); - $this->label1->setForeColor($this->getColor()); - $this->label1->renderControl($param->getOutput()); - - $this->button2->setEnabled(true); - - $this->panel2->setVisible(true); - $this->panel1->setBackColor($this->getColor()); - $this->panel1->renderControl($param->getOutput()); - $this->getCallbackClient()->shake($this->panel1); - } - - public function onButtonClicked($sender, $param) - { - $this->label2->setText("Muahaha !!! the time is ".time()." from ".$sender->ID); - } - - public function fastResponse($sender, $param) - { - $this->button2->setEnabled(false); - $style['color'] = $this->getColor(); - $this->getCallbackClient()->setStyle($this->label2, $style); - $this->getCallbackClient()->shake($this->label2); - } - - private function getColor() - { - return self::$_colors[rand(0,count(self::$_colors)-1)]; - } -} -?> +label1->setText("The time is ".time()." from ".$sender->ID); + $this->label1->setForeColor($this->getColor()); + $this->label1->renderControl($param->getOutput()); + + $this->button2->setEnabled(true); + + $this->panel2->setVisible(true); + $this->panel1->setBackColor($this->getColor()); + $this->panel1->renderControl($param->getOutput()); + $this->getCallbackClient()->shake($this->panel1); + } + + public function onButtonClicked($sender, $param) + { + $this->label2->setText("Muahaha !!! the time is ".time()." from ".$sender->ID); + } + + public function fastResponse($sender, $param) + { + $this->button2->setEnabled(false); + $style['color'] = $this->getColor(); + $this->getCallbackClient()->setStyle($this->label2, $style); + $this->getCallbackClient()->shake($this->label2); + } + + private function getColor() + { + return self::$_colors[rand(0,count(self::$_colors)-1)]; + } +} +?> -- cgit v1.2.3