From 183a215fc5b24c734c0bbc4ff133afda6b82d4b4 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Fri, 1 Jul 2011 08:15:58 +0200 Subject: [PATCH] updated DibiProfiler CSS --- dibi/libs/DibiProfiler.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/dibi/libs/DibiProfiler.php b/dibi/libs/DibiProfiler.php index cc33e7f7..fd5cb0fa 100644 --- a/dibi/libs/DibiProfiler.php +++ b/dibi/libs/DibiProfiler.php @@ -300,27 +300,26 @@ class DibiProfiler extends DibiObject implements IDibiProfiler, IBarPanel $s .= "
explain ►"; } - $s .= '' . dibi::dump(strlen($sql) > self::$maxLength ? substr($sql, 0, self::$maxLength) . '...' : $sql, TRUE); + $s .= '' . dibi::dump(strlen($sql) > self::$maxLength ? substr($sql, 0, self::$maxLength) . '...' : $sql, TRUE); if ($explain) { $s .= "
{$explain}
"; } if ($source) { list($file, $line) = $source; - $s .= "{$h(basename(dirname($file)) . '/' . basename($file))}:$line"; + $s .= "{$h(basename(dirname($file)) . '/' . basename($file))}:$line"; } $s .= "{$count}{$h($connection->getConfig('driver') . '/' . $connection->getConfig('name'))}"; } return $s === NULL ? '' : - ' - + '

Queries: ' . dibi::$numOfQueries . (dibi::$totalTime === NULL ? '' : ', time: ' . sprintf('%0.3f', dibi::$totalTime * 1000) . ' ms') . '

-
+
- ' . $s . ' + ' . $s . '
TimeSQL StatementRowsConnection
Time msSQL StatementRowsConnection
'; }