-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c5d97a5
commit f25432d
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<?php | ||
|
||
/** | ||
* This class passes information about current version of Enhancedgrid being run to the Magecredit server. | ||
* This class passes information about current version of Enhancedgrid being run to the Sweet Tooth server. | ||
* All information is confidential and never distributed to any third priorities. | ||
* | ||
* @category Wellfounded | ||
* @author Magecredit Team <[email protected]> | ||
* @category TBT | ||
* | ||
* @author Sweet Tooth Team <[email protected]> | ||
*/ | ||
class TBT_Enhancedgrid_Block_Widget_Loyalty extends Mage_Adminhtml_Block_Template | ||
{ | ||
public function _toHtml() | ||
{ | ||
$html = <<<FEED | ||
<!-- You can remove it if you want though it's what helps pay for support of the free and open source module. --> | ||
<!-- See https://github.com/jayelkaake/enhancedgrid for more info. --> | ||
<!-- Visit http://www.sweettoothrewards.com/m for information about this frame. You can remove it if you want. --> | ||
<iframe src="{$this->_getLoyaltyUrl()}" marginwidth="0" marginheight="0" | ||
align="middle" frameborder="0" | ||
scrolling="no" style="width: 500px; float: left; height: 22px;"> | ||
|
@@ -48,7 +48,7 @@ protected function _getLoyaltyUrl() | |
|
||
protected function _getBaseLoyaltyUrl() | ||
{ | ||
$url = 'https://www.magecredit.com/m/'; | ||
$url = 'https://www.sweettoothrewards.com/m/'; | ||
|
||
//@nelkaake: If the page is supposed to be HTTPS and the AJAX call is not HTTPS, add HTTPS | ||
// if it's HTTP and the url returned HTTPS, remove HTTPS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters