From ea034ecec665aff04fd74c81e11c34000a9b9492 Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Sat, 14 Dec 2019 10:35:42 +0100 Subject: Add the container class to some views --- includes/pages/admin_rooms.php | 6 +++--- includes/pages/user_news.php | 9 ++++++--- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'includes/pages') diff --git a/includes/pages/admin_rooms.php b/includes/pages/admin_rooms.php index 733e56af..348a5b6d 100644 --- a/includes/pages/admin_rooms.php +++ b/includes/pages/admin_rooms.php @@ -170,7 +170,7 @@ function admin_rooms() ]), form_submit('submit', __('Save')) ]) - ]); + ], true); } elseif ($request->input('show') == 'delete') { if ($request->hasPostData('ack')) { $shifts = Shifts_by_room($room_id); @@ -195,7 +195,7 @@ function admin_rooms() form([ form_submit('ack', __('Delete'), 'delete btn-danger'), ], page_link_to('admin_rooms', ['show' => 'delete', 'id' => $room_id])), - ]); + ], true); } } @@ -209,5 +209,5 @@ function admin_rooms() 'map_url' => __('Map'), 'actions' => '' ], $rooms) - ]); + ], true); } diff --git a/includes/pages/user_news.php b/includes/pages/user_news.php index 8b9c21ad..53d3bd90 100644 --- a/includes/pages/user_news.php +++ b/includes/pages/user_news.php @@ -32,7 +32,8 @@ function meetings_title() function user_meetings() { $display_news = config('display_news'); - $html = '

' . meetings_title() . '

' . msg(); + $html = '
'; + $html .= '

' . meetings_title() . '

' . msg(); $request = request(); if (preg_match('/^\d{1,}$/', $request->input('page', 0))) { @@ -128,7 +129,8 @@ function user_news_comments() $user = auth()->user(); $request = request(); - $html = '

' . user_news_comments_title() . '

'; + $html = '
'; + $html .= '

' . user_news_comments_title() . '

'; $nid = $request->input('nid'); if ( $request->has('nid') @@ -179,7 +181,8 @@ function user_news() $display_news = config('display_news'); $request = request(); - $html = '

' . news_title() . '

' . msg(); + $html = '
'; + $html .= '

' . news_title() . '

' . msg(); $isMeeting = $request->postData('treffen', false); if ($request->has('text') && $request->has('betreff') && auth()->can('admin_news')) { -- cgit v1.3.1