function getToInfo() { // check if from_uid represent a user if ($this->getVar('to_uid')) { $user = smart_getLinkedUnameFromId($this->getVar('to_uid')); if ($user == $GLOBALS['xoopsConfig']['anonymous']) { $user = '******' . $this->getVar('to_email') . '">' . $this->getVar('to_email') . '</a>'; } } else { $user = '******' . $this->getVar('to_email') . '">' . $this->getVar('to_email') . '</a>'; } return $user; }
function name() { $ret = smart_getLinkedUnameFromId($this->getVar('uid', 'e'), true, array()); return $ret; }