X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fevent.php;h=616018bb77a629c848f875652b9ce7d7876ced6f;hb=b81a1fde09a5186153ad7d5f8b71a576417f4547;hp=9d9717a78b15b5feeb9c478e64d05aacbd8ba119;hpb=df8ac668b800ecf64ab2c240678eb87b225cb513;p=friendica.git diff --git a/include/event.php b/include/event.php index 9d9717a78b..616018bb77 100644 --- a/include/event.php +++ b/include/event.php @@ -1,59 +1,96 @@ ".bbcode($ev['summary']).""; + + $o .= "
".bbcode($ev['desc'])."
"; + + $o .= "".$event_start."
"; + + if(! $ev['nofinish']) + $o .= "".$event_end."
"; + + if(strlen($ev['location'])) + $o .= "".$ev['location']."
"; + + return $o; + } + + $o = '' . bbcode($ev['summary']) . '
' . "\r\n"; - $o .= '' . bbcode($ev['desc']) . '
'; + $o .= '' . bbcode($ev['desc']) . '
' . "\r\n"; $o .= '' . t('Starts:') . ' ' - . (($ev['adjust']) ? day_translate(datetime_convert('UTC', date_default_timezone_get(), - $ev['start'] , $bd_format )) - : day_translate(datetime_convert('UTC', 'UTC', - $ev['start'] , $bd_format))) - . '
'; + . '" >'.$event_start + . '' . "\r\n"; if(! $ev['nofinish']) $o .= '' . t('Finishes:') . ' ' - . (($ev['adjust']) ? day_translate(datetime_convert('UTC', date_default_timezone_get(), - $ev['finish'] , $bd_format )) - : day_translate(datetime_convert('UTC', 'UTC', - $ev['finish'] , $bd_format ))) - . '
'; + . '" >'.$event_end + . '' . "\r\n"; - if(strlen($ev['location'])) - $o .= '' . t('Location:') . '' - . bbcode($ev['location']) - . '
'; + if(strlen($ev['location'])){ + $o .= '' . t('Location:') . ' ' + . bbcode($ev['location']) + . '
' . "\r\n"; - $o .= '