From 7b8d241c4ce5c408919e4625c7f20aec70e1c95e Mon Sep 17 00:00:00 2001 From: stephanbrunker Date: Sat, 27 Apr 2019 12:15:41 +0200 Subject: [PATCH] changed the formatting of the output (#85) classes and format is now the the same as in the 2k11 theme --- .../serendipity_event_customarchive.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/serendipity_event_customarchive/serendipity_event_customarchive.php b/serendipity_event_customarchive/serendipity_event_customarchive.php index 67c1ea8d..82089790 100644 --- a/serendipity_event_customarchive/serendipity_event_customarchive.php +++ b/serendipity_event_customarchive/serendipity_event_customarchive.php @@ -265,14 +265,15 @@ class serendipity_event_customarchive extends serendipity_event { if ($this->get_config('articleformat') == TRUE) { - echo '
-

' . PLUGIN_CUSTOMARCHIVE_TITLE . '

'; + echo '
+
+

' . PLUGIN_CUSTOMARCHIVE_TITLE . '

'; } echo '

' . $this->get_config('headline') . '

'; if ($this->get_config('articleformat') == TRUE) { - echo '
'; + echo '
'; } $first_entry = serendipity_db_query("SELECT min(timestamp) AS first FROM {$serendipity['dbPrefix']}entries WHERE isdraft = 'false' LIMIT 1", true); @@ -324,7 +325,7 @@ class serendipity_event_customarchive extends serendipity_event { ?>
-
+


dropdown('custom_sortfield', $custom_sortfield); ?> @@ -332,14 +333,14 @@ class serendipity_event_customarchive extends serendipity_event { dropdown('custom_sortyears', $custom_sortyears); ?> dropdown('custom_sortauthors', $custom_sortauthors); ?> -

+

showEntries(); if ($this->get_config('articleformat') == TRUE) { - echo '
'; + echo '
'; } } }