diff --git a/gui/ext/vmmngr/vmmngr.conf b/gui/ext/vmmngr/vmmngr.conf index a4916c9..6a92a80 100644 --- a/gui/ext/vmmngr/vmmngr.conf +++ b/gui/ext/vmmngr/vmmngr.conf @@ -1,6 +1,6 @@ { "appname": "VM Manager", - "version": "0.7.0", + "version": "0.7.1", "rootfolder": "/mnt/Daten/extensions/vmmngr", "vm_source": "auto", "bridges": ["ix0bridge"], diff --git a/gui/vmmngr-boot.inc b/gui/vmmngr-boot.inc index 33e4d7c..eae7246 100644 --- a/gui/vmmngr-boot.inc +++ b/gui/vmmngr-boot.inc @@ -48,7 +48,7 @@ if (!function_exists('vmm_nav')) { * Clickable breadcrumb + section tabs (the XigmaNAS title itself is plain * text, so navigation lives here). */ - function vmm_nav(string $current): void + function vmm_nav(string $current, string $crumb = ''): void { $items = [ 'dashboard' => ['vmmngr.php', gettext('Dashboard')], @@ -58,12 +58,12 @@ if (!function_exists('vmm_nav')) { 'jobs' => ['vmmngr_jobs.php', gettext('Jobs')], 'config' => ['vmmngr_config.php', gettext('Configuration')], ]; - $label = $items[$current][1] ?? gettext('VM Manager'); + $label = $crumb !== '' ? $crumb : ($items[$current][1] ?? gettext('VM Manager')); ?>