pass extension name to view

This commit is contained in:
Uwe Steinmann 2018-03-23 10:10:12 +01:00
parent 5d2a3d9aba
commit 89e04299d0

View File

@ -40,6 +40,10 @@ if(isset($_GET['currenttab']))
$currenttab = $_GET['currenttab']; $currenttab = $_GET['currenttab'];
else else
$currenttab = 'installed'; $currenttab = 'installed';
if(isset($_GET['extensionname']))
$extname = $_GET['extensionname'];
else
$extname = '';
if($view) { if($view) {
$view->setParam('httproot', $settings->_httpRoot); $view->setParam('httproot', $settings->_httpRoot);
@ -47,6 +51,7 @@ if($view) {
$view->setParam('version', $v); $view->setParam('version', $v);
$view->setParam('extmgr', $extmgr); $view->setParam('extmgr', $extmgr);
$view->setParam('currenttab', $currenttab); $view->setParam('currenttab', $currenttab);
$view->setParam('extname', $extname);
$view->setParam('reposurl', $reposurl); $view->setParam('reposurl', $reposurl);
$view($_GET); $view($_GET);
exit; exit;