diff options
Diffstat (limited to 'MainView.php')
-rw-r--r-- | MainView.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MainView.php b/MainView.php index b403466..77f083a 100644 --- a/MainView.php +++ b/MainView.php @@ -69,6 +69,11 @@ class MainView $out = '<form action="'.$action.$port.'" accept-charset="utf-8"'; } + function clean($string) + { + return htmlspecialchars($string, ENT_QUOTES, 'UTF-8'); + } + function input($params) { return $this->tag('input', $params); |