mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Update notification popup to fit theme better
This commit is contained in:
parent
7e270dea76
commit
ce58542f3d
@ -934,6 +934,10 @@ class calendar_boupdate extends calendar_bo
|
||||
Api\Translation::init();
|
||||
$lang = $part_prefs['common']['lang'];
|
||||
}
|
||||
|
||||
// Since we're running from cron, make sure notifications uses user's theme (for images)
|
||||
$GLOBALS['egw_info']['server']['template_set'] = $GLOBALS['egw_info']['user']['preferences']['common']['template_set'];
|
||||
|
||||
$event_arr = null;
|
||||
$details = $this->_get_event_details(isset($cleared_event) ? $cleared_event : $event,
|
||||
$action, $event_arr, $disinvited);
|
||||
|
@ -25,11 +25,11 @@ if ($GLOBALS['egw_info']['user']['apps']['notifications'])
|
||||
echo '
|
||||
<div id="egwpopup" style="display: none; z-index: 999;">
|
||||
<div id="egwpopup_header">'.lang('Notification'). '<span style="float:right;">'.
|
||||
Api\Html::submit_button('egwpopup_close_button', 'X', '', true, 'id="egwpopup_close_button"', 'close.button') .
|
||||
Api\Html::submit_button('egwpopup_close_button', 'X', '', true, 'id="egwpopup_close_button"', 'close') .
|
||||
'</span></div>
|
||||
<div id="egwpopup_message"></div>
|
||||
<div id="egwpopup_footer">
|
||||
<input id="egwpopup_ok_button" type="button" value="'. lang('ok'). '">
|
||||
<input id="egwpopup_ok_button" class="et2_button et2_button_text" type="button" value="'. lang('ok'). '">
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
|
Loading…
Reference in New Issue
Block a user