Hi,
Folder collapsing in the main screen (feature request #1267231).
Works in Firefox and Opera. Works but looks like sh*t in Explorer 7 and Safari 3. Looks like sh*t in Safari 2.
So more work is needed on the CSS part. Not-working in Safari 2 probably has to do with CSS.
List of collapsed folders is stored in a cookie. Maybe the database is a better place?
Robin
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/WN/qV3HR70y/_1267231.20070925130.patch http://detached.gigo.com/rc/WN/qV3HR70y/_1267231.folder-minu.png http://detached.gigo.com/rc/WN/qV3HR70y/_1267231.folder-plus.png Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/
On 9/25/07, Robin Elfrink elfrink@introweb.nl wrote:
(...) List of collapsed folders is stored in a cookie. Maybe the database is a better place?
Yeah, I'd say so - especially since you want some sort of persitance with this data. :)
Great work so far!
Till _______________________________________________ List info: http://lists.roundcube.net/dev/
till wrote:
List of collapsed folders is stored in a cookie. Maybe the database is a better place?
Yeah, I'd say so - especially since you want some sort of persitance with this data. :)
I'll put them in the database. That requires an AJAX callback though.
Anyway, I found something interesting today. I've put this in mail.css:
background-image: url(images/icons/folder-plus.png);
But I made a mistake first, and had this:
background-image: url(images/icons/folder-plus);
and FireFox magically figured out I wanted a .png image, and appended the extension :)
Robin _______________________________________________ List info: http://lists.roundcube.net/dev/
2007/9/25, Robin Elfrink elfrink@introweb.nl:
List of collapsed folders is stored in a cookie. Maybe the database is a better place?
I'd suggest to store it within the user prefs. This is more persistent and you have it in $CONFIG and in $_SESSION['user_prefs']. Save it with rcmail_save_user_prefs() which is now capable of saving one particular pref instead of the complete list.
~Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/