added color customization
[squirrelmail.git] / src / folders_create.php
1 <HTML>
2 <META HTTP-EQUIV="REFRESH" CONTENT="0;URL=webmail.php?right_frame=folders.php" TARGET=_top>
3 <?
4 include("../config/config.php");
5 include("../functions/strings.php");
6 include("../functions/page_header.php");
7 include("../functions/imap.php");
8
9 echo "<BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n";
10 $imapConnection = loginToImapServer($username, $key, $imapServerAddress);
11 fputs($imapConnection, "1 create \"$subfolder.$folder_name\"\n");
12 fputs($imapConnection, "1 logout\n");
13
14 echo "<CENTER><BR><BR>You will be automatically forwarded.<BR>If not, <A HREF=\"webmail.php?right_frame=folders.php\" TARGET=_top>click here</A></CENTER>";
15 ?>
16 </BODY></HTML>
17