function display($var) { if ($var === 'file' || $var === 'referer') { $vr = substr($this->{$var}, 0, 60); $vv = $this->{$var}; $vr = str_replace(":", " ", $vr); $vv = str_replace(":", " ", $vv); return "_lxspan:{$vr}:{$vv}:"; } return parent::display($var); }
function display($var) { global $gbl, $sgbl, $login, $ghtml; if ($var === 'description') { if (isset($this->{$var}) && $this->{$var}) { return $this->{$var}; } $url = base64_decode($this->nname); $buttonpath = get_image_path() . "/button/"; $description = $ghtml->getActionDetails($url, null, $buttonpath, $path, $post, $file, $name, $image, $__t_identity); return "{$description['2']} for {$__t_identity}"; } return parent::display($var); }