fix #1700 use user_prefs instead of cookies for the view selector in plugin manager

This commit is contained in:
Matthieu Leproux
2022-08-01 17:11:25 +02:00
parent 74e932a5a9
commit 1ed159f7a7
4 changed files with 19 additions and 11 deletions
+1
View File
@@ -195,6 +195,7 @@ $template->assign(
'max_inactive_before_hide' => isset($_GET['show_inactive']) ? 999 : 8,
'isWebmaster' => (is_webmaster()) ? 1 : 0,
'ADMIN_PAGE_TITLE' => l10n('Plugins'),
'view_selector' => userprefs_get_param('plugin-manager-view', 'classic'),
)
);