* 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:
Brian Read 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 # Determine the directory where the functions are kept
#----------------------------------------------------- #-----------------------------------------------------
my $navigation_ctlr_ignore = 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(-.*)?)"; # "(\.\.?|Initial\.pm|Manual\.pm|Swttheme\.pm|Request\.pm|Modules\.pm(-.*)?)";
my $navigation_cgi_ignore = my $navigation_cgi_ignore =
"(\.\.?|navigation|noframes|online-manual|(internal|pleasewait)(-.*)?)"; "(\.\.?|navigation|noframes|online-manual|(internal|pleasewait)(-.*)?)";

View File

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

View File

@ -2,7 +2,7 @@ Summary: Sme server navigation module : manager 2
%define name smeserver-manager %define name smeserver-manager
Name: %{name} Name: %{name}
%define version 11.0.0 %define version 11.0.0
%define release 3 %define release 4
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: GPL License: GPL
@ -108,6 +108,9 @@ true
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* 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]
* Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-3.sme * Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-3.sme
- Set license file to GPL2.0 [SME: 12577] - Set license file to GPL2.0 [SME: 12577]