mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
pass extension name to view
This commit is contained in:
parent
5d2a3d9aba
commit
89e04299d0
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user