?> <?php IPSUtils_Include("IPSModuleManager.class.php", "IPSLibrary::install::IPSModuleManager"); $html = '<h2>Installation von Modul ' . $module . '</h2>'; $file = IPS_GetKernelDir() . 'scripts\\IPSLibrary\\install\\InitializationFiles\\' . $module . '.ini'; $configUsr = parse_ini_file($file, true); $file = IPS_GetKernelDir() . 'scripts\\IPSLibrary\\install\\InitializationFiles\\Default\\' . $module . '.ini'; $configDef = parse_ini_file($file, true); $html2 = ''; if (array_key_exists('WFC10', $configDef)) { if (!array_key_exists('ID', $configDef['WFC10'])) { $configDef['WFC10']['ID'] = GetWFCIdDefault(); } if (!array_key_exists('ID', $configUsr['WFC10'])) { $configUsr['WFC10']['ID'] = GetWFCIdDefault(); } $html .= '<h4>WebFront (10" Optimierung)</h4>'; $html .= '<table border=0>'; $html .= ' <tr><th>Parameter</th><th>Wert</th><th>Default Wert</th><th>Beschreibung</th></tr>'; $html .= Get_TableRow($configUsr, $configDef, 'WFC10', 'Enabled', 'checkbox', 'WebFront Interface', 'Mit diesem Parameter kann gesteuert werden, ob eine WebFront Installation durchgeführt wird'); $html .= Get_TableRow($configUsr, $configDef, 'WFC10', 'Path', 'text', 'Installation Pfad', 'Legt fest in welchem Pfad die Struktur für das WebFront Interface in IP-Symcon abgelegt wird'); $html .= Get_TableRow($configUsr, $configDef, 'WFC10', 'ID', 'text', 'WebFront Konfigurator ID', 'ID des WebFront Konfigurator, der für die Installation des WebFront Interfaces verwendet werden soll'); $html .= Get_TableRow($configUsr, $configDef, 'WFC10', 'TabPaneItem', 'text', 'TabPane ID', 'Bestimmt den internen Namen im WebFront Konfigurator'); $html .= Get_TableRow($configUsr, $configDef, 'WFC10', 'TabPaneParent', 'text', 'TabPane Parent', 'Übergeordnetes Element im WebFront Konfigurator (normalerweise roottp)'); $html .= Get_TableRow($configUsr, $configDef, 'WFC10', 'TabPaneName', 'text', 'TabPane Titel', 'Text, der für das Element in der obersten Navigations Leiste verwendet werden soll'); $html .= Get_TableRow($configUsr, $configDef, 'WFC10', 'TabPaneIcon', 'text', 'TabPane Icon', 'Icon, das für das Element in der obersten Navigations Leiste verwendet werden soll'); $html .= Get_TableRow($configUsr, $configDef, 'WFC10', 'TabPaneOrder', 'text', 'TabPane Order', 'Reihenfolge, die für das Element in der obersten Navigations Leiste verwendet werden soll'); $html .= Get_TableRow($configUsr, $configDef, 'WFC10', 'TabPaneExclusive', 'checkbox', 'TabPane Exclusive', 'Element in der obersten Navigations Leiste steht dem Modul "exklusiv" zur Verfügung (ACHTUNG: Bei Aktivierung wird bei einer Neuinstallation der komplette Inhalt des Elementes gelöscht!)'); $html .= Get_TableRow($configUsr, $configDef, 'WFC10', 'TabItem', 'text', 'ID', 'Bestimmt den internen Namen im WebFront Konfigurator (die verwendete ID setzt sich aus der TabPane ID und dieser ID zusammen)'); $html .= Get_TableRow($configUsr, $configDef, 'WFC10', 'TabName', 'text', 'Titel', 'Text, der für das Element in der unteren Navigations Leiste verwendet werden soll');
if (!isset($moduleManager)) { IPSUtils_Include ('IPSModuleManager.class.php', 'IPSLibrary::install::IPSModuleManager'); echo 'ModuleManager Variable not set --> Create "default" ModuleManager'.PHP_EOL; $moduleManager = new IPSModuleManager('IPSTwilight'); } $moduleManager->VersionHandler()->CheckModuleVersion('IPS','2.50'); $moduleManager->VersionHandler()->CheckModuleVersion('IPSModuleManager','2.50.2'); $moduleManager->VersionHandler()->CheckModuleVersion('IPSLogger','2.50.1'); IPSUtils_Include ("IPSInstaller.inc.php", "IPSLibrary::install::IPSInstaller"); IPSUtils_Include ("IPSTwilight_Configuration.inc.php", "IPSLibrary::config::modules::Weather::IPSTwilight"); $WFC10_Enabled = $moduleManager->GetConfigValue('Enabled', 'WFC10'); $WFC10_ConfigId = $moduleManager->GetConfigValueIntDef('ID', 'WFC10', GetWFCIdDefault()); $WFC10_Path = $moduleManager->GetConfigValue('Path', 'WFC10'); $WFC10_TabPaneItem = $moduleManager->GetConfigValue('TabPaneItem', 'WFC10'); $WFC10_TabPaneParent = $moduleManager->GetConfigValue('TabPaneParent', 'WFC10'); $WFC10_TabPaneName = $moduleManager->GetConfigValue('TabPaneName', 'WFC10'); $WFC10_TabPaneIcon = $moduleManager->GetConfigValue('TabPaneIcon', 'WFC10'); $WFC10_TabPaneOrder = $moduleManager->GetConfigValueInt('TabPaneOrder', 'WFC10'); $WFC10_TabItem = $moduleManager->GetConfigValue('TabItem', 'WFC10'); $WFC10_TabName = $moduleManager->GetConfigValue('TabName', 'WFC10'); $WFC10_TabIcon = $moduleManager->GetConfigValue('TabIcon', 'WFC10'); $WFC10_TabOrder = $moduleManager->GetConfigValueInt('TabOrder', 'WFC10'); $Mobile_Enabled = $moduleManager->GetConfigValue('Enabled', 'Mobile'); $Mobile_Path = $moduleManager->GetConfigValue('Path', 'Mobile'); $Mobile_PathOrder = $moduleManager->GetConfigValueInt('PathOrder', 'Mobile'); $Mobile_PathIcon = $moduleManager->GetConfigValue('PathOrder', 'Mobile');