| @@ -13,8 +13,41 @@ | ||
| 13 | 13 | 'title' => __( 'Enable BBP Voting Features?', 'forumax' ), |
| 14 | 14 | ], |
| 15 | 15 | |
| 16 | 16 | [ |
| 17 | + 'type' => 'subheading', | |
| 18 | + 'content' => __( 'Voting Labels', 'forumax' ), | |
| 19 | + 'dependency' => [ 'is_votes', '==', 'true' ] | |
| 20 | + ], | |
| 21 | + | |
| 22 | + [ | |
| 23 | + 'id' => 'is_label', | |
| 24 | + 'type' => 'switcher', | |
| 25 | + 'default' => false, | |
| 26 | + 'title' => __( 'Show Labels', 'forumax' ), | |
| 27 | + 'subtitle' => __( 'Show the labels that describe what up and down mean?', 'forumax' ), | |
| 28 | + 'dependency' => [ 'is_votes', '==', 'true' ] | |
| 29 | + ], | |
| 30 | + | |
| 31 | + [ | |
| 32 | + 'id' => 'upvote_label', | |
| 33 | + 'type' => 'text', | |
| 34 | + 'title' => __( 'Upvote Label.', 'forumax' ), | |
| 35 | + 'default' => __( 'Upvote', 'forumax' ), | |
| 36 | + 'subtitle' => __( 'Change the upvote label from "Upvote" to something else.', 'forumax' ), | |
| 37 | + 'dependency' => [ 'is_votes', '==', 'true' ] | |
| 38 | + ], | |
| 39 | + | |
| 40 | + [ | |
| 41 | + 'id' => 'downvote_label', | |
| 42 | + 'type' => 'text', | |
| 43 | + 'title' => __( 'Downvote Label.', 'forumax' ), | |
| 44 | + 'default' => __( 'Downvote', 'forumax' ), | |
| 45 | + 'subtitle' => __( 'Change the downvote label from "Downvote" to something else.', 'forumax' ), | |
| 46 | + 'dependency' => [ 'is_votes', '==', 'true' ] | |
| 47 | + ], | |
| 48 | + | |
| 49 | + [ | |
| 17 | 50 | 'id' => 'vote_numbers_display', |
| 18 | 51 | 'type' => 'select', |
| 19 | 52 | 'title' => __( 'Display Vote Numbers', 'forumax' ), |
| 20 | 53 | 'sub' => __( 'Choose how to display the number of up votes and down votes', 'forumax' ), |