PluginProbe
wpForo Forum / 2.3.0
wpForo Forum v2.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 / admin / settings / posting.php

posting.php in wpForo Forum 2.3.0, at admin/settings/posting.php

76 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if( ! defined( "ABSPATH" ) ) exit(); ?>
2
3 <input type="hidden" name="wpfaction" value="posting_settings_save">
4
5 <?php
6 WPF()->settings->header( 'posting' );
7 WPF()->settings->form_field( 'posting', 'qa_display_answer_editor' );
8 WPF()->settings->form_field( 'posting', 'qa_comments_rich_editor' );
9 WPF()->settings->form_field( 'posting', 'threaded_reply_rich_editor' );
10 WPF()->settings->form_field( 'posting', 'topic_title_min_length' );
11 WPF()->settings->form_field( 'posting', 'topic_title_max_length' );
12 WPF()->settings->form_field( 'posting', 'topic_body_min_length' );
13 WPF()->settings->form_field( 'posting', 'topic_body_max_length' );
14 WPF()->settings->form_field( 'posting', 'post_body_min_length' );
15 WPF()->settings->form_field( 'posting', 'post_body_max_length' );
16 WPF()->settings->form_field( 'posting', 'comment_body_min_length' );
17 WPF()->settings->form_field( 'posting', 'comment_body_max_length' );
18 ?>
19
20 <div class="wpf-subtitle">
21 <span class="dashicons dashicons-edit"></span> <?php _e( 'Edit and Delete', 'wpforo' ) ?>
22 </div>
23
24 <?php
25 WPF()->settings->form_field( 'posting', 'edit_own_topic_durr' );
26 WPF()->settings->form_field( 'posting', 'delete_own_topic_durr' );
27 WPF()->settings->form_field( 'posting', 'edit_own_post_durr' );
28 WPF()->settings->form_field( 'posting', 'delete_own_post_durr' );
29 WPF()->settings->form_field( 'posting', 'edit_topic' );
30 WPF()->settings->form_field( 'posting', 'edit_post' );
31 WPF()->settings->form_field( 'posting', 'edit_log_display_limit' );
32 ?>
33
34 <?php if( wpforo_is_module_enabled( 'revisions' ) ) : ?>
35 <div class="wpf-subtitle">
36 <span class="dashicons dashicons-schedule"></span> <?php _e( 'Post Preview and Auto Drafting', 'wpforo' ) ?>
37 </div>
38
39 <?php
40 WPF()->settings->form_field( 'posting', 'is_preview_on' );
41 WPF()->settings->form_field( 'posting', 'is_draft_on' );
42 WPF()->settings->form_field( 'posting', 'auto_draft_interval' );
43 WPF()->settings->form_field( 'posting', 'max_drafts_per_page' );
44 ?>
45 <?php endif ?>
46
47 <div class="wpf-subtitle">
48 <span class="dashicons dashicons-paperclip"></span> <?php _e( 'Attachments', 'wpforo' ) ?>
49 </div>
50
51 <?php
52 WPF()->settings->form_field( 'posting', 'max_upload_size' );
53 WPF()->settings->form_field( 'posting', 'attachs_to_medialib' );
54 ?>
55
56 <div class="wpf-subtitle">
57 <span class="dashicons dashicons-editor-kitchensink"></span> <?php _e( 'Rich Editor Toolbar Location', 'wpforo' ) ?>
58 </div>
59
60 <?php
61 WPF()->settings->form_field( 'posting', 'topic_editor_toolbar_location' );
62 WPF()->settings->form_field( 'posting', 'reply_editor_toolbar_location' );
63 ?>
64
65 <div class="wpf-subtitle">
66 <span class="dashicons dashicons-shortcode"></span> <?php _e( 'Apply Shortcodes', 'wpforo' ) ?>
67 </div>
68
69 <?php WPF()->settings->form_field( 'posting', 'content_do_shortcode' ); ?>
70
71 <div class="wpf-subtitle">
72 <span class="dashicons dashicons-text"></span> <?php _e( 'Post Content', 'wpforo' ) ?>
73 </div>
74
75 <?php WPF()->settings->form_field( 'posting', 'extra_html_tags' );
76