aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-06 20:17:36 -0700
committerFriendika <info@friendika.com>2011-06-06 20:17:36 -0700
commit9f51233451ad6392b61083cf61f5670bcce9d935 (patch)
treec47238cb1e5d66ecee173e80a39aede5023554ef /include/event.php
parent452245d9883c29640fb1bd3a9e0d7cefaed77f23 (diff)
downloadvolse-hubzilla-9f51233451ad6392b61083cf61f5670bcce9d935.tar.gz
volse-hubzilla-9f51233451ad6392b61083cf61f5670bcce9d935.tar.bz2
volse-hubzilla-9f51233451ad6392b61083cf61f5670bcce9d935.zip
event listings
Diffstat (limited to 'include/event.php')
-rw-r--r--include/event.php6
1 files changed, 4 insertions, 2 deletions
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 = '<div class="vevent">';
- $o .= '<p class="description">' . $ev['desc'] . '</p>';
+ $o .= '<p class="description">' . bbcode($ev['desc']) . '</p>';
$o .= '<p>' . t('Starts: ') . '<abbr class="dtstart" title="'
. datetime_convert('UTC','UTC',$ev['start'], ATOM_TIME)
@@ -25,7 +27,7 @@ function format_event_html($ev) {
. '</abbr></p>';
$o .= '<p> ' . t('Location:') . '<span class="location">'
- . $ev['location']
+ . bbcode($ev['location'])
. '</span></p>';
$o .= '</div>';