[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 (function ($) { 2 3 var csscls = PhpDebugBar.utils.makecsscls('phpdebugbar-widgets-') 4 var InfoWidget = PhpDebugBar.Widgets.InfoWidget = PhpDebugBar.Widget.extend({ 5 6 tagName: 'table', 7 8 className: csscls('info'), 9 10 render: function () { 11 this.bindAttr('data', function (data) { 12 this.$el.empty() 13 var tr 14 15 /* 16 // @todo enable Info link 17 var link = $('<a />') 18 .text('Info') 19 .attr('href', 'index.php?option=com_content&view=debug&id=' + data.requestId) 20 .attr('target', '_blank'); 21 22 tr = $('<tr />') 23 .append($('<td />').text('Info')) 24 .append($('<td />').append(link)); 25 this.$el.append(tr); 26 */ 27 28 tr = $('<tr />') 29 .append($('<td />').text('Joomla! Version')) 30 .append($('<td />').text(data.joomlaVersion)) 31 this.$el.append(tr) 32 33 tr = $('<tr />') 34 .append($('<td />').text('PHP Version')) 35 .append($('<td />').text(data.phpVersion)) 36 this.$el.append(tr) 37 38 tr = $('<tr />') 39 .append($('<td />').text('Identity')) 40 .append($('<td />').text(data.identity.type)) 41 this.$el.append(tr) 42 43 tr = $('<tr />') 44 .append($('<td />').text('Response')) 45 .append($('<td />').text(data.response.status_code)) 46 this.$el.append(tr) 47 48 tr = $('<tr />') 49 .append($('<td />').text('Template')) 50 .append($('<td />').text(data.template.template)) 51 this.$el.append(tr) 52 53 tr = $('<tr />') 54 .append($('<td />').text('Database')) 55 .append($('<td />').html( 56 '<dl>' 57 + '<dt>Server</dt><dd>' + data.database.dbserver + '</dd>' 58 + '<dt>Version</dt><dd>' + data.database.dbversion + '</dd>' 59 + '<dt>Collation</dt><dd>' + data.database.dbcollation + '</dd>' 60 + '<dt>Conn Collation</dt><dd>' + data.database.dbconnectioncollation + '</dd>' 61 + '</dl>' 62 )) 63 this.$el.append(tr) 64 }) 65 } 66 }) 67 })(PhpDebugBar.$)
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |