summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Layout.php
blob: 0e549fa769fa35faf92d980dab17032d9a371daa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

class Layout extends TTemplateControl
{
	public function onLoad($param)
	{
		$num = str_replace('Ticket','',$this->getPage()->getPagePath());
		$this->getPage()->setTitle("Verifying Ticket $num");
		$this->ticketlink->setText("Verifying Ticket $num");
		$this->ticketlink->setNavigateUrl("http://trac.pradosoft.com/prado/ticket/{$num}");
	}
}

?>