diff options
author | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
commit | 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch) | |
tree | e08bf04f0823650a231227ac3499121270172a23 /tests/FunctionalTests/tickets/protected/pages/Layout.php | |
parent | 3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff) |
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Layout.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Layout.php | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Layout.php b/tests/FunctionalTests/tickets/protected/pages/Layout.php index 6d455371..da23db77 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Layout.php +++ b/tests/FunctionalTests/tickets/protected/pages/Layout.php @@ -1,23 +1,23 @@ -<?php
-
-class Layout extends TTemplateControl
-{
- public function onLoad($param)
- {
- $num = str_replace(array('Ticket', 'Issue'), '', $this->getPage()->getPagePath());
- $type = str_replace($num, '', $this->getPage()->getPagePath());
-
- $this->getPage()->setTitle("Verifying $type $num");
- $this->ticketlink->setText("Verifying $type $num");
-
- if(strToLower($type) === 'issue') {
- $this->ticketlink->setNavigateUrl("http://code.google.com/p/prado3/issues/detail?id={$num}");
- }
- else {
- $this->ticketlink->setNavigateUrl("http://trac.pradosoft.com/prado/ticket/{$num}");
- }
-
- }
-}
-
+<?php + +class Layout extends TTemplateControl +{ + public function onLoad($param) + { + $num = str_replace(array('Ticket', 'Issue'), '', $this->getPage()->getPagePath()); + $type = str_replace($num, '', $this->getPage()->getPagePath()); + + $this->getPage()->setTitle("Verifying $type $num"); + $this->ticketlink->setText("Verifying $type $num"); + + if(strToLower($type) === 'issue') { + $this->ticketlink->setNavigateUrl("http://code.google.com/p/prado3/issues/detail?id={$num}"); + } + else { + $this->ticketlink->setNavigateUrl("http://trac.pradosoft.com/prado/ticket/{$num}"); + } + + } +} + ?>
\ No newline at end of file |