mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
feed.php: add support for displaying event categories
This commit is contained in:
parent
22555f22b8
commit
6e1a6f3381
@ -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 />'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user