feed.php: add support for displaying event categories

This commit is contained in:
Leho Kraav authored and Andrew McMillan committed 2010-12-27 12:37:34 +13:00
1 parent 22555f22b8
commit 6e1a6f3381
1 file changed
+5
+5
View File
@@ -154,6 +154,11 @@ function caldav_get_feed( $request ) {
$content .= '<br />'
.'<strong>' . translate('URL') . '</strong>: ' . hyperlink($p_url->Value());
$p_cat = $event_data[0]->GetProperty('CATEGORIES');
if ( $p_cat != null )
$content .= '<br />'
.'<strong>' . translate('Categories') . '</strong>: ' . $p_cat->Value();
$p_description = $event_data[0]->GetProperty('DESCRIPTION');
if ( $p_description != null && $p_description->Value() != '' ) {
$content .= '<br />'