예제 #1
0
 /**
  * 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);
 }
예제 #2
0
 /**
  * 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');
 }
예제 #3
0
파일: AView.php 프로젝트: kirkbauer2/kirkxc
 /**
  * Return affiliate URL
  *
  * @param string $url Url part to add OPTIONAL
  *
  * @return string
  */
 protected function getXCartURL($url = '')
 {
     return \XLite::getXCartURL($url);
 }
예제 #4
0
 /**
  * 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');
 }
예제 #5
0
 /**
  * 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');
 }
예제 #6
0
 /**
  * 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');
 }
예제 #7
0
 /**
  * Returns pricing URL
  *
  * @return string
  */
 public function getPricingURL()
 {
     return \XLite::getXCartURL('https://www.x-cart.com/software_pricing.html');
 }