mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 17:59:22 +02:00
parent
2793c41655
commit
02eea950e4
@ -1265,7 +1265,7 @@ function getCustomPage($page, &$success)
|
|||||||
}
|
}
|
||||||
|
|
||||||
function escapeHtml($html) {
|
function escapeHtml($html) {
|
||||||
return htmlentities($html, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8');
|
return htmlspecialchars($html);
|
||||||
}
|
}
|
||||||
|
|
||||||
function displayErrorBoxWithBackButton($errors, $action = null) {
|
function displayErrorBoxWithBackButton($errors, $action = null) {
|
||||||
|
@ -157,7 +157,7 @@ if (empty($_REQUEST['creature'])) {
|
|||||||
echo '</td></tr>';
|
echo '</td></tr>';
|
||||||
echo '</TABLE>';
|
echo '</TABLE>';
|
||||||
} else {
|
} else {
|
||||||
echo "Monster with name <b>" . $monster_name . "</b> doesn't exist.";
|
echo "Monster with name <b>" . htmlspecialchars($monster_name) . "</b> doesn't exist.";
|
||||||
}
|
}
|
||||||
|
|
||||||
//back button
|
//back button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user