diff --git a/core/collapse_api.php b/core/collapse_api.php index bb855d1954..06180cb1ab 100644 --- a/core/collapse_api.php +++ b/core/collapse_api.php @@ -53,8 +53,7 @@ /** * Marks the beginning of a collapse block's open phase. - * This will be visible if the block is expanded, or if - * javascript is disabled. + * This will be visible if the block is expanded or javascript is disabled. * @param string $p_name Collapse block name. * @param string $p_section Collapse block section. * @param string $p_css_class CSS class to apply to the div (defaults to none). @@ -86,8 +85,8 @@ function collapse_open( $p_name, $p_section = '', $p_css_class = '' ) { /** * Marks the end of a collapse block's open phase and the beginning - * of the block's closed phase. This will only be visible if the - * block have been collapsed and javascript is enabled. + * of the closed phase. + * This will be visible if the block is collapsed and javascript is enabled. * @param string $p_name Collapse block name. * @param string $p_section Collapse block section. * @return void @@ -107,10 +106,10 @@ function collapse_closed( $p_name, $p_section = '' ) { $g_open_collapse_section = false; - ob_start(); - $t_div_id = $t_block . '_closed'; - echo "\n