Results 1 to 7 of 7
  1. #1
    Join Date
    May 2008
    Posts
    393
    Plugin Contributions
    0

    Default November 2015 Security Patch html_output.php css styling conflict?

    Applying the patch is causing my shipping estimator button to enlarge, not sure why?

    This part of the patch is casuing the issue:

    File: html_output.php

    changed:

    PHP Code:
        $mouse_out_class  'cssButton ' . (($type == 'submit') ? 'submit_button ' 'normal_button ') . $sec_class;
        
    $mouse_over_class 'cssButtonHover ' . (($type == 'button') ? 'normal_button ' '') . $sec_class $sec_class 'Hover'
    to:

    PHP Code:
        $mouse_out_class  'cssButton ' . (($type == 'submit') ? 'submit_button button ' 'normal_button button ') . $sec_class;
        
    $mouse_over_class 'cssButtonHover ' . (($type == 'button') ? 'normal_button button ' '') . $sec_class $sec_class 'Hover'
    Here is a before and after pic

    before applying update:

    Click image for larger version. 

Name:	Snap1.png 
Views:	72 
Size:	4.0 KB 
ID:	15844

    after applying update:

    Click image for larger version. 

Name:	Snap2.png 
Views:	76 
Size:	5.5 KB 
ID:	15845

  2. #2
    Join Date
    Jul 2012
    Posts
    15,683
    Plugin Contributions
    17

    Default Re: November 2015 Security Patch html_output.php css styling conflict?

    What version of ZC, and what other mods were/are installed?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    May 2008
    Posts
    393
    Plugin Contributions
    0

    Default Re: November 2015 Security Patch html_output.php css styling conflict?

    Zencart 1.5.4 with many mods, too many to list.

  4. #4
    Join Date
    Jul 2012
    Posts
    15,683
    Plugin Contributions
    17

    Default Re: November 2015 Security Patch html_output.php css styling conflict?

    Quote Originally Posted by marcopolo View Post
    Zencart 1.5.4 with many mods, too many to list.
    Which of them modified html_output? As I recall from looking at the suggested replacement, the diff file and having read through several postings about the differences, none of them identified the above as a difference. That leads me to think that one of the other plugins made that change. Sorry for not doing an independent search at the moment, but I have limited resources to confirm or deny that the suggested/provided change(s) modified those lines from original.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    May 2008
    Posts
    393
    Plugin Contributions
    0

    Default Re: November 2015 Security Patch html_output.php css styling conflict?

    None of the mods modified the html_output file, the only change to that file was the security patch edits.

  6. #6
    Join Date
    May 2008
    Posts
    393
    Plugin Contributions
    0

    Default Re: November 2015 Security Patch html_output.php css styling conflict?

    I doubled checked and did a compare of my file before applying patch to a fresh copy of the file and mine was modified, must have been done from the template I'm using because I log all changes to files and did not make the change. I can now see the changes the patch needs to make, thanks.

  7. #7
    Join Date
    Jul 2012
    Posts
    15,683
    Plugin Contributions
    17

    Default Re: November 2015 Security Patch html_output.php css styling conflict?

    Well, just pulled some magic but those lines in the ZC 1.5.4 and curently downloadable version of html_output are the same... And both match what is provided above as the changed to part... If you want them now differently sized, could either revert those lines of code or better could modify the css applicable for the effect(s).
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Ajax security fix November 2015
    By brittainmark in forum Bug Reports
    Replies: 9
    Last Post: 13 May 2016, 04:50 AM
  2. v151 PayPal SHA-256 Security Update Sept 2015
    By Malaperth in forum Built-in Shipping and Payment Modules
    Replies: 26
    Last Post: 19 Mar 2016, 12:09 AM
  3. Security Patches for v1.5.4 - November 2015
    By DrByte in forum Zen Cart Release Announcements
    Replies: 1
    Last Post: 27 Nov 2015, 06:31 PM
  4. Replies: 15
    Last Post: 2 Oct 2009, 11:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR