PluginProbe
wpForo Forum / 1.3.0
wpForo Forum v1.3.0
3.1.5 3.1.4 3.1.2 3.1.1 3.1.0 3.0.9 3.0.8 3.0.7 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.2 All 137 releases
wpforo / wpf-admin / moderation.php

moderation.php in wpForo Forum 1.3.0, at wpf-admin/moderation.php

22 lines 994 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // Exit if accessed directly
3 if( !defined( 'ABSPATH' ) ) exit;
4 if( !current_user_can('administrator') ) exit;
5 ?>
6
7 <div id="wpf-admin-wrap" class="wrap" style="margin-top: 0px">
8 <?php wpforo_screen_option() ?>
9 <div id="icon-users" class="icon32"><br></div>
10 <h2 style="padding:30px 0px 0px 0px;line-height: 20px; margin-bottom:15px;"><?php _e('Topic and Post Moderation', 'wpforo'); ?></h2>
11 <?php $wpforo->notice->show(FALSE) ?>
12 <?php
13 if( !((isset($_GET['action']) && $_GET['action'] != '-1') || (isset($_GET['action2']) && $_GET['action2'] != '-1')) ){
14 $fields = array( 'title', 'is_first_post', 'userid', 'created' );
15 $search_fields = array( 'title', 'body' );
16 $filter_fields = array( 'status', 'userid' );
17 $actions = array('view', 'approve', 'delete');
18 $bulk_actions = array('approve', 'unapprove', 'del');
19 wpforo_create_form_table( 'moderation', 'postid', $fields, $search_fields, $filter_fields, $actions, $bulk_actions);
20 }
21 ?>
22 </div>