]> git.mxchange.org Git - friendica.git/commitdiff
events
authorFriendika <info@friendika.com>
Thu, 9 Jun 2011 07:58:45 +0000 (00:58 -0700)
committerFriendika <info@friendika.com>
Thu, 9 Jun 2011 07:58:45 +0000 (00:58 -0700)
include/event.php
mod/events.php
view/theme/duepuntozero/style.css

index 9d9717a78b15b5feeb9c478e64d05aacbd8ba119..6962a2f1b8f94e5b973c49229941576301e88843 100644 (file)
@@ -34,7 +34,7 @@ function format_event_html($ev,$pre = '') {
                        . '</abbr></p>';
 
        if(strlen($ev['location']))
-               $o .= '<p class="event-location"> ' . t('Location:') . '<span class="location">' 
+               $o .= '<p class="event-location"> ' . t('Location:') . ' <span class="location">' 
                        . bbcode($ev['location']) 
                        . '</span></p>';
 
index f19a438fdd2b75574ae87f86d6ecb659e74f5e03..b480b7f6bfc2f39bd803ee6a26eca2e29c34e58d 100644 (file)
@@ -169,7 +169,7 @@ function events_content(&$a) {
                        $prevyear --;
                }
                        
-
+               $o .= '<div id="new-event-link"><a href="' . $a->get_baseurl() . '/events/new' . '" >' . t('Create New Event') . '</a></div>';
                $o .= '<a href="' . $a->get_baseurl() . '/events/' . $prevyear . '/' . $prevmonth . '" class="prevcal">' . t('&lt;&lt; Previous') . '</a> | <a href="' . $a->get_baseurl() . '/events/' . $nextyear . '/' . $nextmonth . '" class="nextcal">' . t('Next &gt;&gt;') . '</a>'; 
                $o .= cal($y,$m,false, ' eventcal');
 
index 61a897904619509ce88d36e6ef2e3252028e739a..68edd02b9474f17fd4bef80f7a5ba9482fab055f 100644 (file)
@@ -2227,6 +2227,10 @@ a.mail-list-link {
        font-size: 24px;
 }
 
+#new-event-link {
+       margin-bottom: 10px;
+}
+
 .event-description:before {
        content: url('../../../images/calendar.png');
        margin-right: 15px;