From d1cd526056a44d220750a35eaf5b46c4d001e967 Mon Sep 17 00:00:00 2001 From: pezcurrel Date: Sun, 5 Jan 2020 05:46:29 +0100 Subject: [PATCH] Lavorazzi su js e css per criteri di ricerca --- web/admin/instances.php | 405 +++++++++++++++++++++++++++++++++------- web/admin/theme.css | 139 ++++++++++---- 2 files changed, 438 insertions(+), 106 deletions(-) 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,'