|
|
@ -4,7 +4,7 @@ use yii\helpers\Html; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @var \yii\base\View $this |
|
|
|
* @var \yii\base\View $this |
|
|
|
* @var array $meta |
|
|
|
* @var array $summary |
|
|
|
* @var string $tag |
|
|
|
* @var string $tag |
|
|
|
* @var array $manifest |
|
|
|
* @var array $manifest |
|
|
|
* @var \yii\debug\Panel[] $panels |
|
|
|
* @var \yii\debug\Panel[] $panels |
|
|
@ -51,11 +51,11 @@ $this->title = 'Yii Debugger'; |
|
|
|
<ul class="dropdown-menu"> |
|
|
|
<ul class="dropdown-menu"> |
|
|
|
<?php |
|
|
|
<?php |
|
|
|
$count = 0; |
|
|
|
$count = 0; |
|
|
|
foreach ($manifest as $tag2 => $meta2) { |
|
|
|
foreach ($manifest as $meta) { |
|
|
|
$label = $meta2['method'] . ' ' . $meta2['url'] . ($meta2['ajax'] ? ' (AJAX)' : '') |
|
|
|
$label = $meta['tag'] . ': ' . $meta['method'] . ' ' . $meta['url'] . ($meta['ajax'] ? ' (AJAX)' : '') |
|
|
|
. ', ' . date('Y-m-d h:i:sa', $meta2['time']) |
|
|
|
. ', ' . date('Y-m-d h:i:s a', $meta['time']) |
|
|
|
. ', ' . $meta2['ip'] . ', ' . $tag2; |
|
|
|
. ', ' . $meta['ip']; |
|
|
|
$url = array('view', 'tag' => $tag2); |
|
|
|
$url = array('view', 'tag' => $meta['tag']); |
|
|
|
echo '<li>' . Html::a(Html::encode($label), $url) . '</li>'; |
|
|
|
echo '<li>' . Html::a(Html::encode($label), $url) . '</li>'; |
|
|
|
if (++$count >= 10) { |
|
|
|
if (++$count >= 10) { |
|
|
|
break; |
|
|
|
break; |
|
|
@ -64,12 +64,12 @@ $this->title = 'Yii Debugger'; |
|
|
|
?> |
|
|
|
?> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
Debugging: |
|
|
|
<?php echo $summary['tag']; ?>:
|
|
|
|
<?php echo $meta['method']; ?> |
|
|
|
<?php echo $summary['method']; ?> |
|
|
|
<?php echo Html::a(Html::encode($meta['url']), $meta['url']); ?> |
|
|
|
<?php echo Html::a(Html::encode($summary['url']), $summary['url'], array('class' => 'label')); ?> |
|
|
|
<?php echo $meta['ajax'] ? ' (AJAX)' : ''; ?> |
|
|
|
<?php echo $summary['ajax'] ? ' (AJAX)' : ''; ?> |
|
|
|
at <?php echo date('Y-m-d h:i:sa', $meta['time']); ?> |
|
|
|
at <?php echo date('Y-m-d h:i:s a', $summary['time']); ?> |
|
|
|
by <?php echo $meta['ip']; ?> |
|
|
|
by <?php echo $summary['ip']; ?> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<?php echo $activePanel->getDetail(); ?> |
|
|
|
<?php echo $activePanel->getDetail(); ?> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|