aboutsummaryrefslogtreecommitdiffstats
path: root/MainView.php
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2011-08-01 15:39:42 +0300
committerFilipp Lepalaan <filipp@mac.com>2011-08-01 15:39:42 +0300
commitb09adf07febd1e3cc14449434532451c98aad2c7 (patch)
tree51e5a60a7960b1f8c7f65bd115f9e27670064edd /MainView.php
parent84b13d3d2642ad79369b33772c31c3e51d46d36f (diff)
downloadmain-b09adf07febd1e3cc14449434532451c98aad2c7.tar.gz
main-b09adf07febd1e3cc14449434532451c98aad2c7.tar.bz2
main-b09adf07febd1e3cc14449434532451c98aad2c7.zip
some fixes
Diffstat (limited to 'MainView.php')
-rw-r--r--MainView.php5
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);