2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events.php: Fixed sound event popup over https. Fixes: #3443835 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5198 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
09dd9885fd
commit
66b07c6ebd
|
@ -1,3 +1,9 @@
|
|||
2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* operation/events/events.php: Fixed sound event popup over https.
|
||||
|
||||
Fixes: #3443835
|
||||
|
||||
2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* include/functions_reporting.php: Removed entities in events
|
||||
|
|
|
@ -207,11 +207,11 @@ if ($config["pure"] == 0) {
|
|||
);
|
||||
|
||||
ui_print_page_header (__("Events"), "images/lightning_go.png", false, "eventview", false, $buttons);
|
||||
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
function openSoundEventWindow() {
|
||||
url = '<?php echo 'http://' . $_SERVER['SERVER_NAME'] . $config['homeurl'] . '/operation/events/sound_events.php'; ?>';
|
||||
url = '<?php $protocol = $config['https'] ? 'https' : 'http'; echo $protocol . '://' . $_SERVER['SERVER_NAME'] . $config['homeurl'] . '/operation/events/sound_events.php'; ?>';
|
||||
|
||||
window.open(url, '<?php __('Sound Alerts'); ?>','width=300, height=300, toolbar=no, location=no, directories=no, status=no, menubar=no');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue