CreateWFCItemCategory ($WFC10_ConfigId, $tabItem.'_TopRight'.$UId, $tabItem.'_Top', 20, '', '', $categoryId_WebFrontTopRight /*BaseId*/, 'false' /*BarBottomVisible*/); ReloadAllWebFronts(); } // ---------------------------------------------------------------------------------------------------------------------------- // Mobile Installation // ---------------------------------------------------------------------------------------------------------------------------- if ($Mobile_Enabled) { $mobileId = CreateCategoryPath($Mobile_Path, $Mobile_PathOrder, $Mobile_PathIcon); $mobileId = CreateCategoryPath($Mobile_Path.'.'.$Mobile_Name, $Mobile_Order, $Mobile_Icon); $InstanceId = CreateDummyInstance("Sonnen-Aufgang/Untergang", $mobileId, 10); CreateLink('Begin/Ende', $SunriseDisplay, $InstanceId, 10); CreateLink('Limits', $SunriseLimits, $InstanceId, 20); $InstanceId = CreateDummyInstance("Zivile Dämmerung", $mobileId, 20); CreateLink('Begin/Ende', $CivilDisplay, $InstanceId, 10); CreateLink('Limits', $CivilLimits, $InstanceId, 20); $InstanceId = CreateDummyInstance("Nautische Dämmerung", $mobileId, 30); CreateLink('Begin/Ende', $NauticDisplay, $InstanceId, 10); CreateLink('Limits', $NauticLimits, $InstanceId, 20); $InstanceId = CreateDummyInstance("Astronomische Dämmerung", $mobileId, 40); CreateLink('Begin/Ende', $AstronomicDisplay, $InstanceId, 10); CreateLink('Limits', $AstronomicLimits, $InstanceId, 20); CreateLinkByDestination("Jahres Grafik", $YearUnlimitedMediaId, $mobileId, 100); CreateLinkByDestination('Tages Grafik', $DayUnlimitedMediaId, $mobileId, 110); CreateLinkByDestination("Jahres Grafik (limited)", $YearLimitedMediaId, $mobileId, 120); CreateLinkByDestination('Tages Grafik (limited)', $DayLimitedMediaId, $mobileId, 130); } /** @}*/ ?>
CreateWFCItemSplitPane ($WFC10_ConfigId, $WFC10_TabPaneItem.'_OV', $WFC10_TabPaneItem.'', 10, $WFC10_TabName1, $WFC10_TabIcon1, 0 /*Horizontal*/, 300 /*Hight*/, 0 /*Target=Pane1*/, 1/*UsePixel*/, 'true'); CreateWFCItemSplitPane ($WFC10_ConfigId, $WFC10_TabPaneItem.'_OVTop', $WFC10_TabPaneItem.'_OV', 10, '', '', 1 /*Vertical*/, 430 /*Width*/, 1 /*Target=Pane2*/, 1/*UsePixel*/, 'true'); CreateWFCItemSplitPane ($WFC10_ConfigId, $WFC10_TabPaneItem.'_OVBottom', $WFC10_TabPaneItem.'_OV', 20, '', '', 1 /*Vertical*/, 430 /*Width*/, 1 /*Target=Pane2*/, 1/*UsePixel*/, 'true'); CreateWFCItemCategory ($WFC10_ConfigId, $WFC10_TabPaneItem.'_OVTop1', $WFC10_TabPaneItem.'_OVTop', 10, 'Column_1', '', $WebFrontOverviewTop1 /*BaseId*/, 'false' /*BarBottomVisible*/); CreateWFCItemCategory ($WFC10_ConfigId, $WFC10_TabPaneItem.'_OVTop2', $WFC10_TabPaneItem.'_OVTop', 10, 'Column_2', '', $WebFrontOverviewTop2 /*BaseId*/, 'false' /*BarBottomVisible*/); CreateWFCItemCategory ($WFC10_ConfigId, $WFC10_TabPaneItem.'_OVBottom1',$WFC10_TabPaneItem.'_OVBottom', 20, 'Column_1', '', $WebFrontOverviewBottom1 /*BaseId*/, 'false' /*BarBottomVisible*/); CreateWFCItemCategory ($WFC10_ConfigId, $WFC10_TabPaneItem.'_OVBottom2',$WFC10_TabPaneItem.'_OVBottom', 20, 'Column_2', '', $WebFrontOverviewBottom2 /*BaseId*/, 'false' /*BarBottomVisible*/); // Webfront Overview $Idx = 10; foreach ($WaterConfig as $CircleId=>$CircleData) { $CirclyId = get_WateringCirclyId($CircleId, $CategoryIdCircles); $CircleName = $CircleData[c_Property_Name]; // Overview Data CreateLink ($CircleName, get_WateringControlId(c_Control_Active, $CirclyId), $WebFrontOverviewTop1, $Idx); CreateLinkByDestination ('Status', get_WateringControlId(c_Control_ToBeDone, $CirclyId), $WebFrontOverviewTop2, $Idx); // Detailed CirclyData $WebFrontDetailId = CreateCategory($CircleName, $WebFrontId, 100+$Idx); CreateWFCItemCategory ($WFC10_ConfigId, $WFC10_TabPaneItem.'_'.$Idx,$WFC10_TabPaneItem.'', 100+$Idx, $CircleName, '', $WebFrontDetailId /*BaseId*/, 'false' /*BarBottomVisible*/); CreateLink('Status', get_WateringControlId(c_Control_Active, $CirclyId), $WebFrontDetailId, 10); CreateLink('Automatik', get_WateringControlId(c_Control_Automatic, $CirclyId), $WebFrontDetailId, 20); CreateLink('Programm', get_WateringControlId(c_Control_Program, $CirclyId), $WebFrontDetailId, 30); CreateLink('Regen Sensor', get_WateringControlId(c_Control_Sensor, $CirclyId), $WebFrontDetailId, 35); CreateLink('Beregnungs Dauer', get_WateringControlId(c_Control_Duration, $CirclyId), $WebFrontDetailId, 40); CreateLink('Start Zeit', get_WateringControlId(c_Control_StartTime, $CirclyId), $WebFrontDetailId, 50); $Idx = $Idx + 10; } // Bottom Left CreateLink('Meldungen', $ControlIdLog, $WebFrontOverviewBottom1, 10);