| | |
| | | +-----------------------------------------------------------------------+ |
| | | | Author: Aleksander Machniak <alec@alec.pl> | |
| | | +-----------------------------------------------------------------------+ |
| | | |
| | | $Id$ |
| | | |
| | | */ |
| | | |
| | | // WARNING: folder names in UI are encoded with RCMAIL_CHARSET |
| | |
| | | |
| | | // Location (name) |
| | | if ($options['protected']) { |
| | | $foldername = Q(str_replace($delimiter, ' » ', rcmail_localize_folderpath($mbox_imap))); |
| | | $foldername = str_replace($delimiter, ' » ', Q(rcmail_localize_folderpath($mbox_imap))); |
| | | } |
| | | else if ($options['norename']) { |
| | | $foldername = Q($folder); |
| | |
| | | $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"; |