**
** Creates folders on the IMAP server.
** Called from folders.php
+ **
+ ** $Id$
**/
session_start();
if (strpos($folder_name, "\"") || strpos($folder_name, "\\") ||
strpos($folder_name, "'") || strpos($folder_name, "$dm")) {
+ print "<html><body bgcolor=$color[4]>";
plain_error_message(_("Illegal folder name. Please select a different name.")."<BR><A HREF=\"../src/folders.php\">"._("Click here to go back")."</A>.", $color);
sqimap_logout($imapConnection);
exit;
$location = get_location();
header ("Location: $location/folders.php?success=create");
sqimap_logout($imapConnection);
- /*
- displayPageHeader($color, "None");
- echo "<BR><BR><BR><CENTER><B>";
- echo _("Folder Created!");
- echo "</B><BR><BR>";
- echo _("The folder has been successfully created.");
- echo "<BR><A HREF=\"webmail.php?right_frame=folders.php\" TARGET=_top>";
- echo _("Click here");
- echo "</A> ";
- echo _("to continue.");
- echo "</CENTER>";
- echo "</BODY></HTML>";
- */
?>