[Tickets #445] could not retrieve old preference setting

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Sep 7 17:50:00 PDT 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=445
-----------------------------------------------------------------------
 Ticket     | 445
 Updated By | david at tmv.gov.tw
 Summary    | could not retrieve  old preference setting
 Queue      | IMP
 Version    | HEAD
 State      | Assigned
 Priority   | 2. Medium
 Type       | Bug
 Owners     | Jan Schneider
-----------------------------------------------------------------------


david at tmv.gov.tw (2004-09-07 17:49) wrote:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<!-- IMP: Copyright 2001-2004, The Horde Project. IMP is under the GPL. -->
<!--   Horde Project: http://horde.org/ | IMP: http://horde.org/imp/    -->
<!--      GNU Public License: http://www.fsf.org/copyleft/gpl.html      -->
<html lang="en-US"><head>
<title>Mail :: User Options</title>
<link href="/horde.beta/imp/graphics/favicon.ico" rel="SHORTCUT ICON" />
<link href="/horde.beta/imp/mailbox.php?mailbox=INBOX" rel="Top" />
<link href="/horde.beta/imp/search.php" rel="search" />
<link href="/horde.beta/services/css.php?app=imp&amp;theme=lucblue"
rel="stylesheet" type="text/css" /></head>

<body>
<form action="/horde.beta/imp/mailbox.php" method="get" name="menu">
<input type="hidden" name="no_newmail_popup" value="1" />
<script language="JavaScript" type="text/javascript"
src="/horde.beta/services/javascript.php?file=open_compose_win.js&amp;app=im
p"></script><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
  <td class="menu">
    <table border="0" width="100%">
      <tr>
<td align="center" nowrap="nowrap" style="cursor:pointer;" valign="bottom"
onclick="document.location='/horde.beta/imp/mailbox.php?mailbox=INBOX';"><a
href="/horde.beta/imp/mailbox.php?mailbox=INBOX"
onmouseout="window.status='';" onmouseover="window.status='Inbox'; return
true;" class="menuitem"><img
src="/horde.beta/imp/graphics/folders/inbox.gif" alt="Inbox" title="Inbox"
/><br />Inbox</a>&nbsp;</td>
<td align="center" nowrap="nowrap" style="cursor:pointer;" valign="bottom"
onclick="d = new Date(); if (d.getTime() - menu_trash_confirmed > 100) {
menu_trash_cvalue = window.confirm('Are you sure you wish to empty your
trash folder?'); d = new Date(); menu_trash_confirmed = d.getTime(); }
return
menu_trash_cvalue;document.location='/horde.beta/imp/mailbox.php?thismailbox
=INBOX.trash&amp;actionID=empty_mailbox&amp;return_url=http%3A%2F%2Fwebmail.
tmv.gov.tw%2Fhorde.beta%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX';"><a
href="/horde.beta/imp/mailbox.php?thismailbox=INBOX.trash&amp;actionID=empty
_mailbox&amp;return_url=http%3A%2F%2Fwebmail.tmv.gov.tw%2Fhorde.beta%2Fimp%2
Fmailbox.php%3Fmailbox%3DINBOX" onclick="d = new Date(); if (d.getTime() -
menu_trash_confirmed > 100) { menu_trash_cvalue = window.confirm('Are you
sure you wish to empty your trash folder?'); d = new Date();
menu_trash_confirmed = d.getTime(); } return menu_trash_cvalue;"
onmouseout="window.status='';" onmouseover="window.status='Empty Trash';
return true;" class="menuitem"><img
src="/horde.beta/imp/graphics/empty_trash.gif" alt="Empty Trash"
title="Empty Trash" /><br />Empty Trash</a>&nbsp;</td>
<td align="center" nowrap="nowrap" style="cursor:pointer;" valign="bottom"
onclick="open_compose_win('thismailbox=INBOX.Z_LISTS.horde');"><a href=""
onclick="return false;" onmouseout="window.status='';"
onmouseover="window.status='Compose'; return true;" class="menuitem"><img
src="/horde.beta/imp/graphics/compose.gif" alt="Compose" title="Compose"
/><br />Compose</a>&nbsp;</td>
<td align="center" nowrap="nowrap" style="cursor:pointer;" valign="bottom"
onclick="document.location='/horde.beta/imp/folders.php?nocache=4lmswip7t14w
';"><a href="/horde.beta/imp/folders.php?nocache=4lmswip7t14w"
onmouseout="window.status='';" onmouseover="window.status='Folders'; return
true;" class="menuitem"><img
src="/horde.beta/imp/graphics/folders/folder.gif" alt="Folders"
title="Folders" /><br />Folders</a>&nbsp;</td>
<td align="center" nowrap="nowrap" style="cursor:pointer;" valign="bottom"
onclick="document.location='/horde.beta/imp/search.php';"><a
href="/horde.beta/imp/search.php" onmouseout="window.status='';"
onmouseover="window.status='Search'; return true;" class="menuitem"><img
src="/horde.beta/graphics/search.png" alt="Search" title="Search" /><br
/>Search</a>&nbsp;</td>
<td align="center" nowrap="nowrap" style="cursor:pointer;" valign="bottom"
onclick="document.location='/horde.beta/imp/fetchmail.php';"><a
href="/horde.beta/imp/fetchmail.php" onmouseout="window.status='';"
onmouseover="window.status='Accounts'; return true;" class="menuitem"><img
src="/horde.beta/imp/graphics/fetchmail.gif" alt="Accounts" title="Accounts"
/><br />Accounts</a>&nbsp;</td>
<td align="center" nowrap="nowrap" style="cursor:pointer;" valign="bottom"
onclick="document.location='/horde.beta/mottle/';"><a
href="/horde.beta/mottle/" onmouseout="window.status='';"
onmouseover="window.status='MOTD'; return true;" class="menuitem"><img
src="/horde.beta/mottle/graphics/mottle.png" alt="MOTD" title="MOTD" /><br
/>MOTD</a>&nbsp;</td>
<td align="center" nowrap="nowrap" style="cursor:pointer;" valign="bottom"
onclick="document.location='/horde.beta/services/prefs.php?app=imp';"
class="menuselected"><a href="/horde.beta/services/prefs.php?app=imp"
onmouseout="window.status='';" onmouseover="window.status='Options'; return
true;" class="menuitem"><img src="/horde.beta/graphics/prefs.gif"
alt="Options" title="Options" /><br />Options</a>&nbsp;</td>
<td align="center" nowrap="nowrap" style="cursor:pointer;" valign="bottom"
onclick="document.location='/horde.beta/services/problem.php?return_url=%2Fh
orde.beta%2Fservices%2Fprefs.php%3Fnocache%3D4fsuj3qbcnpc%26amp%3Bgroup%3Did
entities%26amp%3Bapp%3Dimp';"><a
href="/horde.beta/services/problem.php?return_url=%2Fhorde.beta%2Fservices%2
Fprefs.php%3Fnocache%3D4fsuj3qbcnpc%26amp%3Bgroup%3Didentities%26amp%3Bapp%3
Dimp" onmouseout="window.status='';" onmouseover="window.status='Problem';
return true;" class="menuitem"><img src="/horde.beta/graphics/problem.gif"
alt="Problem" title="Problem" /><br />Problem</a>&nbsp;</td>
<script language="JavaScript" type="text/javascript"
src="/horde.beta/services/javascript.php?file=open_help_win.js&amp;app=horde
"></script><td align="center" nowrap="nowrap" style="cursor:pointer;"
valign="bottom" onclick="open_help_win('imp');"><a href="" onclick="return
false;" onmouseout="window.status='';" onmouseover="window.status='Help';
return true;" class="menuitem"><img src="/horde.beta/graphics/manual.gif"
alt="Help" title="Help" /><br />Help</a>&nbsp;</td>
<td width="100%">&nbsp;</td>
        <td class="light" align="center" nowrap="nowrap" valign="bottom">
          <a class="menuitem" href="" onclick="folderSubmit(true); return
false;" onmouseover="window.status='Open Folder'; return true;"
onmouseout="window.status=''; return true;">
<img src="/horde.beta/imp/graphics/folders/folder_open.gif" alt="Open
Folder" title="Open Folder" /><br />Open Folder          </a>
        </td>
        <td class="light" align="right" nowrap="nowrap">
                    <label for="mailbox" accesskey=""></label>
          <select id="mailbox" name="mailbox"
onchange="folderSubmit();"><option value="INBOX">Inbox</option>
<option value="INBOX.Apply">Apply</option>
<option value="board">board</option>
<option value="INBOX.bug-mail">bug-mail</option>
<option value="INBOX.bug-mail.good">&nbsp; &nbsp; good</option>
<option value="INBOX.ClaudiaWu">ClaudiaWu</option>
<option value="INBOX.drafts">drafts</option>
<option value="INBOX.report">report</option>
<option value="INBOX.saved-messages">saved-messages</option>
<option value="INBOX.sent-mail">sent-mail</option>
<option value="Service">Service</option>
<option value="INBOX.spam">spam</option>
<option value="INBOX.tax_fee">tax_fee</option>
<option value="INBOX.trash">trash</option>
<option value="INBOX.Z_LISTS">Z_LISTS</option>
<option value="INBOX.Z_LISTS.horde" selected="selected">&nbsp; &nbsp;
horde</option>
<option value="INBOX.Z_LISTS.i18n">&nbsp; &nbsp; i18n</option>
<option value="INBOX.Z_LISTS.imp">&nbsp; &nbsp; imp</option>
<option value="INBOX.Z_LISTS.Tickets">&nbsp; &nbsp; Tickets</option>
</select>
        </td>

      </tr>
    </table>

  </td>
</tr>
</table>

<script language="JavaScript" type="text/javascript">
<!--
var menu_trash_confirmed = 0;
var menu_trash_cvalue = 0;
var loading;
function folderSubmit(clear)
{
    if (document.menu.mailbox[document.menu.mailbox.selectedIndex].value !=
'') {
        if ((loading == null) || (clear != null)) {
            loading = true;
            document.menu.submit();
        }
    }
}
// -->
</script>
</form>
<br />
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
 <td class="header">
  Options for Mail </td>
 <td class="header" align="right" nowrap="nowrap">
  <form method="get" name="appswitch"
action="/horde.beta/services/prefs.php?nocache=4lmswip7t14w">
      <span class="smallheader">Edit options for:</span>
   <select name="app" onchange="document.appswitch.submit();">
     <option value=""></option>
         <option value="turba">Address Book</option>
         <option value="midas">Ads</option>
         <option value="trean">Bookmarks</option>
         <option value="giapeto">CMS</option>
         <option value="kronolith">Calendar</option>
         <option value="gollem">File Manager</option>
         <option value="ingo">Filters</option>
         <option value="ulaform">Forms</option>
         <option value="agora">Forums</option>
         <option value="volos">Guestbook</option>
         <option value="horde">Horde</option>
         <option value="mottle">MOTD</option>
         <option value="imp">Mail</option>
         <option value="mimp">Mobile Mail</option>
         <option value="accounts">My Account</option>
         <option value="nic">Network</option>
         <option value="mnemo">Notes</option>
         <option value="passwd">Password</option>
         <option value="ansel">Photos</option>
         <option value="jeta">SSH</option>
         <option value="goops">Search Engines</option>
         <option value="nag">Tasks</option>
         <option value="whups">Tickets</option>
         <option value="hermes">Time Tracking</option>
         <option value="wicked">Wiki</option>
       </select>
   <input class="button" type="submit" onclick="if
(document.appswitch.app.selectedIndex == 0) return false;" value="Go" />
  </form>
 </td>
</tr>
</table>
<br />
<form method="post" name="prefs"
action="/horde.beta/services/prefs.php?nocache=4lmswip7t14w">
<input type="hidden" name="actionID" value="update_prefs" />
<input type="hidden" name="group" value="identities" />
<input type="hidden" name="app" value="imp" />

<table border="0" align="center" width="100%" cellspacing="0"
cellpadding="0">
<tr><td class="header" align="left"><b>Personal Information</b></td>
<td class="header" align="right"><span class='smallheader'><a
href="/horde.beta/imp/smime.php" onmouseout="window.status='';"
onmouseover="window.status='Previous options'; return true;"
class="menuitem">&lt;&lt; S/MIME Options</a>&nbsp;|&nbsp;<a
href="/horde.beta/services/prefs.php?group=forgotpass&amp;app=imp"
onmouseout="window.status='';" onmouseover="window.status='Next options';
return true;" class="menuitem">Account Password
&gt;&gt;</a></span></td></tr>
</table>
<table border="0" align="center" width="100%" cellspacing="0"
cellpadding="3">
<tr><td class="item"><table border="0"><tr valign="top"><td class="item">
<label for="default_identity">Your default identity:</label>&nbsp;<br />
<select id="default_identity" name="default_identity">
<option selected="selected" value="0">îAÔOµÄÉí·Ý×R„e</option>
<option value="1">jk</option>
</select>
<br />
<script language="JavaScript" type="text/javascript">
<!--

var identities = new Array();
identities[0] = new Array();
identities[0][0] = new Array("id", "text", "îAÔOµÄÉí·Ý×R„e");
identities[0][1] = new Array("fullname", "text", "ˆÁ¼ÎÄ");
identities[0][2] = new Array("from_addr", "text", "david at tmv.gov.tw");
identities[0][3] = new Array("replyto_addr", "text", "");
identities[0][4] = new Array("alias_addr", "textarea", "");
identities[0][5] = new Array("tieto_addr", "textarea", "");
identities[0][6] = new Array("bcc_addr", "textarea", "");
identities[0][7] = new Array("mail_hdr", "textarea", "");
identities[0][8] = new Array("signature", "textarea", "aa");
identities[0][9] = new Array("sig_dashes", "checkbox", false);
identities[0][10] = new Array("sig_first", "checkbox", false);
identities[0][11] = new Array("save_sent_mail", "checkbox", true);
identities[0][12] = new Array("sent_mail_folder", "implicit", "sent-mail");
identities[1] = new Array();
identities[1][0] = new Array("id", "text", "jk");
identities[1][1] = new Array("fullname", "text", "ˆÁ¼ÎÄ");
identities[1][2] = new Array("from_addr", "text", "david at tmv.gov.tw");
identities[1][3] = new Array("replyto_addr", "text", "");
identities[1][4] = new Array("alias_addr", "textarea", "");
identities[1][5] = new Array("tieto_addr", "textarea", "");
identities[1][6] = new Array("bcc_addr", "textarea", "");
identities[1][7] = new Array("mail_hdr", "textarea", "");
identities[1][8] = new Array("signature", "textarea", "");
identities[1][9] = new Array("sig_dashes", "checkbox", false);
identities[1][10] = new Array("sig_first", "checkbox", false);
identities[1][11] = new Array("save_sent_mail", "checkbox", true);
identities[1][12] = new Array("sent_mail_folder", "implicit", "sent-mail");

function newChoice()
{
    var field, val;
    var index = document.prefs.identity.selectedIndex;
    var id = document.prefs.identity.options[index].value;
    if (id < 0) {
        document.prefs.reset();
        document.prefs.identity.selectedIndex = index;
        return;
    }
    for (var i = 0; i < identities[id].length; i++) {
        field = eval("document.prefs." + identities[id][i][0]);
        val = identities[id][i][2];
        switch (identities[id][i][1]) {
            case "enum":
                for (var j = 0; j < field.options.length; j++) {
                    if (field.options[j].value == val) {
                        field.selectedIndex = j;
                        break;
                    }
                }
                break;
            case "checkbox":
                field.checked = val;
                break;
            case "implicit":
                eval("newChoice_" + identities[id][i][0] + "(val)");
                break;
            default:
                field.value = val;
                break;
        }
    }
}

//-->
</script>
<br />
<label for="identity">Select the identity you want to change:</label><br />
<select name="identity" id="identity" onchange="javascript:newChoice()">
  <option value="-2" selected="selected"
>None</option>
  <option value="-1">Create a new one</option>
  <option value="0">îAÔOµÄÉí·Ý×R„e</option>
  <option value="1">jk</option>
</select><br />
<script language="JavaScript" type="text/javascript">
<!--
function deleteIdentity()
{
    var index = document.prefs.identity.selectedIndex;
    var id = document.prefs.identity.options[index].value;
    if (id >= 0) {
        document.location.href =
"/horde.beta/services/prefs.php?nocache=4fsuj3qbcnpc&group=identities&app=im
p&actionID=delete_identity&id=" + id;
    }
}
//-->
</script>
<br />
<input type="button" onclick="deleteIdentity()" class="button" value="Delete
selected identity" /><br /><br />
<label for="id">Identity's name:</label>&nbsp;<br />
<input id="id" name="id" size="30" maxlength="60" class="fixed" value=""
/><br />
<label for="replyto_addr">Your Reply-to: address:
<i>(optional)</i></label>&nbsp;<br />
<input id="replyto_addr" name="replyto_addr" size="30" maxlength="60"
class="fixed" value="" /><br />
<label for="alias_addr">Your alias addresses: <i>(optional, enter each
address on a new line)</i></label>&nbsp;<br />
<div class="fixed">
<textarea wrap="hard" id="alias_addr" name="alias_addr" rows="6" cols="80"
class="fixed"></textarea><br />
</div>
<label for="tieto_addr">Addresses to explicitly tie to this identity:
<i>(optional, enter each address on a new line)</i></label>&nbsp;<br />
<div class="fixed">
<textarea wrap="hard" id="tieto_addr" name="tieto_addr" rows="6" cols="80"
class="fixed"></textarea><br />
</div>
<label for="bcc_addr">Addresses to BCC all messages: <i>(optional, enter
each address on a new line)</i></label>&nbsp;<br />
<div class="fixed">
<textarea wrap="hard" id="bcc_addr" name="bcc_addr" rows="6" cols="80"
class="fixed"></textarea><br />
</div>
<label for="mail_hdr">Additional headers to display when viewing:
<i>(optional, enter each header on a new line)</i></label>&nbsp;<br />
<div class="fixed">
<textarea wrap="hard" id="mail_hdr" name="mail_hdr" rows="6" cols="80"
class="fixed"></textarea><br />
</div>
<label for="signature">Your signature:</label>&nbsp;<br />
<div class="fixed">
<textarea wrap="hard" id="signature" name="signature" rows="6" cols="80"
class="fixed"></textarea><br />
</div>
<input type="checkbox" id="sig_dashes" name="sig_dashes" />
<label for="sig_dashes">Precede your signature with dashes ('--
')?</label>&nbsp;<br />
<input type="checkbox" id="sig_first" name="sig_first" />
<label for="sig_first">Place your signature before replies and
forwards?</label>&nbsp;<br />
<input type="checkbox" id="save_sent_mail" name="save_sent_mail"
checked="checked" />
<label for="save_sent_mail">Save sent mail?</label>&nbsp;<br />
<script language="JavaScript" type="text/javascript">
<!--

function newChoice_sent_mail_folder(val)
{
    if (val == "") {
        document.prefs.sent_mail.selectedIndex = 0;
        return;
    }
    val = "INBOX." + val;
    var field = document.prefs.sent_mail;
    for (var i = 0; i < field.options.length; i++) {
        if (field.options[i].value == val) {
            field.selectedIndex = i;
            break;
        }
    }
}

function newFolderName()
{
    if (document.prefs.sent_mail.selectedIndex == 2) {
        var folder = window.prompt('Enter the name for your new sent mail
folder', document.prefs.sent_mail_new.value ?
document.prefs.sent_mail_new.value : '');
        if (folder != '' && folder != null) {
            document.prefs.sent_mail_new.value = folder;
            document.prefs.sent_mail[2].text = 'Create a new sent mail
folder [' + document.prefs.sent_mail_new.value + ']';
        }
    }

    if (document.prefs.sent_mail.selectedIndex == 0) {
        document.prefs.save_sent_mail.checked = 0;
    }
}

//-->
</script>

<label for="sent_mail">Sent mail folder:</label><br />
<select name="sent_mail" id="sent_mail" onchange="newFolderName();">
  <option value="">None</option>
  <option value="-1" selected="selected">Use Default Value</option>
  <option value="">Create a new sent mail folder</option>
<option value="INBOX.Apply">Apply</option>
<option value="board">board</option>
<option value="INBOX.bug-mail">bug-mail</option>
<option value="INBOX.bug-mail.good">&nbsp; &nbsp; good</option>
<option value="INBOX.ClaudiaWu">ClaudiaWu</option>
<option value="INBOX.drafts">drafts</option>
<option value="INBOX.report">report</option>
<option value="INBOX.saved-messages">saved-messages</option>
<option value="INBOX.sent-mail">sent-mail</option>
<option value="Service">Service</option>
<option value="INBOX.spam">spam</option>
<option value="INBOX.tax_fee">tax_fee</option>
<option value="INBOX.trash">trash</option>
<option value="INBOX.Z_LISTS">Z_LISTS</option>
<option value="INBOX.Z_LISTS.horde">&nbsp; &nbsp; horde</option>
<option value="INBOX.Z_LISTS.i18n">&nbsp; &nbsp; i18n</option>
<option value="INBOX.Z_LISTS.imp">&nbsp; &nbsp; imp</option>
<option value="INBOX.Z_LISTS.Tickets">&nbsp; &nbsp; Tickets</option>
</select>
<input type="hidden" name="sent_mail_new" value="" />
</td></tr></table></td></tr></table>

<br />
<table border="0" align="center" width="100%" cellspacing="0"
cellpadding="0"><tr><td nowrap="nowrap">
<input type="submit" class="button" value="Save Options" />&nbsp;
<input type="reset" class="button" value="Undo Changes" />&nbsp;
<input type="button" class="button" value="Return to Options"
onclick="document.prefs.actionID.value=0; document.prefs.group.value='';
document.prefs.submit();" />
</td></tr></table>
</form>
<script language="JavaScript1.5" type="text/javascript">
var _setHordeTitle = 1;
try {
    if (parent.frames.horde_main) parent.document.title = 'Mail :: Options
for Mail';
} catch (e) {
}
</script>
<script language="JavaScript" type="text/javascript">
<!--
if (typeof(_setHordeTitle) == undefined && parent.frames.horde_main)
parent.document.title = 'Mail :: Options for Mail';
-->
</script>
</body>
</html>





More information about the bugs mailing list