diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2005-09-07 06:08:02 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2005-09-07 06:08:02 +0000 |
commit | 6eabeaeb9ff95f4f227c66e5293c0afdf0ac0ca4 (patch) | |
tree | 56ac1f5ec08712c6636c8a58f76ddba5e8447dd1 /functions/date_functions.php | |
parent | 5c46da23340dd0b15510f982d1ded7b4c8ef1aab (diff) | |
download | phpicalendar-6eabeaeb9ff95f4f227c66e5293c0afdf0ac0ca4.tar.gz phpicalendar-6eabeaeb9ff95f4f227c66e5293c0afdf0ac0ca4.tar.bz2 phpicalendar-6eabeaeb9ff95f4f227c66e5293c0afdf0ac0ca4.zip |
adjust date_functions.php, event.js, header.tpl to allow event popups to work with cpath multiple calendar directories
Diffstat (limited to 'functions/date_functions.php')
-rw-r--r-- | functions/date_functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/date_functions.php b/functions/date_functions.php index 6c524db..2b83c79 100644 --- a/functions/date_functions.php +++ b/functions/date_functions.php @@ -163,7 +163,7 @@ function chooseOffset($time) { } function openevent($event_date, $uid, $arr, $lines = 0, $length = 0, $link_class = '', $pre_text = '', $post_text = '') { - + global $cpath; $event_text = stripslashes(urldecode($arr["event_text"])); if (empty($start)) { $title = $event_text; @@ -193,7 +193,7 @@ function openevent($event_date, $uid, $arr, $lines = 0, $length = 0, $link_class static $popup_data_index = 0; $return = " <script language=\"Javascript\" type=\"text/javascript\"><!-- - var eventData = new EventData('$escaped_date', '$escaped_time', '$escaped_uid'); + var eventData = new EventData('$escaped_date', '$escaped_time', '$escaped_uid','$cpath'); document.popup_data[$popup_data_index] = eventData; // --></script>"; |