library/Theme/Sidebars.php
public function moduleClasses($classes, $moduleType, $sidebarArgs)
    {
        // Box panel in content area and content area bottom
        if (in_array($sidebarArgs['id'], array('content-area', 'content-area-bottom')) && in_array('box-panel', $classes) && !is_front_page()) {
            $classes[] = 'box-panel-secondary';
        }

        // Inline box panels
        if (is_numeric($sidebarArgs['id']) && in_array('box-panel', $classes)) {
            $classes[] = 'box-panel-secondary';
        }

        // Sidebar box-panel (should be filled)
        if (in_array($sidebarArgs['id'], array('left-sidebar-bottom', 'left-sidebar', 'right-sidebar')) && in_array('box-panel', $classes)) {
            unset($classes[array_search('box-panel', $classes)]);
            $classes[] = 'box-filled';
        }

        // Sidebar box-index (should be filled)
        if (in_array($sidebarArgs['id'], array('left-sidebar-bottom', 'left-sidebar', 'right-sidebar')) && in_array('box-index', $classes)) {
            unset($classes[array_search('box-index', $classes)]);
            $classes[] = 'box-filled';
        }

        // Sidebar box-news-horizontal (should be only box-news in sidebar)
        if (in_array($sidebarArgs['id'], array('left-sidebar-bottom', 'left-sidebar', 'right-sidebar')) && in_array('box-news-horizontal', $classes)) {
            unset($classes[array_search('box-news-horizontal', $classes)]);
        }

        return $classes;
    }
public function moduleClasses($classes, $moduleType, $sidebarArgs)
    {
        // Box panel in content area and content area bottom
        if (in_array($sidebarArgs['id'], array('content-area', 'content-area-bottom')) && in_array('box-panel', $classes) && !is_front_page()) {
            $classes[] = 'box-panel-secondary';
        }

        // Inline box panels
        if (is_numeric($sidebarArgs['id']) && in_array('box-panel', $classes)) {
            $classes[] = 'box-panel-secondary';
        }

        // Sidebar box-panel (should be filled)
        if (in_array($sidebarArgs['id'], array('left-sidebar-bottom', 'left-sidebar', 'right-sidebar')) && in_array('box-panel', $classes)) {
            unset($classes[array_search('box-panel', $classes)]);
            $classes[] = 'box-filled';
        }

        // Sidebar box-index (should be filled)
        if (in_array($sidebarArgs['id'], array('left-sidebar-bottom', 'left-sidebar', 'right-sidebar')) && in_array('box-index', $classes)) {
            unset($classes[array_search('box-index', $classes)]);
            $classes[] = 'box-filled';
        }

        // Sidebar box-news-horizontal (should be only box-news in sidebar)
        if (in_array($sidebarArgs['id'], array('left-sidebar-bottom', 'left-sidebar', 'right-sidebar')) && in_array('box-news-horizontal', $classes)) {
            unset($classes[array_search('box-news-horizontal', $classes)]);
        }

        return $classes;
    }
public function moduleClasses ( $ classes , $ moduleType , $ sidebarArgs ) { // Box panel in content area and content area bottom if ( in_array ( $ sidebarArgs [ 'id' ] , array ( 'content-area' , 'content-area-bottom' ) ) && in_array ( 'box-panel' , $ classes ) && ! is_front_page ( ) ) { $ classes [ ] = 'box-panel-secondary' ; } // Inline box panels if ( is_numeric ( $ sidebarArgs [ 'id' ] ) && in_array ( 'box-panel' , $ classes ) ) { $ classes [ ] = 'box-panel-secondary' ; } // Sidebar box-panel (should be filled) if ( in_array ( $ sidebarArgs [ 'id' ] , array ( 'left-sidebar-bottom' , 'left-sidebar' , 'right-sidebar' ) ) && in_array ( 'box-panel' , $ classes ) ) { unset ( $ classes [ array_search ( 'box-panel' , $ classes ) ] ) ; $ classes [ ] = 'box-filled' ; } // Sidebar box-index (should be filled) if ( in_array ( $ sidebarArgs [ 'id' ] , array ( 'left-sidebar-bottom' , 'left-sidebar' , 'right-sidebar' ) ) && in_array ( 'box-index' , $ classes ) ) { unset ( $ classes [ array_search ( 'box-index' , $ classes ) ] ) ; $ classes [ ] = 'box-filled' ; } // Sidebar box-news-horizontal (should be only box-news in sidebar) if ( in_array ( $ sidebarArgs [ 'id' ] , array ( 'left-sidebar-bottom' , 'left-sidebar' , 'right-sidebar' ) ) && in_array ( 'box-news-horizontal' , $ classes ) ) { unset ( $ classes [ array_search ( 'box-news-horizontal' , $ classes ) ] ) ; } return $ classes ; }
Modify module classes in different areas
@param  array $classes      Default classes
@param  string $moduleType  Module type
@param  array $sidebarArgs  Sidebar arguments
@return array               Modified list of classes
Modify module classes in different areas