← All changes
|
admin/views/configs/settings/class-sps-scriptsandstyles.php
+22
-23
4.0.7
→
2.2.10
View file →
| @@ -23,46 +23,45 @@ | ||
| 23 | 23 | public static function section( $prefix ) { |
| 24 | 24 | SP_PC::createSection( |
| 25 | 25 | $prefix, |
| 26 | 26 | array( |
| 27 | - 'title' => __( 'Control Assets', 'post-carousel' ), | |
| 28 | - 'icon' => 'fa fa-tasks', | |
| 27 | + 'title' => __( 'Scripts & Styles', 'smart-post-show' ), | |
| 28 | + 'icon' => 'fa fa-file-code-o', | |
| 29 | 29 | 'fields' => array( |
| 30 | 30 | array( |
| 31 | + 'type' => 'subheading', | |
| 32 | + 'content' => __( 'Enqueue or Dequeue JS', 'smart-post-show' ), | |
| 33 | + ), | |
| 34 | + array( | |
| 31 | 35 | 'id' => 'pcp_swiper_js', |
| 32 | 36 | 'type' => 'switcher', |
| 33 | - 'title' => __( 'Swiper JS', 'post-carousel' ), | |
| 34 | - 'text_on' => __( 'Enqueued', 'post-carousel' ), | |
| 35 | - 'text_off' => __( 'Dequeued', 'post-carousel' ), | |
| 36 | - 'text_width' => 110, | |
| 37 | + 'title' => __( 'Swiper JS', 'smart-post-show' ), | |
| 38 | + 'text_on' => __( 'Enqueued', 'smart-post-show' ), | |
| 39 | + 'text_off' => __( 'Dequeued', 'smart-post-show' ), | |
| 40 | + 'text_width' => 95, | |
| 37 | 41 | 'default' => true, |
| 38 | 42 | ), |
| 39 | 43 | array( |
| 44 | + 'type' => 'subheading', | |
| 45 | + 'content' => __( 'Enqueue or Dequeue CSS', 'smart-post-show' ), | |
| 46 | + ), | |
| 47 | + array( | |
| 40 | 48 | 'id' => 'pcp_swiper_css', |
| 41 | 49 | 'type' => 'switcher', |
| 42 | - 'title' => __( 'Swiper CSS', 'post-carousel' ), | |
| 43 | - 'text_on' => __( 'Enqueued', 'post-carousel' ), | |
| 44 | - 'text_off' => __( 'Dequeued', 'post-carousel' ), | |
| 45 | - 'text_width' => 110, | |
| 50 | + 'title' => __( 'Swiper CSS', 'smart-post-show' ), | |
| 51 | + 'text_on' => __( 'Enqueued', 'smart-post-show' ), | |
| 52 | + 'text_off' => __( 'Dequeued', 'smart-post-show' ), | |
| 53 | + 'text_width' => 95, | |
| 46 | 54 | 'default' => true, |
| 47 | 55 | ), |
| 48 | 56 | array( |
| 49 | 57 | 'id' => 'pcp_fontawesome_css', |
| 50 | 58 | 'type' => 'switcher', |
| 51 | - 'title' => __( 'Font Awesome CSS', 'post-carousel' ), | |
| 52 | - 'text_on' => __( 'Enqueued', 'post-carousel' ), | |
| 53 | - 'text_off' => __( 'Dequeued', 'post-carousel' ), | |
| 54 | - 'text_width' => 110, | |
| 59 | + 'title' => __( 'Font Awesome CSS', 'smart-post-show' ), | |
| 60 | + 'text_on' => __( 'Enqueued', 'smart-post-show' ), | |
| 61 | + 'text_off' => __( 'Dequeued', 'smart-post-show' ), | |
| 62 | + 'text_width' => 95, | |
| 55 | 63 | 'default' => true, |
| 56 | - ), | |
| 57 | - | |
| 58 | - array( | |
| 59 | - 'id' => 'pcp_delete_all_data', | |
| 60 | - 'type' => 'checkbox', | |
| 61 | - 'class' => 'pcp-delete-data', | |
| 62 | - 'title' => __( 'Clean-up Data on Deletion', 'post-carousel' ), | |
| 63 | - 'title_info' => __( 'Delete all Smart Post Show data from the database on plugin uninstalling and deletion.', 'post-carousel' ), | |
| 64 | - 'default' => false, | |
| 65 | 64 | ), |
| 66 | 65 | ), |
| 67 | 66 | ) |
| 68 | 67 | ); |