From f36d3298f0401e4fb1ca131d18d51d3d47e39818 Mon Sep 17 00:00:00 2001 From: Jason Oster Date: Tue, 7 Jul 2009 14:48:28 +0000 Subject: HTML/CSS template rewrites, nice-title integration, XSS fixes, version bump --- functions/date_functions.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'functions/date_functions.php') diff --git a/functions/date_functions.php b/functions/date_functions.php index 4751ad2..0aeef60 100644 --- a/functions/date_functions.php +++ b/functions/date_functions.php @@ -234,6 +234,8 @@ function openevent($event_date, $time, $uid, $arr, $lines = 0, $length = 0, $lin $full_event_text = $event_text; $event_text = strip_tags($event_text, ''); } + + if (!empty($link_class)) $link_class = ' class="'.$link_class.'"'; if (!empty($event_text)) { $title = strip_tags(str_replace("
","\n",$title)); @@ -254,10 +256,10 @@ function openevent($event_date, $time, $uid, $arr, $lines = 0, $length = 0, $lin document.popup_data[$popup_data_index] = eventData; // -->"; - $return .= ''; + $return .= ''; $popup_data_index++; } else { - $return .= ''; + $return .= ''; } $return .= $pre_text.$event_text.$post_text.''."\n"; } -- cgit v1.2.3