Skip to content

Commit

Permalink
Evarisk#3354 [Conf] fix: remove backslash n in event tab
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-micka committed Oct 10, 2023
1 parent 67d3709 commit b1c5a92
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions admin/event.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
print load_fiche_titre($langs->trans('ConfEventAuto'), '', '');

print '<span class="opacitymedium">'.$langs->trans("DigiriskEventAutoDesc").'</span><br>';
print "<br>\n";
print '<br>';

print '<div class="div-table-responsive">';
print '<table class="noborder centpercent">';
Expand All @@ -148,15 +148,11 @@
print $searchpicto;
print '</td>';
print '</tr>';
print '</tr>'.'\n';

$param = '';
$param .= '&search_event='.urlencode($searchEvent);

print '<tr class="liste_titre">';
print '<th class="liste_titre" colspan="2">'.$langs->trans("DigiriskActionsEvents").'</th>';
print '<th class="liste_titre"><a href="'.$_SERVER["PHP_SELF"].'?action=selectall'.($param ? $param : '').'">'.$langs->trans("All").'</a>/<a href="'.$_SERVER["PHP_SELF"].'?action=selectnone'.($param ? $param : '').'">'.$langs->trans("None").'</a></th>';
print '</tr>'.'\n';
print '<th class="liste_titre"><a href="'.$_SERVER["PHP_SELF"].'?action=selectall&search_event='. urlencode($searchEvent) . '">'.$langs->trans("All").'</a>/<a href="'.$_SERVER["PHP_SELF"].'?action=selectnone'.($param ? $param : '').'">'.$langs->trans("None").'</a></th>';
print '</tr>';

// Show each trigger (list is in c_digiriskdolibarr_action_trigger)
if (!empty($triggers)) {
Expand Down

0 comments on commit b1c5a92

Please sign in to comment.