-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1842 from mailchimp/Issue1841-2.1
closes #1841 magento 2.1
- Loading branch information
Showing
20 changed files
with
129 additions
and
128 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
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,6 +1,6 @@ | ||
<div class="actions actions-clean-ecommerce"> | ||
<div id="validation_result" class="message-validation hidden"></div> | ||
<button class="action-clean-ecommerce" type="button" id="<?php echo $block->getHtmlId() ?>"> | ||
<span><?php echo $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
<button class="action-clean-ecommerce" type="button" id="<?= $block->getHtmlId() ?>"> | ||
<span><?= $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
</button> | ||
</div> |
6 changes: 3 additions & 3 deletions
6
view/adminhtml/templates/system/config/create_abandonedcart_automation.phtml
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,5 +1,5 @@ | ||
<div class="actions actions-get-apikey"> | ||
<button onclick="javascript:window.open('<?php echo $this->authorizeRequestUrl() ?>', 'apiwizard','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, ,left=100, top=100, width=800, height=600'); return false;" class="action-get-apikey" type="button" id="<?php echo $block->getHtmlId() ?>"> | ||
<span><?php echo $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
<button onclick="javascript:window.open('<?= $block->escapeUrl($block->authorizeRequestUrl()) ?>', 'apiwizard','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, ,left=100, top=100, width=800, height=600'); return false;" class="action-get-apikey" type="button" id="<?= $block->getHtmlId() ?>"> | ||
<span><?= $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
</button> | ||
</div> | ||
</div> |
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,6 +1,6 @@ | ||
<div class="actions actions-create-webhook"> | ||
<div id="validation_result" class="message-validation hidden"></div> | ||
<button class="action-create-webhook" type="button" id="<?php echo $block->getHtmlId() ?>"> | ||
<span><?php echo $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
<button class="action-create-webhook" type="button" id="<?= $block->getHtmlId() ?>"> | ||
<span><?= $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
</button> | ||
</div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,30 +11,30 @@ | |
?> | ||
<div id="configmonkey_apikey" class="admin__page-section-item" style="display:none;" | ||
data-mage-init='{"configmonkeyapikey":{ | ||
"storeUrl": "<?php echo $this->getUrl('mailchimp/stores/get');?>", | ||
"detailsUrl": "<?php echo $this->getUrl('mailchimp/ecommerce/getaccountdetails');?>", | ||
"storeGridUrl": "<?php echo $this->getUrl('mailchimp/stores/index');?>", | ||
"createWebhookUrl": "<?php echo $this->getUrl('mailchimp/ecommerce/createWebhook');?>", | ||
"getInterestUrl": "<?php echo $this->getUrl('mailchimp/ecommerce/getInterest');?>", | ||
"resyncSubscribersUrl": "<?php echo $this->getUrl('mailchimp/ecommerce/resyncSubscribers');?>", | ||
"resyncProductsUrl": "<?php echo $this->getUrl('mailchimp/ecommerce/resyncProducts');?>", | ||
"cleanEcommerceUrl": "<?php echo $this->getUrl('mailchimp/ecommerce/cleanEcommerce');?>", | ||
"checkEcommerceUrl": "<?php echo $this->getUrl('mailchimp/ecommerce/checkEcommerce');?>", | ||
"fixMailchimpjsUrl": "<?php echo $this->getUrl('mailchimp/ecommerce/fixMailchimpJS');?>", | ||
"scope": "<?php echo $this->getScope();?>", | ||
"scopeId": "<?php echo $this->getScopeId(); ?>" | ||
"storeUrl": "<?= $block->escapeUrl($block->getUrl('mailchimp/stores/get'));?>", | ||
"detailsUrl": "<?= $block->escapeUrl($block->getUrl('mailchimp/ecommerce/getaccountdetails'));?>", | ||
"storeGridUrl": "<?= $block->escapeUrl($block->getUrl('mailchimp/stores/index'));?>", | ||
"createWebhookUrl": "<?= $block->escapeUrl($block->getUrl('mailchimp/ecommerce/createWebhook'));?>", | ||
"getInterestUrl": "<?= $block->escapeUrl($block->getUrl('mailchimp/ecommerce/getInterest'));?>", | ||
"resyncSubscribersUrl": "<?= $block->escapeUrl($block->getUrl('mailchimp/ecommerce/resyncSubscribers'));?>", | ||
"resyncProductsUrl": "<?= $block->escapeUrl($block->getUrl('mailchimp/ecommerce/resyncProducts'));?>", | ||
"cleanEcommerceUrl": "<?= $block->escapeUrl($block->getUrl('mailchimp/ecommerce/cleanEcommerce'));?>", | ||
"checkEcommerceUrl": "<?= $block->escapeUrl($block->getUrl('mailchimp/ecommerce/checkEcommerce'));?>", | ||
"fixMailchimpjsUrl": "<?= $block->escapeUrl($block->getUrl('mailchimp/ecommerce/fixMailchimpJS'));?>", | ||
"scope": "<?= $block->escapeHtml($block->getScope());?>", | ||
"scopeId": "<?= $block->escapeHtml($block->getScopeId()); ?>" | ||
}}'> | ||
</div> | ||
<div style="background:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:11px 0 0 10px;"> | ||
<h4> | ||
<img width="224px" style="padding-left: 15px;" height="60px" src="https://ebizmarts-website.s3.amazonaws.com/Logo_Ebizmarts.png"/><br><br> | ||
<div style="padding-left: 15px;"> | ||
<p> <strong style="color:#EA7601;"><?php echo __('Mailchimp v') ?><?php echo $this->getModuleVersion() ?><?php echo __(' by') ?></strong> <a target="_blank" href="http://ebizmarts.com"><strong>ebizmarts</strong></a></p> | ||
<p><?php echo __('Need help? See our ') ?><a href="https://github.com/mailchimp/mc-magento2/wiki" target="_blank"><?php echo __('Wiki') ?></a><?php echo __(' Got feedback? ') ?><a href="mailto:[email protected]?Subject=MailChimp For Magento Version <?php echo $this->getModuleVersion()?>"><?php echo __('Email us') ?></a></p> | ||
<p><?php echo __('You can find more extension in our ') ?><a href="http://store.ebizmarts.com" target="_blank"><?php echo __('Store') ?></a></p> | ||
<?php if (!$this->getHasApiKey() ) : ?> | ||
<p> <strong style="color:#EA7601;"><?= $block->escapeHtml(__('Mailchimp v')) ?><?= $block->escapeHtml($block->getModuleVersion()) ?><?= $block->escapeHtml(__(' by')) ?></strong> <a target="_blank" href="http://ebizmarts.com"><strong>ebizmarts</strong></a></p> | ||
<p><?= $block->escapeHtml(__('Need help? See our ')) ?><a href="https://github.com/mailchimp/mc-magento2/wiki" target="_blank"><?= $block->escapeHtml(__('Wiki')) ?></a><?= $block->escapeHtml(__(' Got feedback? ')) ?><a href="mailto:[email protected]?Subject=MailChimp For Magento Version <?= $block->escapeHtml($block->getModuleVersion())?>"><?= $block->escapeHtml(__('Email us')) ?></a></p> | ||
<p><?= $block->escapeHtml(__('You can find more extension in our ')) ?><a href="http://store.ebizmarts.com" target="_blank"><?= $block->escapeHtml(__('Store')) ?></a></p> | ||
<?php if (!$block->getHasApiKey()): ?> | ||
<p><a style="padding-top: 5px;padding-bottom:5px;padding-left: 30px;padding-right: 30px;background-color:#D75F07 ;color:white;font-weight: bold" href="https://bit.ly/2KpDH5C" target="_blank">Support Mailchimp4Magento, Subscribe for a free Mailchimp Account!</a> </p> | ||
<?php endif; ?> | ||
</div> | ||
</h4> | ||
</div> | ||
</div> |
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,6 +1,6 @@ | ||
<div class="actions actions-fix-mailchimp-js"> | ||
<div id="validation_result" class="message-validation hidden"></div> | ||
<button class="action-fix-mailchimp-js" type="button" id="<?php echo $block->getHtmlId() ?>"> | ||
<span><?php echo $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
<button class="action-fix-mailchimp-js" type="button" id="<?= $block->getHtmlId() ?>"> | ||
<span><?= $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
</button> | ||
</div> |
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,3 +1,3 @@ | ||
<div id="monkey_apikey" class="admin__page-section-item" style="display:none;" | ||
data-mage-init='{"monkeyapikey":{"apikeyUrl": "<?php echo $this->getUrl('mailchimp/lists/get');?>"}}'> | ||
</div> | ||
data-mage-init='{"monkeyapikey":{"apikeyUrl": "<?= $block->escapeUrl($block->getUrl('mailchimp/lists/get'));?>"}}'> | ||
</div> |
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,6 +1,6 @@ | ||
<div class="actions actions-get-apikey"> | ||
<div id="validation_result" class="message-validation hidden"></div> | ||
<button onclick="javascript:window.open('<?php echo $this->authorizeRequestUrl() ?>', 'apiwizard','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, ,left=100, top=100, width=500, height=700'); return false;" class="action-get-apikey" type="button" id="<?php echo $block->getHtmlId() ?>"> | ||
<span><?php echo $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
<button onclick="javascript:window.open('<?= $block->escapeUrl($block->authorizeRequestUrl()) ?>', 'apiwizard','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, ,left=100, top=100, width=500, height=700'); return false;" class="action-get-apikey" type="button" id="<?= $block->getHtmlId() ?>"> | ||
<span><?= $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
</button> | ||
</div> | ||
</div> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<div class="actions actions-resync-products"> | ||
<div id="validation_result" class="message-validation hidden"></div> | ||
<button class="action-resync-products" type="button" id="<?php echo $block->getHtmlId() ?>"> | ||
<span><?php echo $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
<button class="action-resync-products" type="button" id="<?= $block->getHtmlId() ?>"> | ||
<span><?= $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
</button> | ||
</div> |
4 changes: 2 additions & 2 deletions
4
view/adminhtml/templates/system/config/resyncsubscriber.phtml
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,6 +1,6 @@ | ||
<div class="actions actions-resync-customer"> | ||
<div id="validation_result" class="message-validation hidden"></div> | ||
<button class="action-resync-subscribers" type="button" id="<?php echo $block->getHtmlId() ?>"> | ||
<span><?php echo $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
<button class="action-resync-subscribers" type="button" id="<?= $block->getHtmlId() ?>"> | ||
<span><?= $block->escapeHtml($block->getButtonLabel()) ?></span> | ||
</button> | ||
</div> |
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,3 +1,4 @@ | ||
<?php | ||
/** @var $block \Ebizmarts\MailChimp\Block\Adminhtml\Customer\Edit\Tabs\Mailchimp */ | ||
echo $block->getChildHtml(); | ||
?> | ||
<?= $block->getChildHtml(); ?> |
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,3 +1,3 @@ | ||
<div id="monkey_campaign" style="display:none;" | ||
data-mage-init='{"campaigncatcher":{"checkCampaignUrl": "<?php echo $this->getUrl('mailchimp/campaign/check');?>"}}'> | ||
</div> | ||
data-mage-init='{"campaigncatcher":{"checkCampaignUrl": "<?= $block->escapeUrl($block->getUrl('mailchimp/campaign/check'));?>"}}'> | ||
</div> |
Oops, something went wrong.