mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
new function> escapeHtml + fix css in admin menus
This commit is contained in:
@@ -1244,6 +1244,10 @@ function getCustomPage($page, &$success)
|
||||
return $content;
|
||||
}
|
||||
|
||||
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