corbosman
2015-04-03 d9c22ab66d0580cf03523c989d75e43850d0555a
move header block inside loop
1 files modified
3 ■■■■ changed files
program/steps/settings/func.inc 3 ●●●● patch | view | raw | blame | history
program/steps/settings/func.inc
@@ -1261,14 +1261,15 @@
            unset($sections[$idx]);
        else
            $sections[$idx]['blocks'] = $data['blocks'];
    }
        // allow plugins to add a header to each section
    $data = $RCMAIL->plugins->exec_hook('preferences_section_header',
        array('section' => $sect['id'], 'header' => '', 'current' => $current));
    if(!empty($data['header'])) {
        $sections[$idx]['header'] = $data['header'];
    }
    }
    return array($sections, $plugin['cols']);
}