_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 ''; } $this->setLogoImageUrl($logoUrl); return parent::_toHtml(); } }