Email Logs: Fix Show All & Label

This commit is contained in:
Nate 2019-04-22 06:46:06 -06:00
parent 186d7981a2
commit 2af0ffb978
1 changed files with 2 additions and 2 deletions

View File

@ -233,7 +233,7 @@
echo " </span>\n"; echo " </span>\n";
if (permission_exists('email_log_all')) { if (permission_exists('email_log_all')) {
if ($_REQUEST['showall'] != 'true') { if ($_REQUEST['showall'] != 'true') {
echo " <input type='button' class='btn' value='".$text['button-show_all']."' onclick=\"window.location='emails.php?showall=true';\">\n"; echo " <input type='button' class='btn' value='".$text['button-show_all']."' onclick=\"window.location='email_logs.php?showall=true';\">\n";
} }
} }
echo " <input type='button' class='btn' alt=\"".$text['button-refresh']."\" onclick=\"document.location.reload();\" value='".$text['button-refresh']."'>\n"; echo " <input type='button' class='btn' alt=\"".$text['button-refresh']."\" onclick=\"document.location.reload();\" value='".$text['button-refresh']."'>\n";
@ -247,7 +247,7 @@
echo "<tr>\n"; echo "<tr>\n";
if ($_REQUEST['showall'] == true && permission_exists('email_log_all')) { if ($_REQUEST['showall'] == true && permission_exists('email_log_all')) {
echo th_order_by('domain_name', $text['label-domain-name'], $order_by, $order, null, null, $param); echo th_order_by('domain_name', $text['label-domain'], $order_by, $order, null, null, $param);
} }
echo th_order_by('sent_date', $text['label-sent'], $order_by, $order, null, null, $param); echo th_order_by('sent_date', $text['label-sent'], $order_by, $order, null, null, $param);
echo th_order_by('type', $text['label-type'], $order_by, $order, null, null, $param); echo th_order_by('type', $text['label-type'], $order_by, $order, null, null, $param);