aboutsummaryrefslogtreecommitdiff
path: root/blocks/mini_calendar/functions.php
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2013-08-19 09:41:19 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2013-08-19 09:41:19 -0400
commitc5eb569f5122d4140952bd5cc7ad4fdc5fbf8a23 (patch)
tree37024ec14fde9fef92eef8e9f997f72731e5155d /blocks/mini_calendar/functions.php
parent41d7bde950d6166a6cc414a48d0fa57f3fd9a512 (diff)
parent50f14f6bee7e1efaac5971579fc2e76c728ecad6 (diff)
downloadbayonetcms-master.tar.gz
Merge pull request #3 from eoconnell/masterHEADmaster
Some more stuff
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>