diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php
index 4d5dc42f544..4d123967b14 100644
--- a/htdocs/categories/viewcat.php
+++ b/htdocs/categories/viewcat.php
@@ -575,7 +575,7 @@ if ($type == Categorie::TYPE_PRODUCT) {
print '
';
if ($permission) {
print 'id)."&type=".urlencode($typeid)."&action=unlink&token=".newToken()."&removeelem=".$prod->id.'">';
- print $langs->trans("DeleteFromCat");
+ //print $langs->trans("DeleteFromCat");
print img_picto($langs->trans("DeleteFromCat"), 'unlink', '', 0, 0, 0, '', 'paddingleft');
print "";
}
@@ -655,7 +655,7 @@ if ($type == Categorie::TYPE_CUSTOMER) {
print ' | ';
if ($permission) {
print "id."&type=".$typeid."&action=unlink&token=".newToken()."&removeelem=".$soc->id."'>";
- //print ''.$langs->trans("DeleteFromCat").'';
+ //print $langs->trans("DeleteFromCat");
print img_picto($langs->trans("DeleteFromCat"), 'unlink', '', 0, 0, 0, '', 'paddingleft');
print "";
}
@@ -736,7 +736,7 @@ if ($type == Categorie::TYPE_SUPPLIER) {
print ' | ';
if ($permission) {
print 'id."&type=".$typeid."&action=unlink&token=".newToken()."&removeelem=".$soc->id.($limit ? '&limit='.$limit : '').'">';
- print $langs->trans("DeleteFromCat");
+ //print $langs->trans("DeleteFromCat");
print img_picto($langs->trans("DeleteFromCat"), 'unlink', '', 0, 0, 0, '', 'paddingleft');
print "";
}
@@ -821,7 +821,7 @@ if ($type == Categorie::TYPE_MEMBER) {
print ' | ';
if ($permission) {
print "id."&type=".$typeid."&action=unlink&token=".newToken()."&removeelem=".$member->id."'>";
- print $langs->trans("DeleteFromCat");
+ //print $langs->trans("DeleteFromCat");
print img_picto($langs->trans("DeleteFromCat"), 'unlink', '', 0, 0, 0, '', 'paddingleft');
print "";
}
@@ -907,7 +907,7 @@ if ($type == Categorie::TYPE_CONTACT) {
print ' | ';
if ($permission) {
print "id."&type=".$typeid."&action=unlink&token=".newToken()."&removeelem=".$contact->id."'>";
- print $langs->trans("DeleteFromCat");
+ //print $langs->trans("DeleteFromCat");
print img_picto($langs->trans("DeleteFromCat"), 'unlink', '', 0, 0, 0, '', 'paddingleft');
print "";
}
@@ -990,7 +990,7 @@ if ($type == Categorie::TYPE_ACCOUNT) {
print ' | ';
if ($permission) {
print "id."&type=".$typeid."&action=unlink&token=".newToken()."&removeelem=".$account->id."'>";
- print $langs->trans("DeleteFromCat");
+ //print $langs->trans("DeleteFromCat");
print img_picto($langs->trans("DeleteFromCat"), 'unlink', '', 0, 0, 0, '', 'paddingleft');
print "";
}
@@ -1067,13 +1067,12 @@ if ($type == Categorie::TYPE_PROJECT) {
print ' | ';
print $project->getNomUrl(1);
print " | \n";
- print ''.$project->ref." | \n";
print ''.$project->title." | \n";
// Link to delete from category
print '';
if ($permission) {
print "id."&type=".$typeid."&action=unlink&token=".newToken()."&removeelem=".$project->id."'>";
- print $langs->trans("DeleteFromCat");
+ //print $langs->trans("DeleteFromCat");
print img_picto($langs->trans("DeleteFromCat"), 'unlink', '', 0, 0, 0, '', 'paddingleft');
print "";
}
@@ -1151,7 +1150,7 @@ if ($type == Categorie::TYPE_USER) {
print ' | ';
if ($user->hasRight('user', 'user', 'creer')) {
print "id."&type=".$typeid."&action=unlink&token=".newToken()."&removeelem=".$userentry->id."'>";
- print $langs->trans("DeleteFromCat");
+ //print $langs->trans("DeleteFromCat");
print img_picto($langs->trans("DeleteFromCat"), 'unlink', '', 0, 0, 0, '', 'paddingleft');
print "";
}
@@ -1223,7 +1222,7 @@ if ($type == Categorie::TYPE_WAREHOUSE) {
print ' | ';
if ($permission) {
print "id."&type=".$typeid."&action=unlink&token=".newToken()."&removeelem=".$warehouse->id."'>";
- print $langs->trans("DeleteFromCat");
+ //print $langs->trans("DeleteFromCat");
print img_picto($langs->trans("DeleteFromCat"), 'unlink', '', 0, 0, 0, '', 'paddingleft');
print "";
}
@@ -1303,7 +1302,7 @@ if ($type == Categorie::TYPE_TICKET) {
print ' | ';
if ($permission) {
print "id."&type=".$typeid."&action=unlink&token=".newToken()."&removeelem=".$ticket->id."'>";
- print $langs->trans("DeleteFromCat");
+ //print $langs->trans("DeleteFromCat");
print img_picto($langs->trans("DeleteFromCat"), 'unlink', '', 0, 0, 0, '', 'paddingleft');
print "";
}
|