aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-09 00:58:45 -0700
committerFriendika <info@friendika.com>2011-06-09 00:58:45 -0700
commitd371241e66c4a68ef45415ac7c4ffe5283b3bff0 (patch)
tree37e01ab1a126649be7c4a61bdb94fb3a2a209ecc
parent894dfde122639cbcb90e4a07143fbe2f1d5c124a (diff)
downloadvolse-hubzilla-d371241e66c4a68ef45415ac7c4ffe5283b3bff0.tar.gz
volse-hubzilla-d371241e66c4a68ef45415ac7c4ffe5283b3bff0.tar.bz2
volse-hubzilla-d371241e66c4a68ef45415ac7c4ffe5283b3bff0.zip
events
-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;