/** * Return a Powered By message * * @return string */ public function getMessage() { $installationLng = \XLite::getInstallationLng(); $siteURL = $installationLng && isset($this->siteURLs[$installationLng]) ? $this->siteURLs[$installationLng] : ''; $replace = $this->isLink() ? array('[' => '<a href="' . \XLite::getXCartURL($siteURL, empty($siteURL)) . '" target="_blank">', ']' => '</a>') : array('[' => '', ']' => ''); return strtr($this->getPhrase(), $replace); }
/** * Get URL of referral page * * @param \XLite\Model\Payment\Method $method Payment method * * @return string */ public function getPartnerPageURL(\XLite\Model\Payment\Method $method) { return \XLite::getXCartURL('http://www.x-cart.com/paypal_shopping_cart.html'); }
/** * Return affiliate URL * * @param string $url Url part to add OPTIONAL * * @return string */ protected function getXCartURL($url = '') { return \XLite::getXCartURL($url); }
/** * This function defines original link to X-Cart.com site's License Agreement page * * @return string */ public static function getLicenseAgreementURL() { return \XLite::getXCartURL('http://www.x-cart.com/license-agreement.html'); }
/** * Returns templates store URL * * @return string */ public function getFreeQuoteURL() { return \XLite::getXCartURL('http://www.x-cart.com/contact-us.html?subj=extras_quote&type=design'); }
/** * Get URL of the page where SSL certificate can be purchased * * @return string */ protected function getPurchaseURL() { return \XLite::getXCartURL('http://www.x-cart.com/ssl'); }
/** * Returns pricing URL * * @return string */ public function getPricingURL() { return \XLite::getXCartURL('https://www.x-cart.com/software_pricing.html'); }