* * Anzeige aller verfügbaren IPSLibrary Module Updates * */ /** @}*/ ?> '.$module.''; $moduleManager = new IPSModuleManager(); $modules = $moduleManager->GetInstalledModules(); $infos = $moduleManager->GetModuleInfos($module); $moduleInstalled = array_key_exists($module, $modules); // Common Section $versionColor='white'; $stateColor='white'; if ($infos['CurrentVersion'] <> $infos['Version'] and $moduleInstalled) { $versionColor='red'; } if ($infos['State']<>'OK' and $moduleInstalled) { $stateColor='red'; } $html .= ''; $html .= '' .''; $html .= '' .''; $html .= '' .''; $html .= '' .''; if ($moduleInstalled) { $html .= '' .''; $html .= '' .''; } $html .= '
Beschreibung
'.htmlentities($infos['Description'], ENT_COMPAT, 'ISO-8859-1').'
Modul Status
'.htmlentities($infos['State']).'
Verfügbare Version
'.htmlentities($infos['Version']).'
Repository
'.htmlentities($infos['Repository']).'
Aktuelle Version
'.htmlentities($infos['CurrentVersion']).'
Aktuelles Repository
'.htmlentities($infos['LastRepository']).'
'; // Update Section $html .= '

'; $properties = ''; if ($processing) { $properties = 'disabled'; } if (!$moduleInstalled) { $html .= ''; } else { $html .= ''; $html .= ''; $html .= ''; $html .= ''; } $html .= '

'; // Required Modules $html .= '
Benötigte Module
'; $modules = $moduleManager->VersionHandler()->GetRequiredModules($module); $html .= ''; foreach ($modules as $subModule=>$version) { $html .= '' .''; } $html .= '
' .''.$subModule.'
'.$version.'
'; // Versions $html .= '
Repository Versionen
'; $modules = $moduleManager->VersionHandler()->GetRepositoryVersions($module); $html .= ''; foreach ($modules as $repository=>$version) { $html .= '' .''; } $html .= '
'.$repository.'
'.$version.'
'; // ChangeList $html .= '
Liste der Änderungen
'; $changes = $moduleManager->VersionHandler()->GetChangeList($module, false); $html .= ''; foreach ($changes as $version=>$change) { $html .= '' .''; } $html .= '
'.$version.'
'.htmlentities($change, ENT_COMPAT, 'ISO-8859-1').'
'; echo $html; ?>