* Tue Apr 23 2024 Brian Read <brianr@koozali.org> 11.0.0-4.sme

- add in Nav numbers for Legacypanels.pm and ignore it when generating nav menu [SME:12643]
This commit is contained in:
2024-04-23 09:28:31 +01:00
parent c38c471bc0
commit a580a79ab5
3 changed files with 10 additions and 2 deletions

View File

@@ -535,7 +535,7 @@ sub getNavigation {
# Determine the directory where the functions are kept
#-----------------------------------------------------
my $navigation_ctlr_ignore =
"(\.\.?|Swttheme\.pm|Login\.pm|Request\.pm|Modules\.pm(-.*)?)";
"(\.\.?|Swttheme\.pm|Login\.pm|Request\.pm|Modules\.pm|Legacypanel\.pm(-.*)?)";
# "(\.\.?|Initial\.pm|Manual\.pm|Swttheme\.pm|Request\.pm|Modules\.pm(-.*)?)";
my $navigation_cgi_ignore =
"(\.\.?|navigation|noframes|online-manual|(internal|pleasewait)(-.*)?)";

View File

@@ -1,5 +1,10 @@
package SrvMngr::Controller::Legacypanel;
#----------------------------------------------------------------------
# heading : Legacy
# description : Legacy panel
# navigation : 99999 9999
#----------------------------------------------------------------------
#----------------------------------------------------------------------
# name : legacypanel, method : get, url : /legacypanel, ctlact : Legacypanel#main
#