Fossil

Check-in [e0377d04]
Login

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

Overview
Comment:Fix the webmail screen so that it remembers the folder that is being viewed.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e0377d04f5a7369be7720b3fc196a30f9dd957864b9a328f0b3a1a9c39773a73
User & Date: drh 2018-08-10 16:59:24.187
Context
2018-08-10
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)
16:51
Fix the /forum webpage so that it works even if the forumpost table does not exist in the repository. ... (check-in: d73c5fd2 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/webmail.c.
701
702
703
704
705
706
707

708
709
710
711
712
713
714
  blob_append_sql(&sql, " ORDER BY edate DESC limit %d offset %d", N+1, pg*N);
  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%%">

  @ <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 ){







>







701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
  blob_append_sql(&sql, " ORDER BY edate DESC limit %d offset %d", N+1, pg*N);
  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 ){