From 557fe532a369df55a598040b1f1f07fc87bcc1dc Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sun, 14 Sep 2003 21:01:34 +0000 Subject: Removed many many tables from month view, switched to DIVS. Fixed openevent, added link class. --- functions/date_functions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'functions/date_functions.php') diff --git a/functions/date_functions.php b/functions/date_functions.php index cc13518..a15ddcb 100644 --- a/functions/date_functions.php +++ b/functions/date_functions.php @@ -160,7 +160,7 @@ function chooseOffset($time) { return $offset; } -function openevent($cal, $st, $end, $arr, $lines, $wrap, $clic, $fclic) { +function openevent($cal, $st, $end, $arr, $lines, $wrap, $clic, $fclic, $class) { $event_text = stripslashes(urldecode($arr["event_text"])); # for iCal pseudo tag comptability if (ereg("<([[:alpha:]]+://)([^<>[:space:]]+)>",$event_text,$reg)) { @@ -192,8 +192,8 @@ function openevent($cal, $st, $end, $arr, $lines, $wrap, $clic, $fclic) { } if ($event_text != "") { if ($lines) $event_text = word_wrap($event_text, $wrap, $lines); - $dsc =urlencode(addslashes($arr["description"])); - echo "[:space:]]+)", $ev, $res))) || ($dsc)) { echo "javascript:w=window.open('"; echo "includes/event.php?event="; @@ -207,7 +207,7 @@ function openevent($cal, $st, $end, $arr, $lines, $wrap, $clic, $fclic) { } else { echo $res[1]; } - echo "\">$clic$event_text"; + echo '">'.$clic.$event_text.''.$fclic; } } -- cgit v1.2.3