_getConfig()->getPaymentMarkWhatIsPaypalUrl(Mage::app()->getLocale()); } /** * Getter for paypal config * * @return Mage_Paypal_Model_Config */ protected function _getConfig() { return Mage::getSingleton('paypal/config'); } /** * Disable block output if logo turned off * * @return string */ protected function _toHtml() { $type = $this->getLogoType(); // assigned in layout etc. $logoUrl = $this->_getConfig()->getAdditionalOptionsLogoUrl(Mage::app()->getLocale()->getLocaleCode(), $type); if (!$logoUrl) { return ''; } $country = Mage::getStoreConfig(Mage_Paypal_Helper_Data::MERCHANT_COUNTRY_CONFIG_PATH); if ($country == Mage_Paypal_Helper_Data::US_COUNTRY) { $this->setTemplate('paypal/partner/us_logo.phtml'); return parent::_toHtml(); } $this->setLogoImageUrl($logoUrl); return parent::_toHtml(); } }