3 require_once 'Pman.php';
5 class Pman_MTrack_View extends Pman
7 var $masterTemplate = 'view.html';
10 if (!$this->getAuthUser()) {
11 $this->jerr("invalid url (no auth)");
14 function get($id = '', $opts=array())
17 $t = DB_DAtaObject::factory('mtrack_ticket');
19 if (empty($id) || !$t->get($id)) {
20 $this->jerr('invalid ticket');
22 if (!$t->checkPerm('S', $this->authUser)) {
23 $this->jerr("access denied");
26 // comments... // images..