diff --git a/conlite/includes/functions.lay.php b/conlite/includes/functions.lay.php index 69bd193..f40a871 100644 --- a/conlite/includes/functions.lay.php +++ b/conlite/includes/functions.lay.php @@ -63,7 +63,7 @@ function layEditLayout($idlay, $name, $description, $code) { set_magic_quotes_gpc($description); set_magic_quotes_gpc($code); **/ - $code = addslashes($code); + //$code = addslashes($code); if (strlen(trim($name)) == 0) { $name = i18n('-- Unnamed Layout --'); } diff --git a/conlite/includes/functions.tpl.php b/conlite/includes/functions.tpl.php index 05c4f1f..a859610 100644 --- a/conlite/includes/functions.tpl.php +++ b/conlite/includes/functions.tpl.php @@ -59,8 +59,8 @@ function tplEditTemplate($changelayout, $idtpl, $name, $description, $idlay, $c, $author = "" . $auth->auth["uname"] . ""; //******** entry in 'tpl'-table *************** - set_magic_quotes_gpc($name); - set_magic_quotes_gpc($description); + //set_magic_quotes_gpc($name); + //set_magic_quotes_gpc($description); if (!$idtpl) {