← All changes
|
admin/views/configs/generator/class-sps-layout.php
+20
-25
2.4.21
→
2.2.10
View file →
| @@ -8,11 +8,11 @@ | ||
| 8 | 8 | |
| 9 | 9 | if ( ! defined( 'ABSPATH' ) ) { |
| 10 | 10 | die; } // Cannot access pages directly. |
| 11 | 11 | |
| 12 | -/** | |
| 13 | - * The Layout building class. | |
| 14 | - */ | |
| 12 | + /** | |
| 13 | + * The Layout building class. | |
| 14 | + */ | |
| 15 | 15 | class SPS_Layout { |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | * Layout metabox section. |
| @@ -34,52 +34,47 @@ | ||
| 34 | 34 | ), |
| 35 | 35 | array( |
| 36 | 36 | 'id' => 'pcp_layout_preset', |
| 37 | 37 | 'type' => 'layout_preset', |
| 38 | - 'title' => __( 'Layout Preset', 'post-carousel' ), | |
| 38 | + 'title' => __( 'Layout Preset', 'smart-post-show' ), | |
| 39 | 39 | 'class' => 'pcp-layout-preset', |
| 40 | 40 | 'options' => array( |
| 41 | 41 | 'carousel_layout' => array( |
| 42 | - 'image' => SP_PC_URL . 'admin/assets/img/carousel.svg', | |
| 43 | - 'text' => __( 'Carousel', 'post-carousel' ), | |
| 42 | + 'image' => SP_PC_URL . 'admin/assets/img/carousel.png', | |
| 43 | + 'text' => __( 'Carousel', 'smart-post-show' ), | |
| 44 | 44 | ), |
| 45 | 45 | 'grid_layout' => array( |
| 46 | - 'image' => SP_PC_URL . 'admin/assets/img/grid.svg', | |
| 47 | - 'text' => __( 'Grid', 'post-carousel' ), | |
| 46 | + 'image' => SP_PC_URL . 'admin/assets/img/grid.png', | |
| 47 | + 'text' => __( 'Grid', 'smart-post-show' ), | |
| 48 | 48 | ), |
| 49 | 49 | 'list_layout' => array( |
| 50 | - 'image' => SP_PC_URL . 'admin/assets/img/list.svg', | |
| 51 | - 'text' => __( 'List', 'post-carousel' ), | |
| 50 | + 'image' => SP_PC_URL . 'admin/assets/img/list.png', | |
| 51 | + 'text' => __( 'List', 'smart-post-show' ), | |
| 52 | 52 | 'pro_only' => true, |
| 53 | 53 | ), |
| 54 | 54 | 'filter_layout' => array( |
| 55 | - 'image' => SP_PC_URL . 'admin/assets/img/filter.svg', | |
| 56 | - 'text' => __( 'Isotope', 'post-carousel' ), | |
| 55 | + 'image' => SP_PC_URL . 'admin/assets/img/filter.png', | |
| 56 | + 'text' => __( 'Isotope', 'smart-post-show' ), | |
| 57 | 57 | 'pro_only' => true, |
| 58 | 58 | ), |
| 59 | 59 | 'timeline_layout' => array( |
| 60 | - 'image' => SP_PC_URL . 'admin/assets/img/timeline.svg', | |
| 61 | - 'text' => __( 'Timeline', 'post-carousel' ), | |
| 60 | + 'image' => SP_PC_URL . 'admin/assets/img/timeline.png', | |
| 61 | + 'text' => __( 'Timeline', 'smart-post-show' ), | |
| 62 | 62 | 'pro_only' => true, |
| 63 | 63 | ), |
| 64 | 64 | 'zigzag_layout' => array( |
| 65 | - 'image' => SP_PC_URL . 'admin/assets/img/zigzag.svg', | |
| 66 | - 'text' => __( 'Zigzag', 'post-carousel' ), | |
| 65 | + 'image' => SP_PC_URL . 'admin/assets/img/zigzag.png', | |
| 66 | + 'text' => __( 'Zigzag', 'smart-post-show' ), | |
| 67 | 67 | 'pro_only' => true, |
| 68 | 68 | ), |
| 69 | 69 | 'accordion_layout' => array( |
| 70 | - 'image' => SP_PC_URL . 'admin/assets/img/collapsible.svg', | |
| 71 | - 'text' => __( 'Accordion', 'post-carousel' ), | |
| 70 | + 'image' => SP_PC_URL . 'admin/assets/img/collapsible.png', | |
| 71 | + 'text' => __( 'Accordion', 'smart-post-show' ), | |
| 72 | 72 | 'pro_only' => true, |
| 73 | 73 | ), |
| 74 | 74 | 'large_with_small' => array( |
| 75 | - 'image' => SP_PC_URL . 'admin/assets/img/block.svg', | |
| 76 | - 'text' => __( 'Large with Small', 'post-carousel' ), | |
| 77 | - 'pro_only' => true, | |
| 78 | - ), | |
| 79 | - 'table_layout' => array( | |
| 80 | - 'image' => SP_PC_URL . 'admin/assets/img/table.svg', | |
| 81 | - 'text' => __( 'Table', 'post-carousel' ), | |
| 75 | + 'image' => SP_PC_URL . 'admin/assets/img/block.png', | |
| 76 | + 'text' => __( 'Large with Small', 'smart-post-show' ), | |
| 82 | 77 | 'pro_only' => true, |
| 83 | 78 | ), |
| 84 | 79 | ), |
| 85 | 80 | 'default' => 'carousel_layout', |