PluginProbe
wpForo Forum / beta-4
wpForo Forum vbeta-4
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 / options-tabs / plugins.php

plugins.php in wpForo Forum beta-4, at wpf-admin/options-tabs/plugins.php

34 lines 1.5 KB
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
8 <p style="padding:0px 10px 0px 10px; font-style:italic;">
9 <?php _e('Thank you for using wpForo. wpForo is a premium forum plugin which will always be available for free. There will never be paid and pro versions of this forum board. However this is a very large and hard project so we also develop paid addons (extensions), which will financially help us to keep improving and adding new features to the free wpForo plugin. Forum addons will also be actively developed. The first addons "Advanced Media Uploader", "Polls", "Private Messages" and "Ad Manager" will be available very soon. Once you got some addon and activated that, you will find settings in vertical subTabs here.', 'wpforo'); ?>
10 </p>
11 <p>&nbsp;</p>
12
13 <?php
14
15 $tabs = array();
16 $tabs = apply_filters('wpforo_plugins_tabs_array_filter', $tabs);
17 if( !empty($tabs) && isset($_GET['tab']) ){
18 $subTab = ( !isset($_GET['subtab']) ) ? key($tabs) : $_GET['subtab'];
19 $_GET['subtab'] = $subTab;
20 wpforo_admin_options_tabs( $tabs, $_GET['tab'], TRUE, $subTab );
21 }
22
23 $option_files = array();
24 $option_files = apply_filters('wpforo_plugins_option_files_array_filter', $option_files);
25 if( isset($_GET['subtab']) && isset($option_files[$_GET['subtab']]) ){
26 ?>
27 <div class="plugins-tab-wrap">
28 <?php include_once( $option_files[$_GET['subtab']] ); ?>
29 </div>
30 <?php
31 }
32
33 ?>
34