function name($surpress_image = false, $quotes = false) { if ($this->mask(CURRENCY_IMAGE) && !$surpress_image) { return '<img src="' . IP_ROOT_PATH . $this->currency['cash_imageurl'] . '" alt="' . quoteslash($this->currency['cash_name'], '"') . '" />'; } else { return !$quotes ? $this->currency['cash_name'] : quoteslash($this->currency['cash_name'], $quotes); } }
function name($surpress_image = false, $quotes = false) { global $phpbb_root_path; if ($this->mask(CURRENCY_IMAGE) && !$surpress_image) { return '<img src="' . $phpbb_root_path . $this->currency['cash_imageurl'] . '" alt="' . quoteslash($this->currency['cash_name'], '"') . '" />'; } else { return !$quotes ? $this->currency['cash_name'] : quoteslash($this->currency['cash_name'], $quotes); } }