mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
removed no longer used enable_popup check, as it is always enabled now
This commit is contained in:
parent
81f58ab129
commit
39080d50f8
@ -13,7 +13,7 @@
|
||||
* @version $Id$
|
||||
*/
|
||||
$notification_config = config::read('notifications');
|
||||
if ($notification_config['popup_enable'] && $GLOBALS['egw_info']['user']['apps']['notifications'])
|
||||
if ($GLOBALS['egw_info']['user']['apps']['notifications'])
|
||||
{
|
||||
$GLOBALS['egw']->translation->add_app('notifications');
|
||||
$popup_poll_interval = empty($notification_config['popup_poll_interval']) ? 60 : $notification_config['popup_poll_interval'];
|
||||
@ -23,7 +23,7 @@ if ($notification_config['popup_enable'] && $GLOBALS['egw_info']['user']['apps']
|
||||
echo '
|
||||
<div id="egwpopup" style="display: none; z-index: 999;">
|
||||
<div id="egwpopup_header">'.lang('Notification'). '<span style="float:right;">'.
|
||||
html::submit_button('egwpopup_close_button', 'X', 'egwpopup_button_close();',true,'', 'close.button') .
|
||||
html::submit_button('egwpopup_close_button', 'X', 'egwpopup_button_close();',true,'', 'close.button') .
|
||||
'</span></div>
|
||||
<div id="egwpopup_message"></div>
|
||||
<div id="egwpopup_footer">
|
||||
|
Loading…
Reference in New Issue
Block a user