diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php
index 16d29af4a35..25061e60f9c 100644
--- a/htdocs/core/lib/company.lib.php
+++ b/htdocs/core/lib/company.lib.php
@@ -1228,7 +1228,7 @@ function show_contacts($conf, $langs, $db, $object, $backtopage = '')
// Edit
if ($user->rights->societe->contact->creer)
{
- print '';
+ print '';
print img_edit();
print '';
}
diff --git a/htdocs/societe/notify/card.php b/htdocs/societe/notify/card.php
index 49cecff76d0..191f9c4bb2c 100644
--- a/htdocs/societe/notify/card.php
+++ b/htdocs/societe/notify/card.php
@@ -251,11 +251,11 @@ if ($result > 0)
$label = ($langs->trans("Notify_".$managedeventfornotification['code']) != "Notify_".$managedeventfornotification['code'] ? $langs->trans("Notify_".$managedeventfornotification['code']) : $managedeventfornotification['label']);
$actions[$managedeventfornotification['rowid']] = $label;
}
- print '
| ';
- print $form->selectarray("contactid", $listofemails, '', 0, 0, 0, '', 0, 0, 0, '', 'maxwidthonsmartphone');
+ print ' |
| ';
+ print img_picto('', 'contact', '', false, 0, 0, '', 'paddingright').$form->selectarray("contactid", $listofemails, '', 0, 0, 0, '', 0, 0, 0, '', 'maxwidthonsmartphone');
print ' | ';
print '';
- print $form->selectarray("actionid", $actions, '', 1, 0, 0, '', 0, 0, 0, '', 'maxwidthonsmartphone');
+ print img_picto('', 'object_action', '', false, 0, 0, '', 'paddingright').$form->selectarray("actionid", $actions, '', 1, 0, 0, '', 0, 0, 0, '', 'maxwidthonsmartphone');
print ' | ';
print '';
$type = array('email'=>$langs->trans("EMail"));
@@ -343,7 +343,7 @@ if ($result > 0)
print ' | ';
print '';
$label = ($langs->trans("Notify_".$obj->code) != "Notify_".$obj->code ? $langs->trans("Notify_".$obj->code) : $obj->label);
- print $label;
+ print img_picto('', 'object_action', '', false, 0, 0, '', 'paddingright').$label;
print ' | ';
print '';
if ($obj->type == 'email') print $langs->trans("Email");
@@ -522,6 +522,8 @@ if ($result > 0)
$i++;
}
$db->free($resql);
+ } else {
+ print ' |
| '.$langs->trans("None").' |
';
}
print '';
diff --git a/htdocs/user/notify/card.php b/htdocs/user/notify/card.php
index 93263bd92ea..84fbf2793e3 100644
--- a/htdocs/user/notify/card.php
+++ b/htdocs/user/notify/card.php
@@ -222,7 +222,7 @@ if ($result > 0)
$label = ($langs->trans("Notify_".$notifiedevent['code']) != "Notify_".$notifiedevent['code'] ? $langs->trans("Notify_".$notifiedevent['code']) : $notifiedevent['label']);
$actions[$notifiedevent['rowid']] = $label;
}
- print '| ';
+ print ' |
| ';
print $object->getNomUrl(1);
if (isValidEmail($object->email))
{
@@ -235,7 +235,7 @@ if ($result > 0)
}
print ' | ';
print '';
- print $form->selectarray("actionid", $actions, '', 1);
+ print img_picto('', 'object_action', '', false, 0, 0, '', 'paddingright').$form->selectarray("actionid", $actions, '', 1);
print ' | ';
print '';
$type = array('email'=>$langs->trans("EMail"));
@@ -321,7 +321,7 @@ if ($result > 0)
print ' | ';
print '';
$label = ($langs->trans("Notify_".$obj->code) != "Notify_".$obj->code ? $langs->trans("Notify_".$obj->code) : $obj->label);
- print $label;
+ print img_picto('', 'object_action', '', false, 0, 0, '', 'paddingright').$label;
print ' | ';
print '';
if ($obj->type == 'email') print $langs->trans("Email");
@@ -332,8 +332,7 @@ if ($result > 0)
$i++;
}
$db->free($resql);
- }
-
+ }
// List of notifications enabled for fixed email
/*
@@ -501,6 +500,9 @@ if ($result > 0)
}
$db->free($resql);
}
+ else {
+ print ' |
| '.$langs->trans("None").' |
';
+ }
print '';