- /**
- ** options_folder.php
- **
- ** Copyright (c) 1999-2000 The SquirrelMail development team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- ** Displays all options relating to folders
- **
- ** $Id$
- **/
-
- require_once('../src/validate.php');
- require_once('../functions/display_messages.php');
- require_once('../functions/imap.php');
- require_once('../functions/array.php');
- require_once('../functions/plugin.php');
- require_once('../functions/options.php');
-
- displayPageHeader($color, 'None');
-
- $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
- $boxes = sqimap_mailbox_list($imapConnection);
- sqimap_logout($imapConnection);
-?>
- <br>
-<table width="95%" align="center" border="0" cellpadding="2" cellspacing="0">
-<tr><td bgcolor="<?php echo $color[0] ?>" align="center">
-
- <b><?php echo _("Options") . " - " . _("Folder Preferences"); ?></b>
-
- <table width="100%" border="0" cellpadding="1" cellspacing="1">
- <tr><td bgcolor="<?php echo $color[4] ?>" align="center">
-
- <form name="f" action="options.php" method="post"><br>
-
- <table width="100%" cellpadding="2" cellspacing="0" border="0">
-
-<?php if ($show_prefix_option == true) { ?>
- <tr>
- <td align=right nowrap><?php echo _("Folder Path"); ?>:
- </td><td>
-<?php if (isset ($folder_prefix))
- echo ' <input type="text" name="folderprefix" value="'.$folder_prefix.'" size="35"><br>';
- else
- echo ' <input type="text" name="folderprefix" value="'.$default_folder_prefix.'" size="35"><br>';
-?>
- </td>
- </tr>
-<?php }