From cee1d51e09e9140b5c0c3e3cdca239acc9fb7fe4 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 25 Jan 2006 07:44:39 +0000 Subject: [PATCH] Updated template git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2566 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_glpiManufacturer.inc | 2 +- plugins/admin/systems/glpiManufacturerAdd.tpl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/admin/systems/class_glpiManufacturer.inc b/plugins/admin/systems/class_glpiManufacturer.inc index 9b92e4016..120818a5d 100644 --- a/plugins/admin/systems/class_glpiManufacturer.inc +++ b/plugins/admin/systems/class_glpiManufacturer.inc @@ -159,7 +159,7 @@ class glpiManufacturer extends plugin { foreach($this->attributes as $attr){ if(isset($_POST[$attr])){ - $this->$attr = $_POST[$attr]; + $this->$attr = stripslashes($_POST[$attr]); } } } diff --git a/plugins/admin/systems/glpiManufacturerAdd.tpl b/plugins/admin/systems/glpiManufacturerAdd.tpl index 204578114..684deabf0 100644 --- a/plugins/admin/systems/glpiManufacturerAdd.tpl +++ b/plugins/admin/systems/glpiManufacturerAdd.tpl @@ -1,7 +1,7 @@
- +
@@ -17,7 +17,7 @@ -
{t}Name{/t}
{t}Address{/t} + {t}Address{/t} @@ -26,7 +26,7 @@
- +
@@ -49,7 +49,7 @@ -
{t}Phone number{/t}
{t}Comments{/t} + {t}Comments{/t} -- 2.30.2