[dev] Agora usability patch

Duck duck at obala.net
Sun Oct 29 10:49:09 PST 2006


Message and flat view had nearly the same functionality. The only difference 
was that the flat view shows bodies, and flat view didn't allow the to 
directly post a replay. I combined the two to not have a code duplication, 
and allow posting a replay directly in flat view. The thread_view_bodies 
preference is extended to allow not just thread or flat view, but event flat 
view with indents.

Other changes:
- Produce a query less by allowing replyMessage() to accept an message array 
already retrieved in thread view.
- add pager in thread view
- add pref option to sort threads by number of posts
- allow to post a message directly even from flat view
- Fix sql syntax in agora_forum::search()
- Fix page titles in message view
- Don't even load identities if avantars are disabled in message view

Files to remove:
- templates/message_template.html
- messages/message.php

Files to add
- templates/messages/flat.html
- templates/messages/flat_thread.html

Duck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: agora.tgz
Type: application/x-tgz
Size: 5597 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20061029/e9941b9b/agora-0001.bin


More information about the dev mailing list