$l = \OC::$server->getL10N('owncollab_talks'); return ['id' => $appName, 'order' => 10, 'href' => $urlGenerator->linkToRoute($appName . '.main.index'), 'icon' => $urlGenerator->imagePath($appName, 'app.svg'), 'name' => $l->t('Talks')]; }); /** * Loading translations * The string has to match the app's folder name */ Util::addTranslations($appName); /** * Common styles and scripts */ if (Helper::isAppPage($appName)) { Util::addStyle($appName, 'common'); Util::addScript($appName, 'inc'); Util::addScript($appName, 'application'); } /** * Detect and appoints styles and scripts for particular app page */ $currentUri = Helper::getCurrentUri($appName); if ($currentUri == '/') { } /** * Set timezone to 'Berlin' * It must be set in the ownCloud config */ date_default_timezone_set('Europe/Berlin'); /** * Checking and saving the files send by email */ //$checkFiles = new TempFiles();