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"
---
| Time | Event | Subject | Description | Importance | |
-
+| 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 @@
-$docroot = $docroot ?: @$_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
+$docroot = $docroot ?: $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
require_once "$docroot/webGui/include/Wrappers.php";
$dynamix = parse_plugin_cfg('dynamix',true);
@@ -26,20 +26,20 @@ foreach ($files as $file) {
$empty = false;
$archive = basename($file);
if ($extra = count($fields)>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++;
}
}