示例#1
0
 function BuildDialogsSceletons($arParams)
 {
     require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/tools/clock.php";
     if (!$arParams['bReadOnly']) {
         CEventCalendar::BDS_EditEvent($arParams);
         CEventCalendar::BDS_SimpleAddEvent($arParams);
         CEventCalendar::BDS_EditCalendar($arParams);
         CEventCalendar::BDS_UserSettings($arParams);
         CEventCalendar::BDS_ExternalCalendars($arParams);
         //CEventCalendar::BDS_SortCalendar($arParams);
     }
     CEventCalendar::BDS_ViewEvent($arParams);
     CEventCalendar::BDS_ExportCalendar($arParams);
     CEventCalendar::BDS_MobileCon($arParams);
     if ($arParams['allowSuperpose']) {
         CEventCalendar::BDS_Superpose($arParams);
     }
     if (!$arParams['bReadOnly'] && $arParams['bSocNet']) {
         CEventCalendar::BDS_ViewCompanyStructure($arParams);
         CEventCalendar::BDS_Planner($arParams);
     }
 }