blob: 7f3ee50665d6c6f2ba63931f49082222bf9a92a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?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");
$this->ticketlink->setNavigateUrl("https://github.com/pradosoft/prado/issues/{$num}");
}
}
|