related to #1679 Good title for Updates tabs called in different parts of admin

This commit is contained in:
Matthieu Leproux
2022-06-28 13:00:17 +02:00
parent 2681bf099d
commit 03341e35a2
5 changed files with 16 additions and 10 deletions

View File

@@ -25,9 +25,12 @@ $tabsheet->set_id('plugins');
$tabsheet->select($page['tab']);
$tabsheet->assign();
if ($page['tab'] == 'update')
if ($page['tab'] == 'update') {
include(PHPWG_ROOT_PATH.'admin/updates_ext.php');
$template->assign('ADMIN_PAGE_TITLE', l10n('Plugins'));
}
else
{
include(PHPWG_ROOT_PATH.'admin/plugins_'.$page['tab'].'.php');
}
?>