| @@ -4,14 +4,14 @@ | ||
| 4 | 4 | CSF::createSection( |
| 5 | 5 | $prefix, |
| 6 | 6 | [ |
| 7 | 7 | 'id' => 'bbpc_notification_opt', |
| 8 | - 'title' => __( 'Notification', 'bbp-core' ), | |
| 8 | + 'title' => __( 'Notification', 'forumax' ), | |
| 9 | 9 | 'icon' => 'dashicons dashicons-megaphone', |
| 10 | 10 | 'fields' => [ |
| 11 | 11 | [ |
| 12 | 12 | 'type' => 'subheading', |
| 13 | - 'content' => __( 'Notification', 'bbp-core' ), | |
| 13 | + 'content' => __( 'Notification', 'forumax' ), | |
| 14 | 14 | ], |
| 15 | 15 | |
| 16 | 16 | [ |
| 17 | 17 | 'id' => 'bbpc_notification', |
| @@ -16,15 +16,15 @@ | ||
| 16 | 16 | [ |
| 17 | 17 | 'id' => 'bbpc_notification', |
| 18 | 18 | 'type' => 'switcher', |
| 19 | 19 | 'default' => false, |
| 20 | - 'title' => __( 'Show / Hide', 'bbp-core' ), | |
| 20 | + 'title' => __( 'Show / Hide', 'forumax' ), | |
| 21 | 21 | 'class' => 'st-pro-notice' |
| 22 | 22 | ], |
| 23 | 23 | |
| 24 | 24 | [ |
| 25 | 25 | 'type' => 'subheading', |
| 26 | - 'content' => __( 'Avatar', 'bbp-core' ), | |
| 26 | + 'content' => __( 'Avatar', 'forumax' ), | |
| 27 | 27 | 'dependency' => [ 'bbpc_notification', '==', true, ], |
| 28 | 28 | ], |
| 29 | 29 | |
| 30 | 30 | [ |
| @@ -29,10 +29,10 @@ | ||
| 29 | 29 | |
| 30 | 30 | [ |
| 31 | 31 | 'id' => 'bbpc_notification_location', |
| 32 | 32 | 'type' => 'fieldset', |
| 33 | - 'title' => __( 'Select Location', 'bbp-core' ), | |
| 34 | - 'subtitle' => __( 'Select the menu location to display the notification.', 'bbp-core' ), | |
| 33 | + 'title' => __( 'Select Location', 'forumax' ), | |
| 34 | + 'subtitle' => __( 'Select the menu location to display the notification.', 'forumax' ), | |
| 35 | 35 | 'dependency' => [ 'bbpc_notification', '==', true, ], |
| 36 | 36 | 'class' => 'st-pro-notice', |
| 37 | 37 | 'inline' => true, |
| 38 | 38 | 'fields' => [ |
| @@ -38,19 +38,19 @@ | ||
| 38 | 38 | 'fields' => [ |
| 39 | 39 | [ |
| 40 | 40 | 'id' => 'location_option', |
| 41 | 41 | 'type' => 'select', |
| 42 | - 'title' => __( 'Menu Location', 'bbp-core' ), | |
| 43 | - 'options' => 'bbpc_get_registered_nav_menus', | |
| 42 | + 'title' => __( 'Menu Location', 'forumax' ), | |
| 43 | + 'options' => 'forumax_get_registered_nav_menus', | |
| 44 | 44 | 'default' => 'main_menu', |
| 45 | - 'after' => __( 'To insert the notification into this location.', 'bbp-core' ) | |
| 45 | + 'after' => __( 'To insert the notification into this location.', 'forumax' ) | |
| 46 | 46 | ], |
| 47 | 47 | |
| 48 | 48 | [ |
| 49 | 49 | 'id' => 'location_selector', |
| 50 | 50 | 'type' => 'text', |
| 51 | - 'title' => __( '<b>Or</b> Selector', 'bbp-core' ), | |
| 52 | - 'after' => __( 'To insert end of this selector. Ex: <code>.parent_selector</code>', 'bbp-core' ) | |
| 51 | + 'title' => __( '<b>Or</b> Selector', 'forumax' ), | |
| 52 | + 'after' => __( 'To insert end of this selector. Ex: <code>.parent_selector</code>', 'forumax' ) | |
| 53 | 53 | ] |
| 54 | 54 | ] |
| 55 | 55 | ], |
| 56 | 56 | |
| @@ -56,11 +56,11 @@ | ||
| 56 | 56 | |
| 57 | 57 | [ |
| 58 | 58 | 'id' => 'bbpc_notification_user_pos', |
| 59 | 59 | 'type' => 'slider', |
| 60 | - 'title' => __( 'Gap', 'bbp-core' ), | |
| 60 | + 'title' => __( 'Gap', 'forumax' ), | |
| 61 | 61 | 'dependency' => [ 'bbpc_notification', '==', true, ], |
| 62 | - 'subtitle' => __( 'Set the gap between the menu and the Notification\'s avatar image. The gap will be applied to Left side of the Avatar image.', 'bbp-core' ), | |
| 62 | + 'subtitle' => __( 'Set the gap between the menu and the Notification\'s avatar image. The gap will be applied to Left side of the Avatar image.', 'forumax' ), | |
| 63 | 63 | 'unit' => 'px', |
| 64 | 64 | 'output' => '.bbpc-nav-notification', |
| 65 | 65 | 'output_mode' => 'margin-left', |
| 66 | 66 | 'output_important' => true, |
| @@ -70,9 +70,9 @@ | ||
| 70 | 70 | |
| 71 | 71 | [ |
| 72 | 72 | 'id' => 'bbpc_notification_avatar', |
| 73 | 73 | 'type' => 'media', |
| 74 | - 'title' => __( 'Icon', 'bbp-core' ), | |
| 74 | + 'title' => __( 'Icon', 'forumax' ), | |
| 75 | 75 | 'dependency' => [ 'bbpc_notification', '==', true, ], |
| 76 | 76 | 'class' => 'st-pro-notice', |
| 77 | 77 | 'url' => false |
| 78 | 78 | ], |
| @@ -80,9 +80,9 @@ | ||
| 80 | 80 | [ |
| 81 | 81 | 'id' => 'bbpc_notification_unread_counter', |
| 82 | 82 | 'type' => 'switcher', |
| 83 | 83 | 'default' => false, |
| 84 | - 'title' => __( 'Unread Counter', 'bbp-core' ), | |
| 84 | + 'title' => __( 'Unread Counter', 'forumax' ), | |
| 85 | 85 | 'class' => 'st-pro-notice', |
| 86 | 86 | 'default' => false, |
| 87 | 87 | 'dependency' => [ 'bbpc_notification', '==', true, ], |
| 88 | 88 | ], |
| @@ -88,9 +88,9 @@ | ||
| 88 | 88 | ], |
| 89 | 89 | |
| 90 | 90 | [ |
| 91 | 91 | 'type' => 'subheading', |
| 92 | - 'content' => __( 'Dropdown notification Box', 'bbp-core' ), | |
| 92 | + 'content' => __( 'Dropdown notification Box', 'forumax' ), | |
| 93 | 93 | 'dependency' => [ 'bbpc_notification', '==', true, ], |
| 94 | 94 | ], |
| 95 | 95 | |
| 96 | 96 | [ |
| @@ -95,9 +95,9 @@ | ||
| 95 | 95 | |
| 96 | 96 | [ |
| 97 | 97 | 'id' => 'bbpc-mini-notification-width', |
| 98 | 98 | 'type' => 'dimensions', |
| 99 | - 'title' => __( 'Width', 'bbp-core'), | |
| 99 | + 'title' => __( 'Width', 'forumax'), | |
| 100 | 100 | 'height' => false, |
| 101 | 101 | 'units' => array( 'px' ), |
| 102 | 102 | 'output' => '.bbpc-notification-wrap', |
| 103 | 103 | 'output_mode' => 'min-width', |
| @@ -108,10 +108,10 @@ | ||
| 108 | 108 | |
| 109 | 109 | [ |
| 110 | 110 | 'id' => 'bbpc_notification_data_pos', |
| 111 | 111 | 'type' => 'slider', |
| 112 | - 'title' => __( 'Gap', 'bbp-core' ), | |
| 113 | - 'subtitle' => __( 'Set the gap between the Avatar image and the Notification\'s dropdwon box. This option is helpful to adjust the menu height with the Notification\'s dropdwon box', 'bbp-core' ), | |
| 112 | + 'title' => __( 'Gap', 'forumax' ), | |
| 113 | + 'subtitle' => __( 'Set the gap between the Avatar image and the Notification\'s dropdwon box. This option is helpful to adjust the menu height with the Notification\'s dropdwon box', 'forumax' ), | |
| 114 | 114 | 'dependency' => [ 'bbpc_notification', '==', true, ], |
| 115 | 115 | 'unit' => 'px', |
| 116 | 116 | 'output' => '.bbpc-notification-wrap', |
| 117 | 117 | 'output_mode' => 'top', |
| @@ -145,9 +145,9 @@ | ||
| 145 | 145 | ], |
| 146 | 146 | |
| 147 | 147 | [ |
| 148 | 148 | 'type' => 'subheading', |
| 149 | - 'content' => __( 'Head', 'bbp-core' ), | |
| 149 | + 'content' => __( 'Head', 'forumax' ), | |
| 150 | 150 | 'dependency' => [ 'bbpc_notification', '==', true, ], |
| 151 | 151 | ], |
| 152 | 152 | |
| 153 | 153 | [ |
| @@ -153,9 +153,9 @@ | ||
| 153 | 153 | [ |
| 154 | 154 | 'id' => 'bbpc_notification_head_opt', |
| 155 | 155 | 'type' => 'switcher', |
| 156 | 156 | 'default' => false, |
| 157 | - 'title' => __( 'Enable / Disable', 'bbp-core' ), | |
| 157 | + 'title' => __( 'Enable / Disable', 'forumax' ), | |
| 158 | 158 | 'class' => 'st-pro-notice', |
| 159 | 159 | 'dependency' => [ 'bbpc_notification', '==', true, ], |
| 160 | 160 | ], |
| 161 | 161 | |
| @@ -161,10 +161,10 @@ | ||
| 161 | 161 | |
| 162 | 162 | [ |
| 163 | 163 | 'id' => 'bbpc_notification_head_text', |
| 164 | 164 | 'type' => 'text', |
| 165 | - 'default' => __( 'Alerts', 'bbp-core' ), | |
| 166 | - 'title' => __( 'Heading Text', 'bbp-core' ), | |
| 165 | + 'default' => __( 'Alerts', 'forumax' ), | |
| 166 | + 'title' => __( 'Heading Text', 'forumax' ), | |
| 167 | 167 | 'dependency' => [ |
| 168 | 168 | ['bbpc_notification', '==', true ], |
| 169 | 169 | ['bbpc_notification_head_opt', '==', true], |
| 170 | 170 | ], |
| @@ -202,9 +202,9 @@ | ||
| 202 | 202 | [ |
| 203 | 203 | 'id' => 'bbpc_notification_head_sticky', |
| 204 | 204 | 'type' => 'switcher', |
| 205 | 205 | 'default' => false, |
| 206 | - 'title' => __( 'Head Sticky', 'bbp-core' ), | |
| 206 | + 'title' => __( 'Head Sticky', 'forumax' ), | |
| 207 | 207 | 'dependency' => [ |
| 208 | 208 | ['bbpc_notification', '==', true ], |
| 209 | 209 | ['bbpc_notification_head_opt', '==', true], |
| 210 | 210 | ], |
| @@ -212,9 +212,9 @@ | ||
| 212 | 212 | ], |
| 213 | 213 | |
| 214 | 214 | [ |
| 215 | 215 | 'type' => 'subheading', |
| 216 | - 'content' => __( 'Color Management', 'bbp-core' ), | |
| 216 | + 'content' => __( 'Color Management', 'forumax' ), | |
| 217 | 217 | 'dependency' => [ 'bbpc_notification', '==', true, ], |
| 218 | 218 | ], |
| 219 | 219 | |
| 220 | 220 | [ |
| @@ -220,10 +220,10 @@ | ||
| 220 | 220 | [ |
| 221 | 221 | 'id' => 'bbpc-mini-notification-top', |
| 222 | 222 | 'type' => 'fieldset', |
| 223 | 223 | 'dependency' => [ 'bbpc_notification', '==', true, ], |
| 224 | - 'title' => __( 'Content', 'bbp-core' ), | |
| 225 | - 'subtitle' => __( 'Change the color of the information at the top of the Notification.', 'bbp-core' ), | |
| 224 | + 'title' => __( 'Content', 'forumax' ), | |
| 225 | + 'subtitle' => __( 'Change the color of the information at the top of the Notification.', 'forumax' ), | |
| 226 | 226 | 'fields' => array( |
| 227 | 227 | [ |
| 228 | 228 | 'id' => 'bbpc-mini-notification-author', |
| 229 | 229 | 'type' => 'link_color', |