changelog); return htmlspecialchars($one); } function changelogToHtml() { return htmlspecialchars($this->changelog); } // get rid of this.. function changeByToHtml($linkHandler) { return $linkHandler->username($this->changeby, array('no_image' => true)); //mtrack_username($d->changeby, array('size' => 16)) <<< might add size here as an arg.. } function ctimeToHtml($linkHandler) { return $linkHandler->date($this->ctime); } function changeset($linkHandler) { return $linkHandler->changeset($this->rev, $this->repo); } /** * return the changeby as a RFC address.. */ function changebyToEmail() { require_once 'Mail/RFC822.php'; $m = new Mail_RFC822; $addr = $m->parseAddressList($this->changeby); return $addr[0]->mailbox.'@'.$addr[0]->host; } }