diff --git a/plugins/dynamix/include/DefaultPageLayout.php b/plugins/dynamix/include/DefaultPageLayout.php index 19c20d0fb..822d4a3ef 100644 --- a/plugins/dynamix/include/DefaultPageLayout.php +++ b/plugins/dynamix/include/DefaultPageLayout.php @@ -504,7 +504,6 @@ foreach ($pages as $page) { $pgs = find_pages($page['name']); foreach ($pgs as $pg) { @eval("\$title=\"".htmlspecialchars($pg['Title'])."\";"); - $link = "$path/{$pg['name']}"; $icon = $pg['Icon'] ?? ""; if (substr($icon,-4)=='.png') { $root = $pg['root']; @@ -521,7 +520,7 @@ foreach ($pages as $page) { if (substr($icon,0,3)!='fa-') $icon = "fa-$icon"; $icon = ""; } - echo "
$icon
"._($title)."
"; + echo "
$icon
"._($title)."
"; } } // create list of nchan scripts to be started