public static function make_section_buttons($model, $item, $page_id = NULL) { if (\Auth::check()) { $result = '<table class="admin-table section-buttons"><tr>' . AdminList::make_panel_title() . '</tr>'; $result .= '<tr>' . AdminList::make_panel_buttons($model, $item, $page_id) . '</tr></table>'; } else { $result = NULL; } return $result; }