get_board_view($plate_id, [ 'user_id' => $current_user_id, 'paged' => $paged, ]) : [ 'board' => null, 'topics' => [], 'sticky_topics' => [], 'moderators' => [], 'pagination' => ['page' => 1, 'max_pages' => 1, 'total' => 0], 'permissions' => [], 'application' => null, 'board_options' => [], ]; $board_data = $view['board'] ?? null; $topics = $view['topics'] ?? []; $sticky_topics = $view['sticky_topics'] ?? []; $moderators = $view['moderators'] ?? []; $permissions = $view['permissions'] ?? []; $application = $view['application'] ?? null; $compose_url = add_query_arg('board', $plate_id, home_url('/compose/')); $forum_settings = class_exists('AKSRT_Settings') ? AKSRT_Settings::get_forum_settings() : []; $forum_names = $forum_settings['names'] ?? []; $name_topic = $forum_names['posts'] ?? __('主题', 'aksrt'); $name_reply = $forum_names['comment'] ?? __('回复', 'aksrt'); $is_followed = $forum && $current_user_id > 0 ? $forum->is_user_following_plate($current_user_id, $plate_id) : false; ?>

0) : ?> is_forum_admin($current_user_id); $is_plate_author = $board_data && (int) ($board_data['author_id'] ?? 0) === $current_user_id; ?>

0 ? ' is-sticky is-sticky-' . $item_sticky_level : ''; ?>
1) : ?>
(int) ($view['pagination']['max_pages'] ?? 1), 'current' => $paged, 'prev_text' => '', 'next_text' => '', ]); ?>