related to #1693 fix undefined variables in languages and plugins and a user activity unused variable causing errors

This commit is contained in:
Matthieu Leproux
2022-07-20 15:06:49 +02:00
committed by plegall
parent bc2f884f4a
commit aeb1d2b80b
3 changed files with 2 additions and 5 deletions

View File

@@ -171,8 +171,6 @@ if ($plugins->get_server_plugins(true, $beta_test))
'SCREENSHOT' => (key_exists('screenshot_url', $plugin)) ? $plugin['screenshot_url']:'',
'TAGS' => $plugin["tags"],
));
$template->assign('BETA_TEST', $beta_test);
}
@@ -187,6 +185,6 @@ if (!$beta_test and preg_match('/(beta|RC)/', PHPWG_VERSION))
$template->assign('BETA_URL', $base_url.'&beta-test=true');
}
$template->assign('ADMIN_PAGE_TITLE', l10n('Plugins'));
$template->assign('BETA_TEST', $beta_test);
$template->assign_var_from_handle('ADMIN_CONTENT', 'plugins');
?>