| @@ -1,58 +1,58 @@ | ||
| 1 | -<?php | |
| 2 | -// Users | |
| 3 | -CSF::createSection($prefix, array( | |
| 4 | - 'title' => esc_html__('Users Details', 'forumax'), | |
| 5 | - 'icon' => 'dashicons dashicons-admin-users', | |
| 6 | - 'subsection' => true, | |
| 7 | - 'fields' => array( | |
| 8 | - array( | |
| 9 | - 'id' => 'user_details_header', | |
| 10 | - 'title' => esc_html__('User Details', 'forumax'), | |
| 11 | - 'type' => 'heading', | |
| 12 | - ), | |
| 13 | - array( | |
| 14 | - 'title' => esc_html__('User Menu Background', 'forumax'), | |
| 15 | - 'subtitle' => esc_html__('Select a pre-designed banner background style.', 'forumax'), | |
| 16 | - 'id' => 'user_bg', | |
| 17 | - 'type' => 'image_select', | |
| 18 | - 'default' => 'color', | |
| 19 | - 'options' => forumax_banner_bg_style() | |
| 20 | - ), | |
| 21 | - array( | |
| 22 | - 'title' => esc_html__('Key master Icon', 'forumax'), | |
| 23 | - 'id' => 'keymaster_icon', | |
| 24 | - 'type' => 'media', | |
| 25 | - 'compiler' => true, | |
| 26 | - 'default' => [ | |
| 27 | - 'url' => FORUMAX_IMG . 'icon/keymaster.svg' | |
| 28 | - ] | |
| 29 | - ), | |
| 30 | - array( | |
| 31 | - 'title' => esc_html__('Moderator Icon', 'forumax'), | |
| 32 | - 'id' => 'moderator_icon', | |
| 33 | - 'type' => 'media', | |
| 34 | - 'compiler' => true, | |
| 35 | - 'default' => [ | |
| 36 | - 'url' => FORUMAX_IMG . 'icon/moderator.svg' | |
| 37 | - ] | |
| 38 | - ), | |
| 39 | - array( | |
| 40 | - 'title' => esc_html__('Participant Icon', 'forumax'), | |
| 41 | - 'id' => 'participant_icon', | |
| 42 | - 'type' => 'media', | |
| 43 | - 'compiler' => true, | |
| 44 | - 'default' => [ | |
| 45 | - 'url' => FORUMAX_IMG . 'icon/participants.svg' | |
| 46 | - ] | |
| 47 | - ), | |
| 48 | - array( | |
| 49 | - 'title' => esc_html__('Blocked Icon', 'forumax'), | |
| 50 | - 'id' => 'blocked_icon', | |
| 51 | - 'type' => 'media', | |
| 52 | - 'compiler' => true, | |
| 53 | - 'default' => [ | |
| 54 | - 'url' => FORUMAX_IMG . 'icon/block-user.svg' | |
| 55 | - ] | |
| 56 | - ) | |
| 57 | - ) | |
| 1 | +<?php | |
| 2 | +// Users | |
| 3 | +CSF::createSection($prefix, array( | |
| 4 | + 'title' => esc_html__('Users Details', 'forumax'), | |
| 5 | + 'icon' => 'dashicons dashicons-admin-users', | |
| 6 | + 'subsection' => true, | |
| 7 | + 'fields' => array( | |
| 8 | + array( | |
| 9 | + 'id' => 'user_details_header', | |
| 10 | + 'title' => esc_html__('User Details', 'forumax'), | |
| 11 | + 'type' => 'heading', | |
| 12 | + ), | |
| 13 | + array( | |
| 14 | + 'title' => esc_html__('User Menu Background', 'forumax'), | |
| 15 | + 'subtitle' => esc_html__('Select a pre-designed banner background style.', 'forumax'), | |
| 16 | + 'id' => 'user_bg', | |
| 17 | + 'type' => 'image_select', | |
| 18 | + 'default' => 'color', | |
| 19 | + 'options' => forumax_banner_bg_style() | |
| 20 | + ), | |
| 21 | + array( | |
| 22 | + 'title' => esc_html__('Key master Icon', 'forumax'), | |
| 23 | + 'id' => 'keymaster_icon', | |
| 24 | + 'type' => 'media', | |
| 25 | + 'compiler' => true, | |
| 26 | + 'default' => [ | |
| 27 | + 'url' => FORUMAX_IMG . 'icon/keymaster.svg' | |
| 28 | + ] | |
| 29 | + ), | |
| 30 | + array( | |
| 31 | + 'title' => esc_html__('Moderator Icon', 'forumax'), | |
| 32 | + 'id' => 'moderator_icon', | |
| 33 | + 'type' => 'media', | |
| 34 | + 'compiler' => true, | |
| 35 | + 'default' => [ | |
| 36 | + 'url' => FORUMAX_IMG . 'icon/moderator.svg' | |
| 37 | + ] | |
| 38 | + ), | |
| 39 | + array( | |
| 40 | + 'title' => esc_html__('Participant Icon', 'forumax'), | |
| 41 | + 'id' => 'participant_icon', | |
| 42 | + 'type' => 'media', | |
| 43 | + 'compiler' => true, | |
| 44 | + 'default' => [ | |
| 45 | + 'url' => FORUMAX_IMG . 'icon/participants.svg' | |
| 46 | + ] | |
| 47 | + ), | |
| 48 | + array( | |
| 49 | + 'title' => esc_html__('Blocked Icon', 'forumax'), | |
| 50 | + 'id' => 'blocked_icon', | |
| 51 | + 'type' => 'media', | |
| 52 | + 'compiler' => true, | |
| 53 | + 'default' => [ | |
| 54 | + 'url' => FORUMAX_IMG . 'icon/block-user.svg' | |
| 55 | + ] | |
| 56 | + ) | |
| 57 | + ) | |
| 58 | 58 | )); |