'404')); } $import = new OC_Calendar_Import($file); $import->setUserID(OCP\User::getUser()); $newcalendarname = strip_tags($import->createCalendarName()); $guessedcalendarname = strip_tags($import->guessCalendarName()); $calendarcolor = strip_tags($import->createCalendarColor()); //loading calendars for select box $calendar_options = OC_Calendar_Calendar::allCalendars(OCP\USER::getUser()); $calendar_options[] = array('id'=>'newcal', 'displayname'=>$l->t('create a new calendar')); $defaultcolors = OC_Calendar_Calendar::getCalendarColorOptions(); ?>