aboutsummaryrefslogtreecommitdiff
path: root/blocks/mini_calendar/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'blocks/mini_calendar/functions.php')
-rw-r--r--blocks/mini_calendar/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/blocks/mini_calendar/functions.php b/blocks/mini_calendar/functions.php
index ffc98a6..0aed0d5 100644
--- a/blocks/mini_calendar/functions.php
+++ b/blocks/mini_calendar/functions.php
@@ -29,7 +29,8 @@
<script type="text/javascript">
function openEvent(date)
{
- myWindow = window.open('http://testbed.3rd-infantry-division.org/cms/blocks/mini_calendar/event.php?date='+date+'','','width=300,height=300')
+<?php echo "myWindow = window.open('". Bayonet_Config::$ini['site']['url'] . "blocks/mini_calendar/event.php?date='+date+'','','width=300,height=300');"; ?>
+ myWindow = window.open('blocks/mini_calendar/event.php?date='+date+'','','width=300,height=300')
myWindow.focus();
}
</script>