summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Layout.php
blob: 64b0aebe2e0b4d505e075ed9088dcd9c1548c559 (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','',get_class($this->getPage()));
		$this->getPage()->setTitle("Verifying Ticket $num");
		$this->ticketlink->setText("Verifying Ticket $num");
		$this->ticketlink->setNavigateUrl("http://trac.pradosoft.com/ticket/{$num}");
	}
}

?>