mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix to disable unsupported pages for now in Dovecot 2.4
This commit is contained in:
@@ -33,6 +33,8 @@ if (!&get_config_file()) {
|
||||
|
||||
# Show icons for option categories
|
||||
@pages = ( "net", "login", "mail", "ssl", "manual" );
|
||||
@pages = grep { $_ ne 'login' && $_ ne 'mail' } @pages
|
||||
if (&version_atleast("2.4"));
|
||||
@titles = map { $text{$_."_title"} } @pages;
|
||||
@icons = map { "images/".$_.".gif" } @pages;
|
||||
@links = map { "edit_".$_.".cgi" } @pages;
|
||||
|
||||
Reference in New Issue
Block a user