CoreFiles by mySites.guru
widget.js54 lines, 2,032 bytes, from Joomla_5.4.2-Stable-Full_Package.zip
Raw History Compare with 5.4.1
md5
443d6d63dd08e7ae81e2dfd71fa8cafb
sha1
2c09e93153c64feb8946d83ff70d569c16f5d118
sha256
0a2e3aa678c20e8df75c46375813f5babe9a88a6197cd27e1ff17aebab150aca
(function ($) {

    var csscls = PhpDebugBar.utils.makecsscls('phpdebugbar-widgets-')
    var InfoWidget = PhpDebugBar.Widgets.InfoWidget = PhpDebugBar.Widget.extend({

        tagName: 'table',

        className: csscls('info'),

        render: function () {
            this.bindAttr('data', function (data) {
                this.$el.empty()
                var tr

                tr = $('<tr />')
                    .append($('<td />').text('Joomla! Version'))
                    .append($('<td />').text(data.joomlaVersion))
                this.$el.append(tr)

                tr = $('<tr />')
                    .append($('<td />').text('PHP Version'))
                    .append($('<td />').text(data.phpVersion))
                this.$el.append(tr)

                tr = $('<tr />')
                    .append($('<td />').text('Identity'))
                    .append($('<td />').text(data.identity.type))
                this.$el.append(tr)

                tr = $('<tr />')
                    .append($('<td />').text('Response'))
                    .append($('<td />').text(data.response.status_code))
                this.$el.append(tr)

                tr = $('<tr />')
                    .append($('<td />').text('Template'))
                    .append($('<td />').text(data.template.template))
                this.$el.append(tr)

                tr = $('<tr />')
                    .append($('<td />').text('Database'))
                    .append($('<td />').html(
                        '<dl>'
                        + '<dt>Server</dt><dd>' + data.database.dbserver + '</dd>'
                        + '<dt>Version</dt><dd>' + data.database.dbversion + '</dd>'
                        + '<dt>Collation</dt><dd>' + data.database.dbcollation + '</dd>'
                        + '<dt>Conn Collation</dt><dd>' + data.database.dbconnectioncollation + '</dd>'
                        + '</dl>'
                    ))
                this.$el.append(tr)
            })
        }
    })
})(PhpDebugBar.$)

The same content is in 97 releases, Joomla 5.3.0-alpha1 to 6.2.1-rc1. See them all, or every version of this file.