mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Update notification popup to fit theme better
This commit is contained in:
parent
bb9bf40edb
commit
aa63949012
@ -934,6 +934,10 @@ class calendar_boupdate extends calendar_bo
|
|||||||
Api\Translation::init();
|
Api\Translation::init();
|
||||||
$lang = $part_prefs['common']['lang'];
|
$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;
|
$event_arr = null;
|
||||||
$details = $this->_get_event_details(isset($cleared_event) ? $cleared_event : $event,
|
$details = $this->_get_event_details(isset($cleared_event) ? $cleared_event : $event,
|
||||||
$action, $event_arr, $disinvited);
|
$action, $event_arr, $disinvited);
|
||||||
|
@ -25,11 +25,11 @@ if ($GLOBALS['egw_info']['user']['apps']['notifications'])
|
|||||||
echo '
|
echo '
|
||||||
<div id="egwpopup" style="display: none; z-index: 999;">
|
<div id="egwpopup" style="display: none; z-index: 999;">
|
||||||
<div id="egwpopup_header">'.lang('Notification'). '<span style="float:right;">'.
|
<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>
|
'</span></div>
|
||||||
<div id="egwpopup_message"></div>
|
<div id="egwpopup_message"></div>
|
||||||
<div id="egwpopup_footer">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
';
|
';
|
||||||
|
Loading…
Reference in New Issue
Block a user