diff --git a/web/admin/instances.php b/web/admin/instances.php index 0094367..15241ad 100644 --- a/web/admin/instances.php +++ b/web/admin/instances.php @@ -8,12 +8,17 @@ buildmenu($menu); require('include/myconn.php'); +// praticamente una macro +function hspech($str) { + return(htmlspecialchars($str,ENT_QUOTES|ENT_HTML5,'UTF-8')); +} + function nully($val,$fem,$filter,$ntext=null) { if (!is_null($val)) { if ($filter=='strip') { - return(strip_tags($val,'