Skip to content

Commit 2878d3a

Browse files
vlvl
authored andcommitted
assets merged into view
1 parent 3f41347 commit 2878d3a

File tree

4 files changed

+23
-8
lines changed

4 files changed

+23
-8
lines changed

pdw-assets/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/DebugWidget.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@ public function afterRender($event,$view,$viewFile)
125125
{
126126
$this->endTime = microtime(true);
127127
$content = $view->getContent();
128-
$scripts = $this->getInsertScripts();
129-
$scripts .= "</head>";
128+
// $scripts = $this->getInsertScripts();
129+
// $scripts .= "</head>";
130+
$scripts = "</head>";
130131
$content = str_replace("</head>", $scripts, $content);
131132
$rendered = $this->renderToolbar();
132133
$rendered .= "</body>";

src/views/panels/db.phtml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,17 @@
4949
</tr>
5050
<?php
5151
foreach($descriptors as $k=>$v):
52-
echo "<tr>";
53-
echo "<td>{$k}</td>";
54-
echo "<td>{$v}</td>";
55-
echo "</tr>";
52+
if($k == 'password'){
53+
echo "<tr>";
54+
echo "<td>{$k}</td>";
55+
echo "<td>******</td>";
56+
echo "</tr>";
57+
}else {
58+
echo "<tr>";
59+
echo "<td>{$k}</td>";
60+
echo "<td>{$v}</td>";
61+
echo "</tr>";
62+
}
5663
endforeach;
5764
?>
5865
</tbody>

src/views/toolbar/index.phtml

Lines changed: 8 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)