Do not list Legacy Theme in dropdown in Change Language and Theme module

This commit is contained in:
Ilia Rostovtsev
2021-03-06 15:07:07 +03:00
parent 2ae9cb3296
commit 9a9342edf0

View File

@@ -75,8 +75,7 @@ if ($access{'theme'}) {
[ [ 1, &text('index_themeglobal', $tname)."<br>" ],
[ 0, $text{'index_themeset'} ] ])." ".
&ui_select("theme", $user->{'theme'},
[ [ '', $text{'index_themedef'} ],
map { [ $_->{'dir'}, $_->{'desc'} ] }
[ map { [ $_->{'dir'}, $_->{'desc'} ] }
@themes ]), undef, [ "valign=top","valign=top" ]);
# Overlay, if any