Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
 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);
     }
 }