mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-20 12:33:27 +02:00
new function> escapeHtml + fix css in admin menus
This commit is contained in:
@@ -1537,6 +1537,10 @@ function removeIfFirstSlash(&$text) {
|
||||
}
|
||||
};
|
||||
|
||||
function escapeHtml($html) {
|
||||
return htmlentities($html, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8');
|
||||
}
|
||||
|
||||
// validator functions
|
||||
require_once LIBS . 'validator.php';
|
||||
require_once SYSTEM . 'compat/base.php';
|
||||
|
Reference in New Issue
Block a user