From 6f7c9611ea496fa8cb3242be6da05023c9f69024 Mon Sep 17 00:00:00 2001 From: Christian Binder Date: Mon, 6 Apr 2009 21:46:11 +0000 Subject: [PATCH] added configureable poll interval for egwpopup - default is 60 seconds --- notifications/inc/hook_after_navbar.inc.php | 3 ++- notifications/js/notificationajaxpopup.js | 12 +++++------ notifications/templates/default/config.tpl | 24 +++++++++++++++------ 3 files changed, 25 insertions(+), 14 deletions(-) diff --git a/notifications/inc/hook_after_navbar.inc.php b/notifications/inc/hook_after_navbar.inc.php index e343bc3d83..982a9a2f6f 100644 --- a/notifications/inc/hook_after_navbar.inc.php +++ b/notifications/inc/hook_after_navbar.inc.php @@ -15,9 +15,10 @@ $notification_config = config::read('notifications'); if ($notification_config['popup_enable']) { $GLOBALS['egw']->translation->add_app('notifications'); + $popup_poll_interval = empty($notification_config['popup_poll_interval']) ? 60 : $notification_config['popup_poll_interval']; echo ''; - echo ''; + echo ''; echo '