We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d0028a commit c5e886dCopy full SHA for c5e886d
resources/templates/header.php
@@ -143,7 +143,13 @@
143
<?php
144
foreach (UnityHTTPD::getMessages() as [$title, $body, $level]) {
145
echo sprintf(
146
- "<div class='message %s'><h3>%s</h3><p>%s</p></div>\n",
+ "
147
+ <div class='message %s'>
148
+ <h3>%s</h3>
149
+ <p>%s</p>
150
+ <button onclick=\"this.parentElement.style.display='none';\">X</button>
151
+ </div>\n
152
+ ",
153
$level->value,
154
strip_tags($title),
155
strip_tags($body)
0 commit comments