diff --git a/web/admin/include/glob.php b/web/admin/include/glob.php index af9f50c..e513489 100644 --- a/web/admin/include/glob.php +++ b/web/admin/include/glob.php @@ -3,7 +3,7 @@ header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1. header("Pragma: no-cache"); // HTTP 1.0. header("Expires: 0"); // Proxies. - +setlocale(LC_ALL,'it','it_IT','it_IT.UTF-8'); define('N',"\n"); $cjrand=rand(0,999999); diff --git a/web/admin/instances.php b/web/admin/instances.php index bbb7ea6..0094367 100644 --- a/web/admin/instances.php +++ b/web/admin/instances.php @@ -8,17 +8,43 @@ buildmenu($menu); require('include/myconn.php'); -function nully($val,$filter='') { +function nully($val,$fem,$filter,$ntext=null) { if (!is_null($val)) { if ($filter=='strip') { return(strip_tags($val,'