Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

missinglangkey CSS style is breaking foreign langs templates

Discussion in 'General Discussion' started by Kent Brockman, Jun 29, 2008.

  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,181
    Likes Received:
    7
    Trophy Points:
    168
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi, this is for the cPanel staff. I'm using the spanish translation of X3, and noticed that when cPanel discover a missing lang key, inserts an SPAN html tag, css styled, to mark the faulty key. The problem is that if there are present missing keys in a template that uses the missing text string into an title or alt tag, this SPAN will break the html.
    This can be checked in example if you try to "Click to Edit" any MX entry in the cPanel MX Editor for any given account.

    The "missinglangkey" css style works well when appears in the middle of normal text, but corrupts html or even a javascript if inserted inside an alt tag or inside a js variable.

    I don't know if this issue may be solved/mitigated. I hope so.
    Best regards.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You should add it to bugzilla so the developers know about it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Agreed. Reporting the issue here does not guarantee it will be noticed by the appropriate personnel.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice