芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.1/vendor/debugbar/widgets/templates/widget.min.js
!function(e){var t=PhpDebugBar.utils.makecsscls("phpdebugbar-widgets-");PhpDebugBar.Widgets.TemplatesWidget=PhpDebugBar.Widget.extend({className:t("templates"),render:function(){this.$status=e("
").addClass(t("status")).appendTo(this.$el),this.$list=new PhpDebugBar.Widgets.ListWidget({itemRenderer:function(a,s){if(e("
").addClass(t("name")).text(s.name).appendTo(a),void 0!==s.xdebug_link&&null!==s.xdebug_link&&(s.xdebug_link.ajax?e('
').on("click",(function(){e.ajax(s.xdebug_link.url)})).addClass(t("editor-link")).appendTo(a):e('
').addClass(t("editor-link")).appendTo(a)),s.render_time_str&&e('
').addClass(t("render-time")).text(s.render_time_str).appendTo(a),s.memory_str&&e('
').addClass(t("memory")).text(s.memory_str).appendTo(a),void 0!==s.param_count&&e('
').addClass(t("param-count")).text(s.param_count).appendTo(a),void 0!==s.type&&s.type&&e('
').addClass(t("type")).text(s.type).appendTo(a),s.params&&!e.isEmptyObject(s.params)){var d=e('
Params
').addClass(t("params")).appendTo(a);for(var r in s.params)"function"!=typeof s.params[r]&&d.append('
'+r+'
'+s.params[r]+"
");a.css("cursor","pointer").click((function(){d.is(":visible")?d.hide():d.show()}))}}}),this.$list.$el.appendTo(this.$el),this.$callgraph=e("
").addClass(t("callgraph")).appendTo(this.$el),this.bindAttr("data",(function(a){this.$list.set("data",a.templates),this.$status.empty(),this.$callgraph.empty();var s=a.sentence||"templates were rendered";e("
").text(a.nb_templates+" "+s).appendTo(this.$status),a.accumulated_render_time_str&&this.$status.append(e('
').addClass(t("render-time")).text(a.accumulated_render_time_str)),a.memory_usage_str&&this.$status.append(e('
').addClass(t("memory")).text(a.memory_usage_str)),a.nb_blocks>0&&e("
").text(a.nb_blocks+" blocks were rendered").appendTo(this.$status),a.nb_macros>0&&e("
").text(a.nb_macros+" macros were rendered").appendTo(this.$status),void 0!==a.callgraph&&this.$callgraph.html(a.callgraph)}))}})}(PhpDebugBar.$);