-/** RENAMING FOLDERS **/
-echo html_tag( 'tr',
- html_tag( 'td', '<b>' . _("Rename a Folder") . '</b>', 'center', $color[9] )
- ) .
- html_tag( 'tr' ) .
- html_tag( 'td', '', 'center', $color[0] );
-
-if ($count_special_folders < count($boxes)) {
- echo "<FORM ACTION=\"folders_rename_getname.php\" METHOD=\"POST\">\n"
- . "<TT><SELECT NAME=old>\n"
- . ' <OPTION VALUE="">[ ' . _("Select a folder") . " ]</OPTION>\n";
-
- echo sqimap_mailbox_option_list($imapConnection, 0, $skip_folders, $boxes, false, true);
-
- echo "</SELECT></TT>\n".
- "<input type=SUBMIT VALUE=\"".
- _("Rename").
- "\">\n".
- "</FORM></td></tr>\n";
-} else {
- echo _("No folders found") . '<br><br></td></tr>';
-}
-$boxes_sub = $boxes;
-
-echo html_tag( 'tr',
- html_tag( 'td', ' ', 'left', $color[4] )
- ) ."\n";
-
-/** DELETING FOLDERS **/
-echo html_tag( 'tr',
- html_tag( 'td', '<b>' . _("Delete Folder") . '</b>', 'center', $color[9] )
- ) .
- html_tag( 'tr' ) .
- html_tag( 'td', '', 'center', $color[0] );
-
-if ($count_special_folders < count($boxes)) {
- echo "<FORM ACTION=\"folders_delete.php\" METHOD=\"POST\">\n"
- . "<TT><SELECT NAME=mailbox>\n"
- . ' <OPTION VALUE="">[ ' . _("Select a folder") . " ]</OPTION>\n";
-
- echo sqimap_mailbox_option_list($imapConnection, 0, $skip_folders, $boxes, false, true);
-
- echo "</SELECT></TT>\n"
- . '<input type=SUBMIT VALUE="'
- . _("Delete")
- . "\">\n"
- . "</form></td></tr>\n";
-} else {
- echo _("No folders found") . "<br><br></td></tr>";
-}