* @version $Id$ */ use EGroupware\Api; if ($GLOBALS['egw_info']['user']['apps']['notifications']) { $notification_config = Api\Config::read('notifications'); Api\Translation::add_app('notifications'); $langRequire = array ( 'app' => 'notifications', 'lang' => Api\Translation::$userlang, 'etag' => Api\Translation::etag('notifications', Api\Translation::$userlang) ); $popup_poll_interval = empty($notification_config['popup_poll_interval']) ? 60 : $notification_config['popup_poll_interval']; $minjs = $GLOBALS['egw_info']['server']['debug_minify'] === 'True' ? '' : '.min'; echo ''; echo '
'; unset($notification_config); }