aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/event.php2
-rw-r--r--mod/events.php2
-rw-r--r--view/theme/duepuntozero/style.css4
3 files changed, 6 insertions, 2 deletions
diff --git a/include/event.php b/include/event.php
index 9d9717a78..6962a2f1b 100644
--- a/include/event.php
+++ b/include/event.php
@@ -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>';
diff --git a/mod/events.php b/mod/events.php
index f19a438fd..b480b7f6b 100644
--- a/mod/events.php
+++ b/mod/events.php
@@ -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');
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index 61a897904..68edd02b9 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -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;