2010-09-30 Raul Mateos <raulofpandora@gmail.com>

* operation/menu.php: Changed sound_events.php page size.

	* operation/events/sound_events.php: Added some missing HTML tags.
	Added style.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3323 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2010-09-30 09:35:42 +00:00
parent d76d84247f
commit 7f0cbb99ee
3 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2010-09-30 Raúl Mateos <raulofpandora@gmail.com>
* operation/menu.php: Changed sound_events.php page size.
* operation/events/sound_events.php: Added some missing HTML tags.
Added style.
2010-09-30 Sergio Martin <sergio.martin@artica.es> 2010-09-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php: Fixed SQL errors in * include/functions_agents.php: Fixed SQL errors in

View File

@ -42,6 +42,7 @@ if (! give_acl ($config['id_user'], 0, "AR")) {
} }
echo "<html>"; echo "<html>";
echo "<head>";
echo "<title>" . __("Sound Alerts") . "</title>"; echo "<title>" . __("Sound Alerts") . "</title>";
echo "<style type='text/css'>"; echo "<style type='text/css'>";
?> ?>
@ -56,6 +57,9 @@ img {
} }
<?php <?php
echo "</style>"; echo "</style>";
echo '<link rel="icon" href="../../images/pandora.ico" type="image/ico" />';
echo '<link rel="stylesheet" href="../../include/styles/pandora.css" type="text/css" />';
echo "</head>";
echo "<body>"; echo "<body>";
echo "<h1 style='background: #66AA44; color: #fff;'><img src='../../images/pandora_header_logo.png'/>" . __("Sound Events") . "</h1>"; echo "<h1 style='background: #66AA44; color: #fff;'><img src='../../images/pandora_header_logo.png'/>" . __("Sound Events") . "</h1>";

View File

@ -196,7 +196,7 @@ if (give_acl ($config['id_user'], 0, "AR")) {
function openSoundEventWindow() { function openSoundEventWindow() {
url = '<?php echo 'http://' . $_SERVER['SERVER_NAME'] . $config['homeurl'] . '/operation/events/sound_events.php'; ?>'; url = '<?php echo 'http://' . $_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'); window.open(url, '<?php __('Sound Alerts'); ?>','width=475, height=275, toolbar=no, location=no, directories=no, status=no, menubar=no');
} }
</script> </script>
<?php <?php