function OutputRow(&$row) { if (empty($this->parser)) { $this->parser = new FSSParser(); } $row->customfields = $this->customfields; if (!property_exists($this->parser, "priorities")) { $this->parser->priorities = $this->get('priorities'); } if (empty($this->db_time)) { $this->getDBTime(); } $this->parser->userid = $this->userid; $this->parser->db_time = $this->db_time; /*if ($this->layoutpreview) { $this->parser->Load('preview',0); } else {*/ $this->parser->Load(FSS_Settings::get('support_user_template'), 0); //} $this->parser->customfields = $this->customfields; FSSParserTicket::forUser($this->parser, $row); if ($this->cst) { if ($this->cst->is_closed) { $this->parser->SetVar('view', 'closed'); } if ($this->cst->def_archive) { $this->parser->SetVar('view', 'archived'); } } echo $this->parser->Parse(); }