Fossil

Check-in [800cd27d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Also remember the name the user for webmail.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 800cd27da76b31a24d19a87b1362507d5381dea8907421f0f7f629d737bbf900
User & Date: drh 2018-08-10 17:08:06.070
Context
2018-08-10
20:30
Be sure to send forum event notifications in chronological order. ... (check-in: b4602502 user: drh tags: trunk)
17:08
Also remember the name the user for webmail. ... (check-in: 800cd27d user: drh tags: trunk)
16:59
Fix the webmail screen so that it remembers the folder that is being viewed. ... (check-in: e0377d04 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/webmail.c.
702
703
704
705
706
707
708

709
710
711
712
713
714
715
  db_multi_exec("%s", blob_sql_text(&sql));
  got = db_int(0, "SELECT count(*) FROM tmbox");
  db_prepare(&q, "SELECT * FROM tmbox LIMIT %d", N);
  blob_reset(&sql);
  @ <form action="%R/webmail" method="POST">
  @ <table border="0" width="100%%">
  @ <input type="hidden" name="d" value="%d(d)">

  @ <tr><td align="left">
  if( d==2 ){
    @ <input type="submit" name="read" value="Undelete">
    @ <input type="submit" name="purge" value="Delete Permanently">
  }else{
    @ <input type="submit" name="trash" value="Delete">
    if( d!=1 ){







>







702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
  db_multi_exec("%s", blob_sql_text(&sql));
  got = db_int(0, "SELECT count(*) FROM tmbox");
  db_prepare(&q, "SELECT * FROM tmbox LIMIT %d", N);
  blob_reset(&sql);
  @ <form action="%R/webmail" method="POST">
  @ <table border="0" width="100%%">
  @ <input type="hidden" name="d" value="%d(d)">
  @ <input type="hidden" name="user" value="%h(zUser)">
  @ <tr><td align="left">
  if( d==2 ){
    @ <input type="submit" name="read" value="Undelete">
    @ <input type="submit" name="purge" value="Delete Permanently">
  }else{
    @ <input type="submit" name="trash" value="Delete">
    if( d!=1 ){