This commit is contained in:
Friendika 2011-06-09 00:58:45 -07:00
parent 894dfde122
commit d371241e66
3 changed files with 6 additions and 2 deletions

View file

@ -34,7 +34,7 @@ function format_event_html($ev,$pre = '') {
. '</abbr></p>'; . '</abbr></p>';
if(strlen($ev['location'])) 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']) . bbcode($ev['location'])
. '</span></p>'; . '</span></p>';

View file

@ -169,7 +169,7 @@ function events_content(&$a) {
$prevyear --; $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 .= '<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'); $o .= cal($y,$m,false, ' eventcal');

View file

@ -2227,6 +2227,10 @@ a.mail-list-link {
font-size: 24px; font-size: 24px;
} }
#new-event-link {
margin-bottom: 10px;
}
.event-description:before { .event-description:before {
content: url('../../../images/calendar.png'); content: url('../../../images/calendar.png');
margin-right: 15px; margin-right: 15px;