mcafee_secure - Version 1.0.1

Version Notes

Fix backend settings height

Download this release

Release Info

Developer McAfee SECURE
Extension mcafee_secure
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/design/adminhtml/default/default/template/Mcafeesecure/Trustmark/settings.phtml CHANGED
@@ -14,51 +14,34 @@ $source = "magento";
14
  $endpoint = "https://www.mcafeesecure.com";
15
  ?>
16
 
17
- <div id="mcafeesecure" data-host="<?php echo $host ?>"></div>
18
  <div id="iframe-container">
19
 
20
  </div>
21
 
22
  <script src="<?php echo $jqueryUrl; ?>"></script>
23
- <script>
24
- var $j = jQuery.noConflict();
25
-
26
- $j(document).ready(function() {
27
- loadPage();
28
- });
29
 
30
- function loadPage() {
31
- var host = $j('#mcafeesecure').attr('data-host');
32
- var $iframeContainer = $j('#iframe-container');
33
 
34
- $j.getJSON('<?php echo $endpoint; ?>/rpc/ajax?do=lookup-site-status&jsoncallback=?&rand='+new Date().getTime()+'&host=' + encodeURIComponent(host),function(data) {
35
- console.log('mfes lookup ' + host + ' is ' + data.status);
36
- $j('#mfes-loading').hide();
37
 
38
- var $iframe = $j("<iframe></iframe>");
39
- $iframe.attr({
40
- "width": "100%",
41
- "height": "400px",
42
- "seamless": true,
43
- "scrolling": "no",
44
- "frameborder": "0"
45
- });
46
 
 
 
 
 
 
 
 
 
47
 
48
- if(data.status == 'none') {
49
- $iframe.attr("src", "<?php echo $endpoint; ?>/app/partner1/dashboard?form=signup&aff=<?php echo $affiliate; ?>&partner=<?php echo $partner; ?>&host=<?php echo $host; ?>");
50
- } else {
51
- $iframe.attr("src", "<?php echo $endpoint; ?>/app/partner1/dashboard?form=login&aff=<?php echo $affiliate; ?>&partner=<?php echo $partner; ?>&email=<?php echo $email; ?>&host=<?php echo $host; ?>");
52
- }
53
 
54
- $iframeContainer.html($iframe);
55
- });
56
- }
57
- //-----------------------------------------------------------------------------------------------------------------
58
- function save_active() {
59
- var url = document.location + '&active=1';
60
- $j.get(url);
61
- }
62
- //-----------------------------------------------------------------------------------------------------------------
63
 
64
  </script>
14
  $endpoint = "https://www.mcafeesecure.com";
15
  ?>
16
 
 
17
  <div id="iframe-container">
18
 
19
  </div>
20
 
21
  <script src="<?php echo $jqueryUrl; ?>"></script>
 
 
 
 
 
 
22
 
23
+ <script>
24
+ var $j = jQuery.noConflict();
 
25
 
26
+ $j(document).ready(function () {
27
+ loadPage();
28
+ });
29
 
30
+ function loadPage() {
31
+ var $iframeContainer = $j('#iframe-container');
 
 
 
 
 
 
32
 
33
+ var $iframe = $j("<iframe></iframe>");
34
+ $iframe.attr({
35
+ "width": "100%",
36
+ "height": "450px",
37
+ "seamless": true,
38
+ "scrolling": "no",
39
+ "frameborder": "0"
40
+ });
41
 
 
 
 
 
 
42
 
43
+ $iframe.attr("src", "<?php echo $endpoint; ?>/app/partner1/dashboard?form=login&aff=<?php echo $affiliate; ?>&source=<?php echo $partner; ?>&partner=<?php echo $partner; ?>&email=<?php echo $email; ?>&host=<?php echo $host; ?>");
44
+ $iframeContainer.html($iframe);
45
+ }
 
 
 
 
 
 
46
 
47
  </script>
package.xml CHANGED
@@ -1,19 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>mcafee_secure</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
- <license uri=" http://www.gnu.org/licenses/gpl-2.0.html">GPLv2</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>McAfee SECURE certification gives visitors the confidence they need to buy by certifying your site as safe.&#xD;
10
- </summary>
11
- <description>The McAfee SECURE service allows ecommerce site owners to display the McAfee SECURE trustmark, a site badge that lets visitors know the site they're on has been tested and certified to meet our security standards. The McAfee SECURE trustmark floats in either the bottom left or right corners of a certified site, remaining visible to visitors at all times. The trustmark gives visitors more information about the security of a site, and allows them to verify the certification off-site.</description>
12
- <notes>McAfee SECURE with Certification Trustmark</notes>
13
  <authors><author><name>McAfee SECURE</name><user>dennis</user><email>dennis@pathdefender.com</email></author></authors>
14
- <date>2015-08-21</date>
15
- <time>20:41:33</time>
16
- <contents><target name="magecommunity"><dir name="Mcafeesecure"><dir name="Trustmark"><dir name="Helper"><file name="Data.php" hash="a3e98c078cbfc1de82b0e194559cecf6"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="TrustmarkController.php" hash="7c4ea2e2adc3e687fb3d62bee297fe7e"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="6d9a36d44d602d03662e22bf02f24aed"/><file name="config.xml" hash="c9ae7675da3f93d0ffca7429611ffc35"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mcafeesecure_Trustmark.xml" hash="da154ff92f7524bbb03659e70bf5ce07"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="Mcafeesecure_Trustmark.xml" hash="343d25dbd8b6a52101d61ef4835e6f23"/></dir><dir name="template"><dir name="Mcafeesecure"><dir name="Trustmark"><file name="settings.phtml" hash="9eb78864f26e35ecec9cf96994e3d823"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="Mcafeesecure_Trustmark.xml" hash="9ccb9640633ae87ff61a01d7278eeb71"/></dir><dir name="template"><dir name="Mcafeesecure"><dir name="Trustmark"><file name="trustmark.phtml" hash="fae58aa6d733375c4383796c1ae8afa8"/></dir></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="Mcafeesecure"><dir name="Trustmark"><file name="admin.js" hash="05bb1676d06c49ccba846ad8b9dddd02"/><file name="jquery-2.1.4.min.js" hash="f614b637e3104370a34d5c151390f3b7"/></dir></dir></dir></target><target name="magemedia"><dir name="Mcafeesecure"><dir name="Trustmark"><file name="icon-128x128.png" hash="d7b5afacfa393da4861bdf234a78b7f9"/><file name="icon-256x256.png" hash="8348b5c62ae1569093a4e06ee51fb96a"/><file name="icon-notsecure.png" hash="f76132c499ac12d85a897269a13fa094"/><file name="icon-secure.png" hash="d24538739f91731c347f9c66eac937ac"/><file name="laptop-preview.png" hash="82d275ee2778206acf9ba5d512810a2d"/><file name="loader.gif" hash="a51c5608d01acf32df728f299767f82b"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="css"><dir name="Mcafeesecure"><dir name="Trustmark"><file name="admin.css" hash="06324a9d39d8f5a849ed2837c241d988"/></dir></dir></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.3.0</min><max>5.6.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>mcafee_secure</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
+ <license>GPLv2 or later</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>McAfee SECURE certification gives visitors the confidence they need to buy by certifying your site as safe.</summary>
10
+ <description>McAfee SECURE certification gives visitors the confidence they need to buy by certifying your site as safe.</description>
11
+ <notes>Fix backend settings height</notes>
 
12
  <authors><author><name>McAfee SECURE</name><user>dennis</user><email>dennis@pathdefender.com</email></author></authors>
13
+ <date>2015-11-03</date>
14
+ <time>20:18:53</time>
15
+ <contents><target name="magecommunity"><dir name="Mcafeesecure"><dir name="Trustmark"><dir name="Helper"><file name="Data.php" hash="a3e98c078cbfc1de82b0e194559cecf6"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="TrustmarkController.php" hash="7c4ea2e2adc3e687fb3d62bee297fe7e"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="6d9a36d44d602d03662e22bf02f24aed"/><file name="config.xml" hash="c9ae7675da3f93d0ffca7429611ffc35"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mcafeesecure_Trustmark.xml" hash="da154ff92f7524bbb03659e70bf5ce07"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="Mcafeesecure_Trustmark.xml" hash="343d25dbd8b6a52101d61ef4835e6f23"/></dir><dir name="template"><dir name="Mcafeesecure"><dir name="Trustmark"><file name="settings.phtml" hash="cfa536f9d85a199769b7ad1407e75aa6"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="Mcafeesecure_Trustmark.xml" hash="9ccb9640633ae87ff61a01d7278eeb71"/></dir><dir name="template"><dir name="Mcafeesecure"><dir name="Trustmark"><file name="trustmark.phtml" hash="fae58aa6d733375c4383796c1ae8afa8"/></dir></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="Mcafeesecure"><dir name="Trustmark"><file name="admin.js" hash="05bb1676d06c49ccba846ad8b9dddd02"/><file name="jquery-2.1.4.min.js" hash="f614b637e3104370a34d5c151390f3b7"/></dir></dir></dir></target><target name="magemedia"><dir name="Mcafeesecure"><dir name="Trustmark"><file name="icon-128x128.png" hash="d7b5afacfa393da4861bdf234a78b7f9"/><file name="icon-256x256.png" hash="8348b5c62ae1569093a4e06ee51fb96a"/><file name="icon-notsecure.png" hash="f76132c499ac12d85a897269a13fa094"/><file name="icon-secure.png" hash="d24538739f91731c347f9c66eac937ac"/><file name="laptop-preview.png" hash="82d275ee2778206acf9ba5d512810a2d"/><file name="loader.gif" hash="a51c5608d01acf32df728f299767f82b"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="css"><dir name="Mcafeesecure"><dir name="Trustmark"><file name="admin.css" hash="06324a9d39d8f5a849ed2837c241d988"/></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>5.6.0</max></php></required></dependencies>
18
  </package>