case 'Install': if (IPSModuleManagerGUI_GetLock($action, true)) { IPSLogger_Inf(__file__, 'IPSModuleManagerGUI - Installation of Module '.$module); $moduleManager = new IPSModuleManager($module); $moduleManager->InstallModule(); } break; case 'Load': if (IPSModuleManagerGUI_GetLock($action, true)) { IPSLogger_Inf(__file__, 'IPSModuleManagerGUI - Load Files of Module '.$module.' from Repository "'.$repository.'"'); $moduleManager = new IPSModuleManager($module, $repository); $moduleManager->LoadModule(); } IPSModuleManagerGUI_SetPage(IPSMMG_ACTION_MODULE, $module); break; case 'Delete': if (IPSModuleManagerGUI_GetLock($action, true)) { IPSLogger_Inf(__file__, 'IPSModuleManagerGUI - Delete of Module '.$module); $moduleManager = new IPSModuleManager($module); $moduleManager->DeleteModule(); } IPSModuleManagerGUI_SetPage(IPSMMG_ACTION_OVERVIEW, $module); break; default: IPSModuleManagerGUI_SetPage($action, $module, $info); } IPSModuleManagerGUI_Refresh(); /** @}*/ ?>
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with the IPSLibrary. If not, see http://www.gnu.org/licenses/gpl.txt. */ /**@ingroup ipsmodulemanagergui * @{ * * @file IPSModuleManagerGUI_SearchUpdates.ips.php * @author Andreas Brauneis * @version * Version 2.50.1, 29.10.2012<br/> * * Sucht nach Module Updates der IPSLibrary * */ include_once "IPSModuleManagerGUI.inc.php"; IPSUtils_Include ("IPSModuleManager.class.php", "IPSLibrary::install::IPSModuleManager"); $moduleManager = new IPSModuleManager('', '', sys_get_temp_dir(), true); $versionHandler = $moduleManager->VersionHandler(); $versionHandler->BuildKnownModules(); IPSModuleManagerGUI_SetPage(IPSMMG_ACTION_OVERVIEW); /** @}*/ ?>