Code

Updated template
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 Jan 2006 07:44:39 +0000 (07:44 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 25 Jan 2006 07:44:39 +0000 (07:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2566 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_glpiManufacturer.inc
plugins/admin/systems/glpiManufacturerAdd.tpl

index 9b92e4016babcb5f494a24d73641235ac1eabcd1..120818a5ddc7839b1b52c753c21d7da1ec59d8de 100644 (file)
@@ -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]);
       }
     }
   }
index 204578114d4ce1a4f55a0815b5cebb7633a3310e..684deabf0e3a7b355045519283fe83ce11d43280 100644 (file)
@@ -1,7 +1,7 @@
 <table summary="" width="100%">
        <tr>
                <td width="50%">
-                       <table summary="" width="100%">
+                       <table summary=""
                                <tr>
                                        <td>{t}Name{/t}
                                        </td>
@@ -17,7 +17,7 @@
                                        </td>
                                </tr>
                                <tr>
-                                       <td>{t}Address{/t}
+                                       <td style="vertical-align:top;">{t}Address{/t}
                                        </td>
                                        <td>
                                                <textarea  name="address">{$address}</textarea>
@@ -26,7 +26,7 @@
                        </table>
                </td>
                <td>
-                       <table summary="" width="100%">
+                       <table summary="" >
                                <tr>
                                        <td>{t}Phone number{/t}
                                        </td>
@@ -49,7 +49,7 @@
                                        </td>
                                </tr>
                                <tr>
-                                       <td>{t}Comments{/t}
+                                       <td style="vertical-align:top;">{t}Comments{/t}
                                        </td>
                                        <td>
                                                <textarea name="comments">{$comments}</textarea>