From 9f51233451ad6392b61083cf61f5670bcce9d935 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 6 Jun 2011 20:17:36 -0700 Subject: event listings --- include/event.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/event.php') diff --git a/include/event.php b/include/event.php index 21817086f..ecaa9213a 100644 --- a/include/event.php +++ b/include/event.php @@ -3,12 +3,14 @@ function format_event_html($ev) { + require_once('include/bbcode.php'); + if(! ((is_array($ev)) && count($ev))) return ''; $o = '
'; - $o .= '

' . $ev['desc'] . '

'; + $o .= '

' . bbcode($ev['desc']) . '

'; $o .= '

' . t('Starts: ') . '' - . $ev['location'] + . bbcode($ev['location']) . '

'; $o .= '
'; -- cgit v1.2.3