summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9451707)
raw | patch | inline | side by side (parent: 9451707)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 25 Jan 2006 07:44:39 +0000 (07:44 +0000) | ||
committer | hickert <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 | patch | blob | history | |
plugins/admin/systems/glpiManufacturerAdd.tpl | patch | blob | history |
diff --git a/plugins/admin/systems/class_glpiManufacturer.inc b/plugins/admin/systems/class_glpiManufacturer.inc
index 9b92e4016babcb5f494a24d73641235ac1eabcd1..120818a5ddc7839b1b52c753c21d7da1ec59d8de 100644 (file)
{
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 204578114d4ce1a4f55a0815b5cebb7633a3310e..684deabf0e3a7b355045519283fe83ce11d43280 100644 (file)
<table summary="" width="100%">
<tr>
<td width="50%">
- <table summary="" width="100%">
+ <table summary="">
<tr>
<td>{t}Name{/t}
</td>
</td>
</tr>
<tr>
- <td>{t}Address{/t}
+ <td style="vertical-align:top;">{t}Address{/t}
</td>
<td>
<textarea name="address">{$address}</textarea>
</table>
</td>
<td>
- <table summary="" width="100%">
+ <table summary="" >
<tr>
<td>{t}Phone number{/t}
</td>
</td>
</tr>
<tr>
- <td>{t}Comments{/t}
+ <td style="vertical-align:top;">{t}Comments{/t}
</td>
<td>
<textarea name="comments">{$comments}</textarea>