Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7214

avoid adding useless class attribute for all html tags if no class is required

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 2.1.9
    • Frontend (F)

      While checking the html source of the zabbix frontend I noticed that all and every html tag had a class attribute, empty in many occasions. Out of curiosity I tried to find why, and noticed that it could be easily fixed;

      • in include/classes/class.ctag.php
      • enclose line 67 (in version 2.1.9) in a if (!is_null($class)) { }

            Unassigned Unassigned
            mose Mose
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: