diff --git a/include/event.php b/include/event.php
index e36aa4262..ca957d048 100644
--- a/include/event.php
+++ b/include/event.php
@@ -12,7 +12,6 @@ require_once 'include/map.php';
require_once 'include/datetime.php';
function format_event_html($ev, $simple = false) {
-
if (! ((is_array($ev)) && count($ev))) {
return '';
}
@@ -32,7 +31,7 @@ function format_event_html($ev, $simple = false) {
if ($simple) {
$o = "
" . bbcode($ev['summary']) . "
";
- $o .= "" . bbcode($ev['desc']) . "
";
+ $o .= "" . bbcode($ev['desc']) . "
";
$o .= "" . t('Starts:') . "
" . $event_start . "
";
@@ -49,27 +48,26 @@ function format_event_html($ev, $simple = false) {
$o = '' . "\r\n";
+ $o .= '
' . bbcode($ev['summary']) . '
' . "\r\n";
- $o .= '
' . bbcode($ev['summary']) . '
' . "\r\n";
-
- $o .= '
' . bbcode($ev['desc']) . '
' . "\r\n";
-
- $o .= '
' . t('Starts:') . ' ' . t('Starts:') . ' '.$event_start
- . '
' . "\r\n";
+ . '
' . "\r\n";
if (! $ev['nofinish']) {
- $o .= '' . t('Finishes:') . ' ' . t('Finishes:') . ' '.$event_end
- . '
' . "\r\n";
+ . '' . "\r\n";
}
+ $o .= '' . bbcode($ev['desc']) . '
' . "\r\n";
+
if (strlen($ev['location'])) {
- $o .= ' ' . t('Location:') . ' '
+ $o .= '' . t('Location:') . ' '
. bbcode($ev['location'])
- . '' . "\r\n";
+ . '
' . "\r\n";
// Include a map of the location if the [map] BBCode is used.
if (strpos($ev['location'], "[map") !== false) {
diff --git a/view/global.css b/view/global.css
index ab57a762d..e99006094 100644
--- a/view/global.css
+++ b/view/global.css
@@ -179,6 +179,24 @@ blockquote.shared_content {
border: none;
}
+/* Events */
+.event-summary {
+ margin: 0px 0px 10px 0px;
+ font-weight: bold;
+}
+
+.vevent .event-summary {
+ margin: 0px 0px 10px 0px;
+}
+
+.vevent .event-description {
+ padding: 10px 0;
+}
+
+.event-label {
+ font-weight: bold;
+}
+
.settings-heading a:after{
content: ' ยป';
}
diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css
index 6bf57506c..a3d48d9ff 100644
--- a/view/theme/frio/css/style.css
+++ b/view/theme/frio/css/style.css
@@ -2447,9 +2447,19 @@ ul li:hover .contact-wrapper .contact-action-link:hover {
.event-buttons .plink-event-link {
margin-left: 20px;
}
+.vevent .event-summary {
+ font-size: 16px;
+}
.vevent .event-description {
padding: 10px 0;
}
+.vevent .event-location .location {
+ font-size: inherit;
+ color: inherit;
+}
+.modal-body .vevent .event-summary {
+ display: none;
+}
/* Event Cards */
.event-card-details, .event-card-header {