Debug v20
This commit is contained in:
parent
ea9619b942
commit
283f16234f
3 changed files with 3 additions and 3 deletions
|
|
@ -392,7 +392,7 @@ function societe_prepare_head(Societe $object)
|
|||
$h++;
|
||||
}
|
||||
|
||||
$head[$h][0] = DOL_URL_ROOT.'/societe/agenda.php?socid='.$object->id;
|
||||
$head[$h][0] = DOL_URL_ROOT.'/societe/messaging.php?socid='.$object->id;
|
||||
$head[$h][1] = $langs->trans("Events");
|
||||
if (isModEnabled('agenda') && ($user->hasRight('agenda', 'myactions', 'read') || $user->hasRight('agenda', 'allactions', 'read'))) {
|
||||
$nbEvent = 0;
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ function product_prepare_head($object)
|
|||
$h++;
|
||||
|
||||
// Log
|
||||
$head[$h][0] = DOL_URL_ROOT.'/product/agenda.php?id='.$object->id;
|
||||
$head[$h][0] = DOL_URL_ROOT.'/product/messaging.php?id='.$object->id;
|
||||
$head[$h][1] = $langs->trans("Events");
|
||||
if (isModEnabled('agenda') && ($user->hasRight('agenda', 'myactions', 'read') || $user->hasRight('agenda', 'allactions', 'read'))) {
|
||||
$head[$h][1] .= '/';
|
||||
|
|
|
|||
|
|
@ -1594,7 +1594,7 @@ if ($action == 'create' || $action == 'presend') {
|
|||
print showDirectPublicLink($object).'<br>';
|
||||
print '</div>';
|
||||
|
||||
if (getDolGlobalString('TICKET_SHOW_MESSAGES_ON_CARD')) {
|
||||
if (!getDolGlobalString('MAIN_HIDE_MESSAGES_ON_CARD')) {
|
||||
print '<div class="fichehalfright">';
|
||||
|
||||
$MAXEVENT = 10;
|
||||
|
|
|
|||
Loading…
Reference in a new issue