Aleksander Machniak
2013-09-01 7ccb59499b5d8256c5038dc75ec3538e00c059b0
Merge pull request #106 from JohnDoh/edit-folders

folder admin: omit fieldset if there is only one section
1 files modified
5 ■■■■ changed files
program/steps/settings/edit_folder.inc 5 ●●●● patch | view | raw | blame | history
program/steps/settings/edit_folder.inc
@@ -264,9 +264,12 @@
            $content = rcmail_get_form_part($tab, $attrib);
        }
        if ($content) {
        if ($content && sizeof($form) > 1) {
            $out .= html::tag('fieldset', null, html::tag('legend', null, Q($tab['name'])) . $content) ."\n";
        }
        else {
            $out .= $content ."\n";
        }
    }
    $out .= "\n$form_end";