<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -418,4 +418,16 @@
 
 #pQp.ui-resizable-resizing .ui-resizable-n {
 	background-color: #333;
+}
+
+#pQp .openKey {
+	color: #47740D;
+}
+
+#pQp .openKey .key {
+	color: #6AAE12;
+}
+
+#pQp .openKey .val {
+	color: #A5E259;
 }
\ No newline at end of file</diff>
      <filename>pqp/css/pQp.css</filename>
    </modified>
    <modified>
      <diff>@@ -59,6 +59,31 @@ function displayPqp($output, $config) {
 			jQuery(this).fadeTo(200, topac);
 			jQuery('tr.log-' + this.className.split(' ')[1].substr(1)).toggle();
 		}).css('cursor', 'pointer');
+		jQuery('.log-log pre').each(function() {
+			var text = jQuery(this).text(), type = false;
+			if( type = text.match( /^([^\n]*)\n\(/ ) ) {
+				text = text.replace(/^[^\n]*\n/, '');
+				jQuery(this).before('&lt;a href=&quot;#&quot; class=&quot;openKey&quot;&gt;' + type[1] + '&lt;/a&gt;');
+				
+				matches = text.match( /\[([^\]]+)\]\s=&gt;\s([^\n]+)(\n\s*\[([^\]]+)\]\s=&gt;\s([^\n]+))?/ );
+				
+				for(var i = 1; i &lt;= 2; i++) {
+					if( matches[0] ) {
+						matches.shift();
+						jQuery(this).prev().append(' &lt;span class=&quot;key&quot;&gt;' + matches[0] + '&lt;/span&gt;');
+						matches.shift();
+						jQuery(this).prev().append('=&lt;span class=&quot;val&quot;&gt;' + matches[0] + '&lt;/span&gt;');
+						matches.shift();
+					}
+				}
+				
+				jQuery(this).text( text ).hide();
+			}
+		});
+		jQuery('.openKey').live('click', function() {
+			jQuery(this).next().slideToggle();
+			return false;
+		});
 		bindResizer();
 	});
 	</diff>
      <filename>pqp/display.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d0f9cb2644e8736771bb5f0da9107e408d106137</id>
    </parent>
  </parents>
  <author>
    <name>Stuart Loxton</name>
    <email>stuart.loxton@googlemail.com</email>
  </author>
  <url>http://github.com/stuartloxton/PHP-Quick-Profiler/commit/78e5fdbf30100791c47b4dbc3fce407077659f97</url>
  <id>78e5fdbf30100791c47b4dbc3fce407077659f97</id>
  <committed-date>2009-04-30T14:44:02-07:00</committed-date>
  <authored-date>2009-04-30T14:44:02-07:00</authored-date>
  <message>Added preview of Arrays and Objects in log, you can then click on them to see all contents.</message>
  <tree>4a7eae0560620f1263580b7d1c91bb5802465f5d</tree>
  <committer>
    <name>Stuart Loxton</name>
    <email>stuart.loxton@googlemail.com</email>
  </committer>
</commit>
