aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-14 21:22:52 -0700
committerFriendika <info@friendika.com>2011-06-14 21:22:52 -0700
commitc3797743006bce467ad3595a7847755a3f678347 (patch)
tree7fd5ef77f7f6d744de091cd74ee36d7331a00013
parentca848234375867240ba6cc6d4b43599e770a54e8 (diff)
downloadvolse-hubzilla-c3797743006bce467ad3595a7847755a3f678347.tar.gz
volse-hubzilla-c3797743006bce467ad3595a7847755a3f678347.tar.bz2
volse-hubzilla-c3797743006bce467ad3595a7847755a3f678347.zip
add some whitespace in event html
-rw-r--r--include/event.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/event.php b/include/event.php
index 31df86e2c..f37cdc6d5 100644
--- a/include/event.php
+++ b/include/event.php
@@ -10,9 +10,9 @@ function format_event_html($ev) {
$bd_format = t('l F d, Y \@ g A') ; // Friday January 18, 2011 @ 8 AM
- $o = '<div class="vevent">';
+ $o = '<div class="vevent">' . "\r\n";
- $o .= '<p class="description event-description">' . bbcode($ev['desc']) . '</p>';
+ $o .= '<p class="description event-description">' . bbcode($ev['desc']) . '</p>' . "\r\n";
$o .= '<p class="event-start">' . t('Starts:') . ' <abbr class="dtstart" title="'
. datetime_convert('UTC','UTC',$ev['start'], (($ev['adjust']) ? ATOM_TIME : 'Y-m-d\TH:i:s' ))
@@ -21,7 +21,7 @@ function format_event_html($ev) {
$ev['start'] , $bd_format ))
: day_translate(datetime_convert('UTC', 'UTC',
$ev['start'] , $bd_format)))
- . '</abbr></p>';
+ . '</abbr></p>' . "\r\n";
if(! $ev['nofinish'])
$o .= '<p class="event-end" >' . t('Finishes:') . ' <abbr class="dtend" title="'
@@ -31,14 +31,14 @@ function format_event_html($ev) {
$ev['finish'] , $bd_format ))
: day_translate(datetime_convert('UTC', 'UTC',
$ev['finish'] , $bd_format )))
- . '</abbr></p>';
+ . '</abbr></p>' . "\r\n";
if(strlen($ev['location']))
$o .= '<p class="event-location"> ' . t('Location:') . ' <span class="location">'
. bbcode($ev['location'])
- . '</span></p>';
+ . '</span></p>' . "\r\n";
- $o .= '</div>';
+ $o .= '</div>' . "\r\n";
return $o;
}