Debug v20

This commit is contained in:
Laurent Destailleur
2024-04-10 20:56:50 +02:00
parent edec5fb6f1
commit cfa71c869f
3 changed files with 3 additions and 3 deletions

View File

@@ -564,7 +564,7 @@ if ($type == Categorie::TYPE_PRODUCT) {
// Link to delete from category
print '<td class="right">';
if ($permission) {
print "<a href= '".$_SERVER['PHP_SELF']."?".(empty($socid) ? 'id' : 'socid')."=".$object->id."&type=".$typeid."&action=unlink&token=".newToken()."&removeelem=".$prod->id."'>";
print '<a class="reposition" href= "'.$_SERVER['PHP_SELF']."?".(empty($socid) ? 'id' : 'socid')."=".((int) $object->id)."&type=".urlencode($typeid)."&action=unlink&token=".newToken()."&removeelem=".$prod->id.'">';
print $langs->trans("DeleteFromCat");
print img_picto($langs->trans("DeleteFromCat"), 'unlink', '', false, 0, 0, '', 'paddingleft');
print "</a>";

View File

@@ -5498,11 +5498,11 @@ span[phptag] {
border-bottom: 1px solid #ccc;
background: #e6e6e6;
display: inline-block;
padding: 5px 5px 5px 5px;
z-index: 1000;
}
.centpercent.websitebar {
width: calc(100% - 10px);
padding: 5px 5px 5px 5px;
font-size: 0.94em;
}
.websitebar .buttonDelete, .websitebar .button {

View File

@@ -5482,10 +5482,10 @@ span[phptag] {
border-bottom: 1px solid #ccc;
background: #eee;
display: inline-block;
padding: 5px 5px 5px 5px;
}
.centpercent.websitebar {
width: calc(100% - 10px);
padding: 5px 5px 5px 5px;
font-size: 0.94em;
}
.websitebar .buttonDelete, .websitebar .button {