]> git.mxchange.org Git - friendica.git/commitdiff
add some whitespace in event html
authorFriendika <info@friendika.com>
Wed, 15 Jun 2011 04:22:52 +0000 (21:22 -0700)
committerFriendika <info@friendika.com>
Wed, 15 Jun 2011 04:22:52 +0000 (21:22 -0700)
include/event.php

index 31df86e2c595599641ddca6bf9525a59203cf120..f37cdc6d5b244965010c326beb3c5a5453b8f430 100644 (file)
@@ -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;
 }