CreateLinkByDestination('Astronomische Dämmerung', $AstronomicDisplay, $categoryId_WebFrontTopLeft, 40); CreateLinkByDestination('Limits', $AstronomicLimits, $categoryId_WebFrontTopRight, 40); CreateLinkByDestination("Tag- und Nachtstunden in $Location", $YearMediaId, $categoryId_WebFrontBottom, 10); CreateLinkByDestination('Show Limited', $DisplaySwitchId, $categoryId_WebFrontRight, 10); CreateLinkByDestination('Aktueller Tag', $DayMediaId, $categoryId_WebFrontRight, 20); $UId = date('Hi'); $tabItem = $WFC10_TabPaneItem.$WFC10_TabItem; DeleteWFCItems($WFC10_ConfigId, 'WeatherTPSunrise'); DeleteWFCItems($WFC10_ConfigId, $tabItem); CreateWFCItemTabPane ($WFC10_ConfigId, $WFC10_TabPaneItem, $WFC10_TabPaneParent, $WFC10_TabPaneOrder, $WFC10_TabPaneName, $WFC10_TabPaneIcon); CreateWFCItemSplitPane ($WFC10_ConfigId, $tabItem, $WFC10_TabPaneItem, $WFC10_TabOrder, $WFC10_TabName, $WFC10_TabIcon, 1 /*Vertical*/, 300 /*Width*/, 1 /*Target=Pane2*/, 1/*UsePixel*/, 'true'); CreateWFCItemSplitPane ($WFC10_ConfigId, $tabItem.'_Left', $tabItem, 10, '', '', 0 /*Horicontal*/, 205 /*Height*/, 0 /*Target=Pane1*/, 1 /*UsePixel*/, 'true'); CreateWFCItemCategory ($WFC10_ConfigId, $tabItem.'_Right'.$UId, $tabItem, 20, '', '', $categoryId_WebFrontRight /*BaseId*/, 'false' /*BarBottomVisible*/); CreateWFCItemSplitPane ($WFC10_ConfigId, $tabItem.'_Top', $tabItem.'_Left', 10, '', '', 1 /*Vertical*/, 50 /*Width*/, 0 /*Target=Pane1*/, 0 /*UsePercentage*/, 'true'); CreateWFCItemCategory ($WFC10_ConfigId, $tabItem.'_Bottom'.$UId, $tabItem.'_Left', 20, '', '', $categoryId_WebFrontBottom /*BaseId*/, 'false' /*BarBottomVisible*/); CreateWFCItemCategory ($WFC10_ConfigId, $tabItem.'_TopLeft'.$UId, $tabItem.'_Top', 10, '', '', $categoryId_WebFrontTopLeft /*BaseId*/, 'false' /*BarBottomVisible*/); 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);
// Webfront Definition // ---------------------------------------------------------------------------------------------------------------------------- if ($WFC10_Enabled) { $WebFrontId = CreateCategoryPath($WFC10_Path, 10); EmptyCategory($WebFrontId); $WebFrontOverviewId = CreateCategory( 'Overview', $WebFrontId, 0); $WebFrontOverviewTop1 = CreateCategory( 'Top_1', $WebFrontOverviewId, 10); $WebFrontOverviewTop2 = CreateCategory( 'Top_2', $WebFrontOverviewId, 20); $WebFrontOverviewBottom1 = CreateCategory( 'Bottom_1', $WebFrontOverviewId, 30); $WebFrontOverviewBottom2 = CreateCategory( 'Bottom_2', $WebFrontOverviewId, 40); DeleteWFCItems($WFC10_ConfigId, $WFC10_TabPaneItem); CreateWFCItemTabPane ($WFC10_ConfigId, $WFC10_TabPaneItem, $WFC10_TabPaneParent, $WFC10_TabPaneOrder, $WFC10_TabPaneName, $WFC10_TabPaneIcon); 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