From 69c17f9c1942fd0d6a5ea941636e87723b8a6fe2 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Wed, 21 Jul 2021 16:19:29 -0500 Subject: dos2unix on all .php files, begin paring down admin page and site branding. --- .../layout/class-astra-lifter-general-configs.php | 208 ++++++++++----------- 1 file changed, 104 insertions(+), 104 deletions(-) (limited to 'inc/compatibility/lifterlms/customizer/sections/layout') diff --git a/inc/compatibility/lifterlms/customizer/sections/layout/class-astra-lifter-general-configs.php b/inc/compatibility/lifterlms/customizer/sections/layout/class-astra-lifter-general-configs.php index 392e28b..f203b10 100644 --- a/inc/compatibility/lifterlms/customizer/sections/layout/class-astra-lifter-general-configs.php +++ b/inc/compatibility/lifterlms/customizer/sections/layout/class-astra-lifter-general-configs.php @@ -1,104 +1,104 @@ - 'ast-bottom-divider' ); - $section = 'section-lifterlms-general'; - } else { - $divider_array = array(); - $section = 'section-lifterlms'; - } - - $_configs = array( - - /** - * Option: Course Columns - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[llms-course-grid]', - 'type' => 'control', - 'control' => 'ast-responsive-slider', - 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_responsive_slider' ), - 'section' => $section, - 'default' => astra_get_option( - 'llms-course-grid', - array( - 'desktop' => 3, - 'tablet' => 2, - 'mobile' => 1, - ) - ), - 'title' => __( 'Course Columns', 'astra' ), - 'priority' => 0, - 'input_attrs' => array( - 'step' => 1, - 'min' => 1, - 'max' => 6, - ), - 'divider' => array( 'ast_class' => 'ast-bottom-divider' ), - ), - - /** - * Option: Membership Columns - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[llms-membership-grid]', - 'type' => 'control', - 'control' => 'ast-responsive-slider', - 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_responsive_slider' ), - 'section' => $section, - 'default' => astra_get_option( - 'llms-membership-grid', - array( - 'desktop' => 3, - 'tablet' => 2, - 'mobile' => 1, - ) - ), - 'title' => __( 'Membership Columns', 'astra' ), - 'priority' => 0, - 'input_attrs' => array( - 'step' => 1, - 'min' => 1, - 'max' => 6, - ), - 'divider' => $divider_array, - ), - ); - - return array_merge( $configurations, $_configs ); - - } - } -} - -new Astra_Lifter_General_Configs(); + 'ast-bottom-divider' ); + $section = 'section-lifterlms-general'; + } else { + $divider_array = array(); + $section = 'section-lifterlms'; + } + + $_configs = array( + + /** + * Option: Course Columns + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[llms-course-grid]', + 'type' => 'control', + 'control' => 'ast-responsive-slider', + 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_responsive_slider' ), + 'section' => $section, + 'default' => astra_get_option( + 'llms-course-grid', + array( + 'desktop' => 3, + 'tablet' => 2, + 'mobile' => 1, + ) + ), + 'title' => __( 'Course Columns', 'astra' ), + 'priority' => 0, + 'input_attrs' => array( + 'step' => 1, + 'min' => 1, + 'max' => 6, + ), + 'divider' => array( 'ast_class' => 'ast-bottom-divider' ), + ), + + /** + * Option: Membership Columns + */ + array( + 'name' => ASTRA_THEME_SETTINGS . '[llms-membership-grid]', + 'type' => 'control', + 'control' => 'ast-responsive-slider', + 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_responsive_slider' ), + 'section' => $section, + 'default' => astra_get_option( + 'llms-membership-grid', + array( + 'desktop' => 3, + 'tablet' => 2, + 'mobile' => 1, + ) + ), + 'title' => __( 'Membership Columns', 'astra' ), + 'priority' => 0, + 'input_attrs' => array( + 'step' => 1, + 'min' => 1, + 'max' => 6, + ), + 'divider' => $divider_array, + ), + ); + + return array_merge( $configurations, $_configs ); + + } + } +} + +new Astra_Lifter_General_Configs(); -- cgit v1.2.3-70-g09d2