From 3166e49fa28cf16839eddea3bfd76e054c18cef7 Mon Sep 17 00:00:00 2001 From: bergware Date: Sun, 20 Aug 2017 18:14:23 +0200 Subject: [PATCH] Update notifications to work with tablesorter v2.28.15 --- plugins/dynamix/NotificationAgents.page | 1 + plugins/dynamix/Notifications.page | 1 + plugins/dynamix/NotificationsArchive.page | 12 ++++++------ plugins/dynamix/include/NotificationsArchive.php | 14 +++++++------- 4 files changed, 15 insertions(+), 13 deletions(-) diff --git a/plugins/dynamix/NotificationAgents.page b/plugins/dynamix/NotificationAgents.page index 8fb20c698..6b0ad7d8c 100644 --- a/plugins/dynamix/NotificationAgents.page +++ b/plugins/dynamix/NotificationAgents.page @@ -1,5 +1,6 @@ Menu="Notifications:3" Title="Notification Agents" +Tag="rss-square" --- - +
TimeEventSubjectDescriptionImportance
Please wait, loading information ...
diff --git a/plugins/dynamix/include/NotificationsArchive.php b/plugins/dynamix/include/NotificationsArchive.php index 61341333e..3d3d415db 100644 --- a/plugins/dynamix/include/NotificationsArchive.php +++ b/plugins/dynamix/include/NotificationsArchive.php @@ -1,6 +1,6 @@ 6) { - $td_ = ""; $_td = ""; + $td_ = ""; $_td = ""; } else { - $td_ = ""; $_td = ""; + $td_ = ""; $_td = ""; } $c = 0; foreach ($fields as $field) { if ($c==5) break; $item = $field ? explode('=', $field, 2) : ["","-"]; - echo (!$c++) ? "$td_".date("{$dynamix['notify']['date']} {$dynamix['notify']['time']}", $item[1])."$_td" : "{$item[1]}"; + echo (!$c++) ? "".str_replace('xxx',$item[1],$td_).date("{$dynamix['notify']['date']} {$dynamix['notify']['time']}", $item[1])."$_td" : "{$item[1]}"; } echo ""; if ($extra) { $item = explode('=', $field, 2); - echo "{$item[1]}"; + echo "{$item[1]}"; $row++; } }