diff options
Diffstat (limited to 'includes/admin/views')
-rw-r--r-- | includes/admin/views/_concerts_table.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/includes/admin/views/_concerts_table.php b/includes/admin/views/_concerts_table.php index ad7aebc..4f9b3c9 100644 --- a/includes/admin/views/_concerts_table.php +++ b/includes/admin/views/_concerts_table.php @@ -310,7 +310,7 @@ if ( ! class_exists( 'GiglogAdmin_ConcertsTable' ) ) { $content .= '<td><a target="_blank" href="' . esc_url( $concert->tickets() ) . '">Tickets</a></td>'; } - $content .= '<td> <a href="' . get_admin_url() . 'admin-ajax.php?action=giglog_export_ical&evid=' . $concert->id() . '">iCal</td>'; + $content .= '<td><a href="' . get_admin_url() . 'admin-ajax.php?action=giglog_export_ical&evid=' . $concert->id() . '">iCal</a></td>'; $content .= '</tr>'; $last_city = $concert->venue()->city(); } @@ -320,7 +320,7 @@ if ( ! class_exists( 'GiglogAdmin_ConcertsTable' ) ) { $content .= $this->render_pagination(); // from main form that includes filters - $content .= '</div></form></p>'; + $content .= '</div></form>'; // return the table return $content; @@ -329,7 +329,7 @@ if ( ! class_exists( 'GiglogAdmin_ConcertsTable' ) ) { private function render_filters() : string { global $wp_locale; - $select = '<p><form method="GET" action="" class="filterclass">FILTER DATA: '; + $select = '<form method="GET" action="" class="filterclass">FILTER DATA: '; foreach ( $_GET as $name => $val ) { if ( in_array( $name, self::FILTER_KEYS ) ) { @@ -372,8 +372,6 @@ if ( ! class_exists( 'GiglogAdmin_ConcertsTable' ) ) { 'Select month...' ); - $select .= '</select>'; - if ( is_admin() ) { // option to select own concerts only $select .= '<input name="only_mine" class="ownconc" type="checkbox" value="1"' |