$oTpl->assign('parent', $parent); $oTpl->assign('backURL', MAX::constructURL(MAX_URL_ADMIN, "plugin-index.php?action=info&package={$parent}")); } } } else { if ('settings' == $action) { require_once LIB_PATH . '/Admin/Redirect.php'; OX_Admin_Redirect::redirect("plugin-settings.php?group={$group}&parent={$parent}"); } else { if ('preferences' == $action) { require_once LIB_PATH . '/Admin/Redirect.php'; OX_Admin_Redirect::redirect("plugin-preferences.php?group={$group}&parent={$parent}"); } else { if (array_key_exists('checkdb', $_GET)) { $aInfo = $oComponentGroupManager->getComponentGroupInfo($_GET['checkdb']); $aSchema = $oComponentGroupManager->checkDatabase($_GET['checkdb'], $aInfo); $oTpl = new OA_Admin_Template('plugin-group-index.html'); $oTpl->assign('parent', $_GET['parent']); $oTpl->assign('parenturl', MAX::constructURL(MAX_URL_ADMIN, "plugin-index.php?info={$_GET['parent']}&package=true")); $oTpl->assign('aHeader', $aInfo); $oTpl->assign('aPluginDB', $aSchema); } } } } } } } } } }